Malicious code in nw-demo-utils (npm)
Description
The nw-demo-utils npm package versions 1.0.1 through 1.0.24 contain malicious code. Any system with this package installed or running is considered fully compromised. Removal of the package does not guarantee elimination of all malicious components, as the attacker may have gained full control. Immediate rotation of all secrets and keys stored on the affected system is strongly advised.
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 nw-demo-utils package distributed via npm in versions 1.0.1 through 1.0.24 includes malicious code that compromises any computer on which it is installed or executed. The compromise is severe enough that the attacker may have full control over the system, and simply removing the package may not remove all malicious artifacts. This package is flagged as a malicious package (MAL-2026-5511) and is associated with the GHSA advisory GHSA-q849-7xxq-hh4g.
Potential Impact
Systems with the affected versions of nw-demo-utils installed are fully compromised, potentially allowing attackers complete control over the system. All secrets and keys stored on the compromised system are at risk and must be rotated immediately. The presence of this package indicates a severe security breach.
Defensive Guidance
Remove the nw-demo-utils package immediately from all affected systems. Rotate all secrets, keys, and credentials that were stored or used on the compromised systems, preferably from a clean, unaffected environment. Because full system compromise is possible, consider rebuilding or thoroughly cleaning affected systems to ensure removal of all malicious components.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-5511
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-q849-7xxq-hh4g"]
- Ecosystems
- ["npm"]
Threat ID: 6a96f318acd9273b49e49554
Added to database: 09/01/2026, 15:45:28 UTC
Last enriched: 09/08/2026, 11:37:52 UTC
Last updated: 10/04/2026, 05:25:06 UTC
Views: 26
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.