Malicious code in coinme-discover (npm)
- MAL-2026-21017
Description
Show the whole descriptionHide the whole description
coinme-discover@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-discover and 17 sibling coinme-* and @coinme-security/* packages with the same code on 2026-12-02. The package provides no functionality — index.js exports an empty object — and exists only to report that it was installed. A declared postinstall script runs.phone-home.js, which sends the installer's hostname, Node version, platform and package name as query parameters to a hardcoded out-of-band endpoint at workinc.top over HTTPS, with errors suppressed. The same beacon is repeated at the top level of index.js, so any build step or runtime that requires the package also reports host identifiers, tagged to distinguish the import path from the install path. The version number (99.0.1) is set implausibly high for a package of this content, the name resembles an internal/private package, and the callback URL embeds a unique per-target token path — the structure of a dependency-confusion callback that confirms a private package name is resolvable from a victim build environment and identifies the host that resolved it. No credential files or environment contents are read, but the beacon fires automatically on a default install with no disclosure or opt-out.
Text from the OSV record.
Affected
coinme-discovernpm
- No versions listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.