Skip to main content
MalwarePublished Updated

webpack-cache-cycle (npm) · Malicious Code

Affects webpack-cache-cycleSource GCVE Database

0

Malicious package : remove webpack-cache-cycle and rotate any secrets on hosts that installed it.

Data as of 15 Jul 2026, 12:53 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-5579

What to do

Remove webpack-cache-cycle from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmwebpack-cache-cycleAffected
  • =0.1.4
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package 'webpack-cache-cycle' version 0.1.4 contains malicious code that executes attacker-controlled JavaScript during installation. It uses a postinstall script to spawn a detached process that fetches and runs code from an obfuscated, anonymous URL. This behavior is unexpected for a webpack cache plugin and indicates a supply chain compromise. Systems with this package installed should be considered fully compromised, and all secrets on those systems must be rotated immediately.

References

Community reviews

Loading reviews…