Malicious package · npm
Malicious code in @coinme-security/risk-sdk-js (npm)
99.0.0No safe version. Remove it.What it does
@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.
The 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-<token> 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.
No fix · Remove and contain
npm uninstall @coinme-security/risk-sdk-jsSources