Malicious code in classroomhomework (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (b64edbbd8d1e23d937c4697de257a67981be2ebb2934a4280424a86f4af7028f) The package's index.html impersonates Google Classroom (title, gstatic favicon, hardcoded student email [email protected], decoy schedule/gradebook code explicitly commented `// --- decoy classroom functionality below ---`) as a cover for a remote-fetch-and-execute primitive. Embedded JavaScript reconstructs a fragmented path from a `_paths` array (`["/gh/", "s0n-1m-", "cr1n3/", "sc13nc3/", "assets/", "index.html"]`) joined at runtime to form `/gh/s0n-1m-cr1n3/sc13nc3/assets/index.html`, prefixes a jsDelivr mirror host, fetches the URL, and writes the response body into a new browser tab via `document.write`, which parses and executes it as HTML/JS. A `setTimeout` fires the fetch automatically 500 ms after page load, and a hidden `class code` modal (m1..m5) triggers the same fetch on demand. Because the jsDelivr path targets a personal GitHub repository (`s0n-1m-cr1n3/sc13nc3`) pinned to no commit, the operator can swap the delivered payload at any time. The split-string obfuscation of the destination and the author-labeled decoy UI show intent to conceal the delivery channel behind a Google Classroom facade. ## Source: ghsa-malware (623532fe0234f0604f33f448e7b994bb3817bc08b2e9c91d4739f337763013f9) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Malicious code in classroomhomework (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (b64edbbd8d1e23d937c4697de257a67981be2ebb2934a4280424a86f4af7028f) The package's index.html impersonates Google Classroom (title, gstatic favicon, hardcoded student email [email protected], decoy schedule/gradebook code explicitly commented `// --- decoy classroom functionality below ---`) as a cover for a remote-fetch-and-execute primitive. Embedded JavaScript reconstructs a fragmented path from a `_paths` array (`["/gh/", "s0n-1m-", "cr1n3/", "sc13nc3/", "assets/", "index.html"]`) joined at runtime to form `/gh/s0n-1m-cr1n3/sc13nc3/assets/index.html`, prefixes a jsDelivr mirror host, fetches the URL, and writes the response body into a new browser tab via `document.write`, which parses and executes it as HTML/JS. A `setTimeout` fires the fetch automatically 500 ms after page load, and a hidden `class code` modal (m1..m5) triggers the same fetch on demand. Because the jsDelivr path targets a personal GitHub repository (`s0n-1m-cr1n3/sc13nc3`) pinned to no commit, the operator can swap the delivered payload at any time. The split-string obfuscation of the destination and the author-labeled decoy UI show intent to conceal the delivery channel behind a Google Classroom facade. ## Source: ghsa-malware (623532fe0234f0604f33f448e7b994bb3817bc08b2e9c91d4739f337763013f9) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14448
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-hrpx-q7gr-p9g5"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a8d9ae7acd9273b493e1757
Added to database: 08/25/2026, 13:38:47 UTC
Last updated: 08/25/2026, 14:52:52 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.