cvelo
P2 · HighMalware

Malicious code in coinme-payment-methods (npm)

  • GHSA-2chq-hf68-926w

Description

coinme-payment-methods@99.0.0 contains no functional code: index.js exports an empty object. A postinstall hook (.phone-home.js) and the package main (index.js) both build a query string containing os.hostname(), process.version, process.platform and the package name, and issue an https.get to a hardcoded endpoint at workinc.top (path /oob/o1-...), wrapped in try/catch so transmission failures are silent. The behavior fires automatically on npm install and again whenever any consumer requires or imports the module, with no disclosure or opt-out. The implausibly high version number (99.0.0) and the organization-style package name are consistent with dependency-confusion resolution testing: the beacon confirms to the operator of workinc.top that an internal package name resolved on a specific host, identifying build systems for follow-on targeting. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/78d0ba20d615fbedd73fd1d3140928492091c0df/osv/malicious/npm/coinme-payment-methods/MAL-2026-21023.json))

Text from the GitHub Advisory record.

Recommendation

Remove the package and rotate any secret the machine that installed it could reach. There is no version to update to.

Affected

  • coinme-payment-methodsnpm

    No versions listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.