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

webpack-cache-cyclenpm

Malicious code in webpack-cache-cycle (npm) Remove it immediately and rotate any exposed credentials.

MAL-2026-5579
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall webpack-cache-cycle

What this malware does

On npm install, package.json's postinstall hook runs node -e "require('./loader.js')". loader.js spawns a detached node process that decodes a hex-encoded URL (https://jsonkeeper.com/b/L435A — an anonymous, mutable paste host), performs an HTTPS GET, writes the response's session field to a temporary.js file, and require()s it — executing attacker-controlled JavaScript on the installer's machine. The URL is obfuscated as a hex literal padded with whitespace inside Buffer.from(...) to evade naive string scanners. The detached spawn lets npm install exit cleanly while the dropper continues asynchronously. The package's advertised purpose is a webpack cache plugin, which does not justify any network access at install time. The package name webpack-cache-cycle and README title webpack-cache-plugin impersonate legitimate webpack tooling, with placeholder author metadata (Webpack Tools) and a non-existent GitHub repository.

Malicious versions

1 flagged
0.1.4

Indicators of compromise (SHA-256)

028ed41ba1afb95bb86e0ae1536f3e9b4a2695fc8490b7d83033ac86440d59c5
82fa37e2478a7109e376e3a062ccb203806511033930eb7390e45fe7ef404b81

Frequently asked questions

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

Campaign

IN-MAL-2026-005548IN-MAL-2026-005547

References

Credits

  • Amazon Inspector · finder

Scan your dependencies

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

Supply-chain protection
webpack-cache-cycle (npm) malicious package — MAL-2026-5579 | O3 Security