{"id":"MAL-2026-21020","summary":"Malicious code in coinme-greendot (npm)","details":"coinme-greendot@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-greendot 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 (b8d926adcef6e93f12bb9b06af89465f66b5eae7f43c166a527fa68999768a35)\ncoinme-greendot@99.0.0 ships three files and provides no functionality: index.js, the declared main entry, exports an empty object. Its only behavior is network reporting. A declared postinstall script executes.phone-home.js, which requires 'os' and 'https' and sends os.hostname(), process.version and process.platform via an HTTPS GET to a hardcoded opaque token path on the domain workinc.top. index.js repeats the same beacon when the module is required or imported, marking the request with '&m=import' and appending the URL-encoded hostname, inside a try/catch so failures are silent. The version number 99.0.0 combined with a scoped-sounding internal name, an empty public API and an out-of-band callback path is the dependency-confusion shape: the beacon confirms to the operator of workinc.top that an internal build system resolved this public name instead of a private package, and leaks the internal hostname and runtime fingerprint of that machine. The transmission is unconditional, undisclosed and not caller-configurable, and fires on a default npm install without any user action.\n","modified":"2026-12-03T08:15:05.515282605Z","published":"2026-12-02T13:25:14Z","database_specific":{"iocs":{"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"]},{"source":"PACKAGE_ARCHIVE","digests":{"sha256":"affdf907c70f814245277255bd3318cb045f9fc7cfba8bfabcf719b5c026969f"},"note":"index.js; same GET with m=import when the package is required.","paths":["index.js"]},{"paths":["package.json"],"source":"PACKAGE_ARCHIVE","digests":{"sha256":"73f096a59c811ee68924cbb96272167331891e19977ba9ab399544f526096862"},"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-greendot@99.0.0.","paths":[".phone-home.js"],"source":"PACKAGE_ARCHIVE"}],"urls":["https://workinc.top/oob/o1-67d1357a83292096278eeeffd3c1b3ac6c1bb67c"],"domains":["workinc.top"]},"malicious-packages-origins":[{"id":"IN-MAL-2026-023174","import_time":"2026-12-03T06:26:17.080339081Z","modified_time":"2026-12-03T05:59:11Z","sha256":"b8d926adcef6e93f12bb9b06af89465f66b5eae7f43c166a527fa68999768a35","source":"amazon-inspector","versions":["99.0.0"]}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/coinme-greendot/v/99.0.0"}],"affected":[{"package":{"name":"coinme-greendot","ecosystem":"npm","purl":"pkg:npm/coinme-greendot"},"versions":["99.0.0"],"database_specific":{"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"indicators":{"evidence_files":[{"path":".phone-home.js","sha256":"7bbdf4052606a83fba75af2cf9b67477672a2ef15e73061b3309b24b87e8cc71","tlsh":"c8f0acf807f488341de800e8f361590fd8dff611baca38405e96a1d003a31a306612f1"},{"sha256":"affdf907c70f814245277255bd3318cb045f9fc7cfba8bfabcf719b5c026969f","tlsh":"09f0acf903f490141cda00d8e323452f95cbf510b6dab9804f9661a00be265342931f1","path":"index.js"}],"package_integrity":[{"filename":"coinme-greendot-99.0.0.tgz","hashes":{"sha512_sri":"sha512-Cvi0j3xfBw6zDvdgMPO0FaLKUip+gOi1k+qnCpIvvxN1fS8KvjiXmfVzRmIqfpakoz3SLDlcn26SuNeAACZwCA==","sha1":"025a2bda31cfa5b9d1d10db92777a2db9cfaea6e"}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/coinme-greendot/MAL-2026-21020.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"}]}