Malicious code in coinme-greendot (npm)
- GHSA-v8hg-m4qv-q7h9
Description
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. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/78d0ba20d615fbedd73fd1d3140928492091c0df/osv/malicious/npm/coinme-greendot/MAL-2026-21020.json))
Text from the GitHub Advisory record.
Affected
coinme-greendotnpm
- No versions listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.