sbbank (npm): malicious dependency-confusion package beacons host data to C2 on install/import
Severity: critical · Patch status: no-fix-needed · Since 2026-11-24
On 2026-11-21, npm account ppblpp1 published sbbank 0.0.1, a dependency-confusion package described as a "Compatibility shim" and an "authorized dependency-confusion test" by Kero (@0xWise). Its postinstall script runs node beacon.cjs, and index.js runs the same beacon when imported; both POST the hostname, install path and current working directory to https://vmi3699893.contaboserver.net:8787/ah/dc with TLS certificate validation disabled. index.js exports a Proxy of no-op functions so builds importing the real package continue. The same account published seven other packages with the same beacon between 21:34 and 22:09 UTC. The GitHub advisory lists only sbbank 0.0.1 as affected and no patched versions. Any install or import should be treated as compromised; remove the package, block the C2 endpoint, and rotate secrets exposed to the build environment.
What to do
- Immediately remove or block sbbank 0.0.1 and any packages published by npm account ppblpp1; audit lockfiles and build logs for installs/imports.
- Block egress to vmi3699893.contaboserver.net:8787 and its resolved IP; hunt for POSTs to /_ah/dc.
- If sbbank was installed or imported, treat the host/build environment as compromised: rotate npm tokens, CI secrets, cloud credentials and SSH keys, and review recent build artifacts.
- Enforce scoped registries and dependency-confusion controls; verify package provenance and pin trusted versions.
- Monitor npm audit/advisory updates for the seven unnamed sibling packages.
Sources
All live incidents on Threat Watch