clx-cookieparser (npm) · Malicious Code
Affects clx-cookieparserSource GCVE Database
Malicious package : remove clx-cookieparser and rotate any secrets on hosts that installed it.
Data as of 12 Sep 2026, 21:31 UTC
Malicious package
Published to npm · OSV MAL-2026-6661
What to do
Remove clx-cookieparser 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 |
|---|---|---|
| npmclx-cookieparser | 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 'clx-cookieparser' npm package is a malicious lookalike of the legitimate 'cookie-parser' middleware. It copies the original code but falsely claims a repository affiliation that does not exist, causing potential confusion for developers. Although the package itself does not perform network I/O or contain obfuscated or credential-stealing code, its installation is considered highly dangerous as it may lead to full system compromise. Immediate removal and secret/key rotation are advised if installed.
References
- github.com/advisories/GHSA-jpg2-3r22-63v7 (opens in a new tab)
- npmjs.com/package/clx-cookieparser/v/1.4.6 (opens in a new tab)
- npmjs.com/package/clx-cookieparser/v/1.4.9 (opens in a new tab)
- npmjs.com/package/clx-cookieparser/v/1.5.1 (opens in a new tab)
- npmjs.com/package/clx-cookieparser/v/1.4.5 (opens in a new tab)
- npmjs.com/package/clx-cookieparser/v/1.4.4 (opens in a new tab)
- npmjs.com/package/clx-cookieparser/v/1.4.8 (opens in a new tab)
- npmjs.com/package/clx-cookieparser/v/1.4.7 (opens in a new tab)