{"id":"MAL-2026-21011","summary":"Malicious code in @coinme-security/risk-sdk-js (npm)","details":"@coinme-security/risk-sdk-js@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 a 99.x version 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-security/risk-sdk-js and 17 sibling coinme-* and @coinme-security/* packages with the same code on 2026-12-02.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (10db04dc1d7460b9f34516eb0f84fe60464407078db10f0422f67d623f67c04e)\nThe package declares a `postinstall` hook (`node.phone-home.js install`) that collects the installing host's `os.hostname()`, `process.version` and `process.platform` and sends them in an HTTPS GET to the hardcoded external host `https://workinc.top/oob/o1-\u003ctoken\u003e` with a per-target identifier embedded in the URL path and the hostname passed as an `&h=` query parameter. Errors are swallowed and the request is timeout-capped, so the beacon fails silently and leaves no visible output during installation. The package `main` (`index.js`) repeats the same request with `&m=import` on `require()`, so any consumer that loads the module also discloses the same host identifiers, and then exports an empty object, providing none of the functionality the scoped security-SDK name implies. The combination of a vendor-style scope, the implausibly high version `99.0.0` chosen to win version resolution against an internal package of the same name, a no-functionality payload, and a per-target callback token on an unrelated domain is the dependency-confusion beacon pattern: successful resolution inside a private build environment is reported back to the operator of workinc.top, confirming a reachable internal namespace and host.\n","modified":"2026-12-03T08:15:05.512849129Z","published":"2026-12-02T16:10:21Z","database_specific":{"iocs":{"urls":["https://workinc.top/oob/o1-67d1357a83292096278eeeffd3c1b3ac6c1bb67c"],"domains":["workinc.top"],"files":[{"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":"7bbdf4052606a83fba75af2cf9b67477672a2ef15e73061b3309b24b87e8cc71"}},{"paths":["index.js"],"source":"PACKAGE_ARCHIVE","digests":{"sha256":"affdf907c70f814245277255bd3318cb045f9fc7cfba8bfabcf719b5c026969f"},"note":"index.js; same GET with m=import when the package is required."},{"note":"postinstall runs `node .phone-home.js install`, which sends the hostname to workinc.top.","paths":["package.json"],"source":"PACKAGE_ARCHIVE","digests":{"sha256":"3f82c21e7f6d876891e358fea40751fd9550d406d33f014ceda5b46c2bf543a3"}},{"paths":[".phone-home.js"],"source":"PACKAGE_ARCHIVE","digests":{"sha256":"7bbdf4052606a83fba75af2cf9b67477672a2ef15e73061b3309b24b87e8cc71"},"note":"Executed by the postinstall script of @coinme-security/risk-sdk-js@99.0.0."}]},"malicious-packages-origins":[{"source":"amazon-inspector","versions":["99.0.0"],"id":"IN-MAL-2026-023166","import_time":"2026-12-03T06:26:16.655801925Z","modified_time":"2026-12-03T05:58:12Z","sha256":"10db04dc1d7460b9f34516eb0f84fe60464407078db10f0422f67d623f67c04e"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@coinme-security/risk-sdk-js/v/99.0.0"}],"affected":[{"package":{"name":"@coinme-security/risk-sdk-js","ecosystem":"npm","purl":"pkg:npm/%40coinme-security/risk-sdk-js"},"versions":["99.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@coinme-security/risk-sdk-js/MAL-2026-21011.json","cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":".phone-home.js","sha256":"7bbdf4052606a83fba75af2cf9b67477672a2ef15e73061b3309b24b87e8cc71","tlsh":"c8f0acf807f488341de800e8f361590fd8dff611baca38405e96a1d003a31a306612f1"},{"sha256":"affdf907c70f814245277255bd3318cb045f9fc7cfba8bfabcf719b5c026969f","tlsh":"09f0acf903f490141cda00d8e323452f95cbf510b6dab9804f9661a00be265342931f1","path":"index.js"}],"package_integrity":[{"filename":"risk-sdk-js-99.0.0.tgz","hashes":{"sha1":"5e5a754008f3cd28c711f89d9ecd160f3b0af67c","sha512_sri":"sha512-qif+4mkfniB/Ki8aIFyP8FeSCLzpmbjZhWkwuKba2N8VPrZBYkuDdobAlWWBGOJI66yKAaQKde2i1bpvous9hA=="}}]}}}],"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"}]}