Skip to main content
MalwarePublished Updated

clx-cookieparser (npm) · Malicious Code

Affects clx-cookieparserSource GCVE Database

0

Malicious package : remove clx-cookieparser and rotate any secrets on hosts that installed it.

Data as of 12 Sep 2026, 21:31 UTC

Classification

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

ProductAffectedFixed in
npmclx-cookieparserAffected–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

Community reviews

Loading reviews…