de-morgan (npm) · Malicious Code
Affects de-morganSource GCVE Database
Malicious package : remove de-morgan and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 16:18 UTC
Malicious package
Published to npm · OSV MAL-2026-14264
What to do
Remove de-morgan from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmde-morgan | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.