{"id":"MAL-2026-21009","summary":"Malicious code in @coinme-security/onboarding-sdk-react (npm)","details":"@coinme-security/onboarding-sdk-react@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/onboarding-sdk-react 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 (d6e0e402598c7acd9417bfa6cf7448b27a849b8d4554e527ee522863c8ca0614)\nThe package declares a postinstall hook (\"postinstall\": \"node.phone-home.js install\") that collects os.hostname(), process.version and process.platform and sends them as query parameters in an HTTPS GET to the hardcoded host https://workinc.top/oob/o1-\u003copaque-token\u003e, where the path contains a per-target identifier. The package main, index.js, exports an empty object and performs the same beacon on require(), tagged with an 'import' marker, inside a try/catch that suppresses all errors. No functional SDK code is shipped and the beaconing is undocumented with no opt-out. The scoped name resembles a vendor-internal package and the version number 99.0.0 is set implausibly high, which is the resolution-winning shape used in dependency-confusion targeting; the beacon endpoint is unrelated to the implied publisher.\n","modified":"2026-12-03T08:15:06.811241902Z","published":"2026-12-02T16:12:28Z","database_specific":{"iocs":{"files":[{"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"},{"paths":["index.js"],"source":"PACKAGE_ARCHIVE","digests":{"sha256":"affdf907c70f814245277255bd3318cb045f9fc7cfba8bfabcf719b5c026969f"},"note":"index.js; same GET with m=import when the package is required."},{"paths":["package.json"],"source":"PACKAGE_ARCHIVE","digests":{"sha256":"28153cc5cb4526aaaee8f4e878d7d27fec294afbd1d14d55b7ff00daeb5033b6"},"note":"postinstall runs `node .phone-home.js install`, which sends the hostname to workinc.top."},{"note":"Executed by the postinstall script of @coinme-security/onboarding-sdk-react@99.0.0.","paths":[".phone-home.js"],"source":"PACKAGE_ARCHIVE","digests":{"sha256":"7bbdf4052606a83fba75af2cf9b67477672a2ef15e73061b3309b24b87e8cc71"}}],"urls":["https://workinc.top/oob/o1-67d1357a83292096278eeeffd3c1b3ac6c1bb67c"],"domains":["workinc.top"]},"malicious-packages-origins":[{"versions":["99.0.0"],"id":"IN-MAL-2026-023161","import_time":"2026-12-03T06:26:16.385124458Z","modified_time":"2026-12-03T05:57:35Z","sha256":"d6e0e402598c7acd9417bfa6cf7448b27a849b8d4554e527ee522863c8ca0614","source":"amazon-inspector"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@coinme-security/onboarding-sdk-react/v/99.0.0"}],"affected":[{"package":{"name":"@coinme-security/onboarding-sdk-react","ecosystem":"npm","purl":"pkg:npm/%40coinme-security/onboarding-sdk-react"},"versions":["99.0.0"],"database_specific":{"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":[{"tlsh":"c8f0acf807f488341de800e8f361590fd8dff611baca38405e96a1d003a31a306612f1","path":".phone-home.js","sha256":"7bbdf4052606a83fba75af2cf9b67477672a2ef15e73061b3309b24b87e8cc71"},{"tlsh":"09f0acf903f490141cda00d8e323452f95cbf510b6dab9804f9661a00be265342931f1","path":"index.js","sha256":"affdf907c70f814245277255bd3318cb045f9fc7cfba8bfabcf719b5c026969f"}],"package_integrity":[{"filename":"onboarding-sdk-react-99.0.0.tgz","hashes":{"sha512_sri":"sha512-wsx+O3/RQCU2H1zsQ1OzwmYMM03joq13H0yNxJtjM2pajjq9yeq2yceqlBBsRmJpP1xD7247L3hg3f16KVyndA==","sha1":"120c4ea2ef2bc0932598a74fae0298f59e63ac7a"}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@coinme-security/onboarding-sdk-react/MAL-2026-21009.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"}]}