classlink (npm) · Malicious Code
Affects classlinkSource GCVE Database
Malicious package : remove classlink and rotate any secrets on hosts that installed it.
Data as of 27 Oct 2026, 00:07 UTC
Malicious package
Published to npm · OSV MAL-2026-3049
What to do
Remove classlink 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 |
|---|---|---|
| npmclasslink | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (a2915556b569ee5a4e890ea4178a61836ed8799f93a30fb0ac5e30cc37a41ede) The package classlink was found to contain malicious code. ## Source: ossf-package-analysis (82421cd03a138ada09a2a108b340c2ab748bbf0774a84b4f11bce5a57469d830) The OpenSSF Package Analysis project identified 'classlink' @ 2.0.1 (npm) as malicious. It is considered malicious because: - The package communicates with a domain associated with malicious activity.