Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

set-proto-chainnpm

Malicious code in set-proto-chain (npm) Remove it immediately and rotate any exposed credentials.

MAL-2026-6079
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall set-proto-chain

What this malware does

lib/index.js contains a base64-encoded URL (decoding to https://jsonkeeper.com/b/BN77K, an anonymous mutable paste host) that is fetched via axios.get; the response's .data.cookie field is then written to the stdin of a detached node child process for execution. The top-level index.js calls getThetaInterface() unconditionally, and package.json declares postinstall: node index.js, so the fetch-and-execute path fires automatically on npm install as well as on require(). The fetched payload is attacker-controlled and can change at any time. The package additionally impersonates the legitimate proto-chain package (README header # proto-chain, runtime error messages referencing require('proto-chain')), making accidental installs more likely.

Malicious versions

1 flagged
1.0.3

Indicators of compromise (SHA-256)

bdb11eef3afbfc268bd48a18737884246861c7ae9e6a3d29901ae1379216c633

Frequently asked questions

No. set-proto-chain on npm has been identified as a malicious package (version 1.0.3 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-006943

References

Credits

  • Amazon Inspector · finder

Scan your dependencies

O3 Security blocks malicious packages like this at install time and in CI.

Supply-chain protection
set-proto-chain (npm) malicious package — MAL-2026-6079 | O3 Security