classroomhomework (npm) · Malicious Code
Affects classroomhomeworkSource GCVE Database
Malicious package : remove classroomhomework and rotate any secrets on hosts that installed it.
Data as of 10 Sep 2026, 18:48 UTC
Malicious package
Published to npm · OSV MAL-2026-14448
What to do
Remove classroomhomework 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 |
|---|---|---|
| npmclassroomhomework | 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 'classroomhomework' version 1.0.0 contains malicious code that impersonates Google Classroom to conceal a remote-fetch-and-execute payload delivery mechanism. It fetches and executes JavaScript from a dynamically constructed URL pointing to a personal GitHub repository via a jsDelivr mirror, allowing the attacker to change the payload at will. This behavior effectively compromises any system running the package, potentially giving full control to an attacker.