Malicious code in webpack-cache-cycle (npm)
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.
AI Analysis
Technical Summary
The 'webpack-cache-cycle' npm package (version 0.1.4) includes a postinstall hook that runs a loader script. This script spawns a detached Node.js process that decodes a hex-encoded URL pointing to an anonymous paste service, performs an HTTPS GET request to retrieve attacker-controlled JavaScript code, writes it to a temporary file, and executes it. The package masquerades as a legitimate webpack cache plugin but performs unauthorized network activity and code execution during installation. The package metadata is fake, including placeholder author information and a non-existent GitHub repository. This results in full system compromise upon installation.
Potential Impact
Installing this package results in execution of arbitrary attacker-controlled code on the victim's machine, leading to full system compromise. Any secrets or keys stored on the compromised system may be exposed or stolen. Removing the package does not guarantee removal of all malicious artifacts or backdoors installed by the attacker.
Mitigation Recommendations
No official patch or fix is available for this malicious package. The package should be immediately removed from all systems. All secrets and credentials stored on affected machines must be rotated from a secure, uncompromised environment. Users should audit their dependency sources carefully and avoid installing packages with suspicious metadata or unexpected network activity during installation.
Malicious code in webpack-cache-cycle (npm)
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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'webpack-cache-cycle' npm package (version 0.1.4) includes a postinstall hook that runs a loader script. This script spawns a detached Node.js process that decodes a hex-encoded URL pointing to an anonymous paste service, performs an HTTPS GET request to retrieve attacker-controlled JavaScript code, writes it to a temporary file, and executes it. The package masquerades as a legitimate webpack cache plugin but performs unauthorized network activity and code execution during installation. The package metadata is fake, including placeholder author information and a non-existent GitHub repository. This results in full system compromise upon installation.
Potential Impact
Installing this package results in execution of arbitrary attacker-controlled code on the victim's machine, leading to full system compromise. Any secrets or keys stored on the compromised system may be exposed or stolen. Removing the package does not guarantee removal of all malicious artifacts or backdoors installed by the attacker.
Mitigation Recommendations
No official patch or fix is available for this malicious package. The package should be immediately removed from all systems. All secrets and credentials stored on affected machines must be rotated from a secure, uncompromised environment. Users should audit their dependency sources carefully and avoid installing packages with suspicious metadata or unexpected network activity during installation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-5579
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-2p34-5qgm-wr3f"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a577eea68715ace43b41285
Added to database: 07/15/2026, 12:36:58 UTC
Last enriched: 07/15/2026, 12:53:35 UTC
Last updated: 07/28/2026, 06:54:47 UTC
Views: 30
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.