Malicious code in nx-app (npm)
Description
The npm package 'nx-app' version 9999.0.0-security-test contains malicious code delivered via a self-referential dependency that points to an off-registry URL. This design forces npm to fetch and execute code from an untrusted external source during installation, allowing attackers full control over the installing machine. The package's in-tree source is inert, making the external URL the sole vector for malicious payload delivery. Any system with this package installed should be considered fully compromised, and all secrets and keys on that system must be rotated immediately from a separate, secure machine.
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 'nx-app' npm package version 9999.0.0-security-test declares a dependency on itself using a raw HTTPS URL (https://repo.securityctrl.com/nx-app) instead of a standard semver range pointing to the npm registry. This causes npm to download and execute lifecycle scripts from the specified external URL without version pinning, integrity verification, or signature checks. This dependency-confusion technique ensures that the off-registry URL is used even if a registry-hosted 'nx-app' exists. The shipped source code is an inert stub, so the malicious payload is delivered solely via the external URL. Installing this package results in full compromise of the host system.
Potential Impact
Installing this package grants the attacker full control over the compromised machine. All secrets and keys stored on the system are at risk and should be considered compromised. Removal of the package does not guarantee elimination of all malicious software installed as a result of the compromise.
Defensive Guidance
Immediate removal of the 'nx-app' package version 9999.0.0-security-test is recommended. All secrets and keys stored on the compromised machine must be rotated from a separate, secure system. Due to the high likelihood of full system compromise, a complete system rebuild or forensic analysis is advised to ensure all malicious artifacts are eradicated. There is no official patch or fix available; remediation relies on removal and secret rotation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-15516
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a92f7e3acd9273b49e75d28
Added to database: 08/29/2026, 15:16:51 UTC
Last enriched: 09/09/2026, 20:23:34 UTC
Last updated: 10/01/2026, 22:27:34 UTC
Views: 24
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.