Malicious code in coinme-greendot (npm)
- MAL-2026-21020
Description
Show the whole descriptionHide the whole description
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. coinme-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.
Text from the OSV record.
Affected
coinme-greendotnpm
- No versions listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.