{"id":"MAL-2026-21022","summary":"Malicious code in coinme-kyc-prove (npm)","details":"coinme-kyc-prove@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-kyc-prove 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 (5b00d7cb390b7cd9817ea3d55db0f3378a8a96fb7cf7a85e0e3d943b3115795c)\nThe package declares a postinstall script `node.phone-home.js install`. That script collects the installing machine's hostname, Node.js version and platform and sends them as query parameters in an HTTPS GET to a hardcoded external endpoint at https://workinc.top/oob/o1-67d1357a..., a domain unrelated to any declared package functionality. The package main entry point index.js performs the same unconditional beacon on require (marked with `m=import`) and then exports an empty object, so no advertised functionality is shipped. The version number 99.0.0 is set implausibly high, a pattern used to win dependency resolution against an internal package of the same name. The combination of a hollow stub, an out-of-band callback path and an inflated version is the dependency-confusion callback shape: installing or loading the package automatically reports installer host identifiers to an externally controlled collector.\n","modified":"2026-12-03T08:15:06.820447481Z","published":"2026-12-02T13:22:38Z","database_specific":{"iocs":{"domains":["workinc.top"],"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"},{"note":"index.js; same GET with m=import when the package is required.","paths":["index.js"],"source":"PACKAGE_ARCHIVE","digests":{"sha256":"affdf907c70f814245277255bd3318cb045f9fc7cfba8bfabcf719b5c026969f"}},{"paths":["package.json"],"source":"PACKAGE_ARCHIVE","digests":{"sha256":"d3af34486786bf027e09e30daaac0c989ce3a795318c4c483e2e2ab8d3931357"},"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-kyc-prove@99.0.0.","paths":[".phone-home.js"],"source":"PACKAGE_ARCHIVE"}],"urls":["https://workinc.top/oob/o1-67d1357a83292096278eeeffd3c1b3ac6c1bb67c"]},"malicious-packages-origins":[{"modified_time":"2026-12-03T05:59:25Z","sha256":"5b00d7cb390b7cd9817ea3d55db0f3378a8a96fb7cf7a85e0e3d943b3115795c","source":"amazon-inspector","versions":["99.0.0"],"id":"IN-MAL-2026-023176","import_time":"2026-12-03T06:26:17.190440721Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/coinme-kyc-prove/v/99.0.0"}],"affected":[{"package":{"name":"coinme-kyc-prove","ecosystem":"npm","purl":"pkg:npm/coinme-kyc-prove"},"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."},{"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"},{"sha256":"affdf907c70f814245277255bd3318cb045f9fc7cfba8bfabcf719b5c026969f","tlsh":"09f0acf903f490141cda00d8e323452f95cbf510b6dab9804f9661a00be265342931f1","path":"index.js"}],"package_integrity":[{"filename":"coinme-kyc-prove-99.0.0.tgz","hashes":{"sha1":"be0894d5f4fcd93c7c85d268864dc98f94769a55","sha512_sri":"sha512-BO4aof/b21VoqibvLFlTutniItor31bA2tdz4TxvLlwTDv3XZXaLurqWK2xi/tTBod+B8utwp7bO+j9lwBgL4w=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/coinme-kyc-prove/MAL-2026-21022.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"}]}