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…

Malicious code in de-morgan (npm)

0
High
Published: 08/19/2026 (08/19/2026, 06:20:50 UTC)
Source: GCVE Database
Product: de-morgan

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

npmghsa
de-morgan
Affected versions
=2.1.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: 08/19/2026, 14:23:57 UTC

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.

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-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 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