MAL-2026-10612: Malicious code in assertion-utils-js (npm)
The npm package assertion-utils-js is a malicious typosquat of the legitimate chai package. When required, it spawns a detached Node.js child process that runs heavily obfuscated code which fetches and executes remote code with full Node module privileges. This behavior effectively compromises any system running the package. The package version 2.4.3 is affected. Removal of the package does not guarantee full remediation as the system may already be fully compromised.
AI Analysis
Technical Summary
assertion-utils-js is a typosquatting malicious package mimicking chai. Upon loading, it spawns a detached Node.js child process executing obfuscated code that reconstructs a URL, fetches remote JavaScript code via HTTPS, and executes it dynamically with full Node.js privileges. This allows arbitrary remote code execution on any system that loads the package. The obfuscation is designed to evade static analysis by hiding the fetch destination. The malicious behavior occurs on every load of the package, leading to a full system compromise risk.
Potential Impact
Any computer with assertion-utils-js version 2.4.3 installed or running is considered fully compromised. The attacker gains full control via remote code execution with Node.js privileges. All secrets and keys stored on the compromised system should be considered exposed and must be rotated from a secure environment. Removing the package alone may not remove all malicious artifacts or backdoors installed by the attacker.
Mitigation Recommendations
Remove the assertion-utils-js package version 2.4.3 immediately. Rotate all secrets and keys that were stored or used on the compromised system from a different, secure computer. Because the system may be fully compromised, consider rebuilding or thoroughly cleaning the affected environment. There is no official patch or fix available; avoidance and removal are the only mitigations.
MAL-2026-10612: Malicious code in assertion-utils-js (npm)
Description
The npm package assertion-utils-js is a malicious typosquat of the legitimate chai package. When required, it spawns a detached Node.js child process that runs heavily obfuscated code which fetches and executes remote code with full Node module privileges. This behavior effectively compromises any system running the package. The package version 2.4.3 is affected. Removal of the package does not guarantee full remediation as the system may already be fully compromised.
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
assertion-utils-js is a typosquatting malicious package mimicking chai. Upon loading, it spawns a detached Node.js child process executing obfuscated code that reconstructs a URL, fetches remote JavaScript code via HTTPS, and executes it dynamically with full Node.js privileges. This allows arbitrary remote code execution on any system that loads the package. The obfuscation is designed to evade static analysis by hiding the fetch destination. The malicious behavior occurs on every load of the package, leading to a full system compromise risk.
Potential Impact
Any computer with assertion-utils-js version 2.4.3 installed or running is considered fully compromised. The attacker gains full control via remote code execution with Node.js privileges. All secrets and keys stored on the compromised system should be considered exposed and must be rotated from a secure environment. Removing the package alone may not remove all malicious artifacts or backdoors installed by the attacker.
Mitigation Recommendations
Remove the assertion-utils-js package version 2.4.3 immediately. Rotate all secrets and keys that were stored or used on the compromised system from a different, secure computer. Because the system may be fully compromised, consider rebuilding or thoroughly cleaning the affected environment. There is no official patch or fix available; avoidance and removal are the only mitigations.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10612
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-q727-8h63-fm25"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a577eee68715ace43b414af
Added to database: 07/15/2026, 12:37:02 UTC
Last enriched: 07/15/2026, 12:55:20 UTC
Last updated: 07/16/2026, 03:41:43 UTC
Views: 5
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.