Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

MAL-2026-10612: Malicious code in assertion-utils-js (npm)

0
Critical
Published: 07/14/2026 (07/14/2026, 19:53:40 UTC)
Source: GCVE Database
Product: assertion-utils-js

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

npmghsa
assertion-utils-js
Affected versions
=2.4.3

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

AILast updated: 07/15/2026, 12:55:20 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses