Skip to main content
MalwarePublished Updated

charclass (npm) · Malicious Code

Affects charclassSource GCVE Database

0

Malicious package : remove charclass and rotate any secrets on hosts that installed it.

Data as of 7 Sep 2026, 17:55 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-14557

What to do

Remove charclass 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
npmcharclassAffected
  • 1.0.2 – 1.0.6
4 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package 'charclass' versions 1.0.2, 1.0.3, 1.0.4, and 1.0.6 contain malicious code or depend on a package with malicious code. Installing or running this package can fully compromise the affected computer, potentially exposing all stored secrets and keys. Immediate removal of the package and rotation of all secrets from a separate, uncompromised system is strongly advised.

References

Community reviews

Loading reviews…