Malicious code in expect-bundle (npm)
Description
The npm package 'expect-bundle' version 6.3.2 contains malicious code that compromises any computer on which it is installed or running. The compromise is severe enough that all secrets and keys stored on the affected system should be rotated immediately from a different, trusted machine. Removing the package alone does not guarantee removal of all malicious software, as full control of the system may have been given to an attacker.
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 'expect-bundle' npm package version 6.3.2 has been identified as containing malicious code. Installation or execution of this package results in a full compromise of the host system. Due to the nature of the compromise, attackers may have gained persistent access, and simply uninstalling the package will not ensure complete remediation. Immediate secret and key rotation from a separate secure environment is recommended to mitigate ongoing risk.
Potential Impact
Complete system compromise on any machine with 'expect-bundle' version 6.3.2 installed or running. Potential exposure and theft of all stored secrets and keys. Persistence of malicious software beyond package removal is likely, indicating a high risk of ongoing unauthorized access.
Mitigation Recommendations
Remove the 'expect-bundle' package version 6.3.2 immediately. Rotate all secrets and keys stored on the affected system from a separate, secure computer. Due to the likelihood of persistent compromise, consider rebuilding or thoroughly cleaning the affected system to ensure removal of all malicious components.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14080
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-f24w-wg35-f2f2"]
- Ecosystems
- ["npm"]
Threat ID: 6a96f318acd9273b49e4962f
Added to database: 09/01/2026, 15:45:28 UTC
Last enriched: 09/08/2026, 10:23:29 UTC
Last updated: 10/04/2026, 05:54:42 UTC
Views: 25
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.