Malicious code in de-morgan (npm)
The de-morgan npm package version 2.1.3 declares dependencies pointing to a non-official, HTTP-hosted URL (http://pack.nppacks.com/npm/de-morgan) for its code. This URL is attacker-controlled and mutable, allowing the installed package to execute arbitrary code fetched from this external source during npm install. The package's visible source appears benign but the actual installed code depends on the remote content, posing a risk of malicious code execution.
AI Analysis
Technical Summary
The de-morgan npm package version 2.1.3 includes both dependencies and devDependencies entries referencing a non-standard registry URL over plain HTTP without version pinning or integrity verification. This setup allows npm to fetch and install code from an attacker-controlled domain (nppacks.com), which can serve arbitrary tarballs with lifecycle scripts. Although the in-tree source resembles a harmless babel plugin, the actual installed code is determined by the remote host, enabling potential supply chain compromise and execution of malicious payloads.
Potential Impact
Users installing de-morgan version 2.1.3 may unknowingly execute arbitrary code from an attacker-controlled source during package installation. This can lead to compromise of the development environment, injection of malicious code into projects, and potential further exploitation depending on the payload delivered by the remote host.
Mitigation Recommendations
No official patch or fix is currently documented. Users should avoid installing de-morgan version 2.1.3 from untrusted sources. Verify package sources and prefer packages hosted on the official npm registry with integrity checks. Consider removing or replacing this package to eliminate risk. Monitor vendor advisories for any future remediation updates.
Malicious code in de-morgan (npm)
Description
The de-morgan npm package version 2.1.3 declares dependencies pointing to a non-official, HTTP-hosted URL (http://pack.nppacks.com/npm/de-morgan) for its code. This URL is attacker-controlled and mutable, allowing the installed package to execute arbitrary code fetched from this external source during npm install. The package's visible source appears benign but the actual installed code depends on the remote content, posing a risk of malicious code execution.
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 de-morgan npm package version 2.1.3 includes both dependencies and devDependencies entries referencing a non-standard registry URL over plain HTTP without version pinning or integrity verification. This setup allows npm to fetch and install code from an attacker-controlled domain (nppacks.com), which can serve arbitrary tarballs with lifecycle scripts. Although the in-tree source resembles a harmless babel plugin, the actual installed code is determined by the remote host, enabling potential supply chain compromise and execution of malicious payloads.
Potential Impact
Users installing de-morgan version 2.1.3 may unknowingly execute arbitrary code from an attacker-controlled source during package installation. This can lead to compromise of the development environment, injection of malicious code into projects, and potential further exploitation depending on the payload delivered by the remote host.
Mitigation Recommendations
No official patch or fix is currently documented. Users should avoid installing de-morgan version 2.1.3 from untrusted sources. Verify package sources and prefer packages hosted on the official npm registry with integrity checks. Consider removing or replacing this package to eliminate risk. Monitor vendor advisories for any future remediation updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14264
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a85b4bfacd9273b4925235c
Added to database: 08/19/2026, 13:50:55 UTC
Last enriched: 08/19/2026, 14:23:57 UTC
Last updated: 08/19/2026, 14:23:57 UTC
Views: 2
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.