{"id":"MAL-2026-21023","summary":"Malicious code in coinme-payment-methods (npm)","details":"coinme-payment-methods@99.0.0 is a dependency-confusion package that poses as an internal Coinme module (\"Coinme platform shared module\", author \"Coinme Platform Engineering\") and is published at version 99.0.0 so it outranks a same-named private package; it has no functional code. Its postinstall script runs `node .phone-home.js install` on npm install, and index.js repeats the request when the package is required: both send an HTTPS GET to `hxxps://workinc[.]top/oob/o1-67d1357a83292096278eeeffd3c1b3ac6c1bb67c` with the package name, the machine's hostname, the Node.js version and the platform in the query string. The npm account cameronholbrook published coinme-payment-methods and 9 sibling coinme-* packages with the same code within 12 minutes on 2026-12-02.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e93badc31990fe30823f492001f191627b12c982435a96b459346a4516390475)\ncoinme-payment-methods@99.0.0 contains no functional code: index.js exports an empty object. A postinstall hook (.phone-home.js) and the package main (index.js) both build a query string containing os.hostname(), process.version, process.platform and the package name, and issue an https.get to a hardcoded endpoint at workinc.top (path /oob/o1-...), wrapped in try/catch so transmission failures are silent. The behavior fires automatically on npm install and again whenever any consumer requires or imports the module, with no disclosure or opt-out. The implausibly high version number (99.0.0) and the organization-style package name are consistent with dependency-confusion resolution testing: the beacon confirms to the operator of workinc.top that an internal package name resolved on a specific host, identifying build systems for follow-on targeting.\n","modified":"2026-12-03T08:15:05.628016715Z","published":"2026-12-02T13:23:26Z","database_specific":{"iocs":{"domains":["workinc.top"],"files":[{"source":"PACKAGE_ARCHIVE","digests":{"sha256":"7bbdf4052606a83fba75af2cf9b67477672a2ef15e73061b3309b24b87e8cc71"},"note":".phone-home.js, run by postinstall; GET https://workinc.top/oob/o1-67d1357a... with hostname.","paths":[".phone-home.js"]},{"digests":{"sha256":"affdf907c70f814245277255bd3318cb045f9fc7cfba8bfabcf719b5c026969f"},"note":"index.js; same GET with m=import when the package is required.","paths":["index.js"],"source":"PACKAGE_ARCHIVE"},{"paths":["package.json"],"source":"PACKAGE_ARCHIVE","digests":{"sha256":"a0e202eb3cb659d2d07ded29b91ac7afe8cb1043e4849d4283133932479402c5"},"note":"postinstall runs `node .phone-home.js install`, which sends the hostname to workinc.top."},{"digests":{"sha256":"7bbdf4052606a83fba75af2cf9b67477672a2ef15e73061b3309b24b87e8cc71"},"note":"Executed by the postinstall script of coinme-payment-methods@99.0.0.","paths":[".phone-home.js"],"source":"PACKAGE_ARCHIVE"}],"urls":["https://workinc.top/oob/o1-67d1357a83292096278eeeffd3c1b3ac6c1bb67c"]},"malicious-packages-origins":[{"source":"amazon-inspector","versions":["99.0.0"],"id":"IN-MAL-2026-023178","import_time":"2026-12-03T06:26:17.269814902Z","modified_time":"2026-12-03T05:59:40Z","sha256":"e93badc31990fe30823f492001f191627b12c982435a96b459346a4516390475"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/coinme-payment-methods/v/99.0.0"}],"affected":[{"package":{"name":"coinme-payment-methods","ecosystem":"npm","purl":"pkg:npm/coinme-payment-methods"},"versions":["99.0.0"],"database_specific":{"indicators":{"evidence_files":[{"path":".phone-home.js","sha256":"7bbdf4052606a83fba75af2cf9b67477672a2ef15e73061b3309b24b87e8cc71","tlsh":"c8f0acf807f488341de800e8f361590fd8dff611baca38405e96a1d003a31a306612f1"},{"tlsh":"09f0acf903f490141cda00d8e323452f95cbf510b6dab9804f9661a00be265342931f1","path":"index.js","sha256":"affdf907c70f814245277255bd3318cb045f9fc7cfba8bfabcf719b5c026969f"}],"package_integrity":[{"filename":"coinme-payment-methods-99.0.0.tgz","hashes":{"sha1":"64e2602f2010c576b4ea5c4b2c1c76805ce66f20","sha512_sri":"sha512-9mUZHOXus+plZ6Oudnc6DgktclEfxUxmBEQPb2pHTrgeujmA+Bobs3Oj2iEjYB/ufxobxwLq1nyY+fdukBx99g=="}}]},"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/coinme-payment-methods/MAL-2026-21023.json"}}],"schema_version":"1.9.2","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"InvisiRisk, Inc.","contact":["https://www.invisirisk.com","mailto:research@invisirisk.com"],"type":"FINDER"}]}