Malicious code in @c1-ease/bank (npm)
- GHSA-q599-9j7q-8xf5
Description
The package declares a `postinstall` script that runs `node beacon.cjs`, and `index.js` re-invokes the same beacon on require. The beacon collects `os.hostname()`, `__dirname`, `process.cwd()`, the Node version, and the package name and POSTs them as JSON to the hardcoded endpoint `https://vmi3699893.contaboserver.net:8787/_ah/dc`, a bare Contabo VPS unrelated to any declared publisher. TLS certificate verification is explicitly disabled via `rejectUnauthorized: false`. Beyond the beacon, `index.js` exports a Proxy whose every property returns a no-op function; the package advertises itself as a `Compatibility shim` under the `@c1-ease` scope but ships no real functionality, consistent with a dependency-confusion or install-tracking artifact targeting a potentially confusable scope name. Installing or requiring the package causes host identifiers to be sent to an attacker-controlled destination with TLS verification disabled. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/6f345a37e909d1a5d831f5d290ca394b0aad1f70/osv/malicious/npm/@c1-ease/bank/MAL-2026-20326.json))
Text from the GitHub Advisory record.
Affected
@c1-ease/banknpm
- No versions listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.