classlesson (npm) · Malicious Code
Affects classlessonSource GCVE Database
Malicious package : remove classlesson and rotate any secrets on hosts that installed it.
Data as of 10 Sep 2026, 18:49 UTC
Malicious package
Published to npm · OSV MAL-2026-14447
What to do
Remove classlesson 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 |
|---|---|---|
| npmclasslesson | 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 npm package 'classlesson' version 1.0.0 contains malicious code or depends on a package with malicious code. Installing or running this package can lead to a full compromise of the affected computer, potentially exposing all stored secrets and keys. Immediate removal of the package and rotation of all secrets from a different, uncompromised machine is strongly advised.