Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

classroomhomeworknpm

Advisory published Updated

classroomhomework is a confirmed malicious npm package (MAL-2026-14448) that typosquats a legitimate package to trick installs (malicious version 1.0.0). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in classroomhomework (npm)

MAL-2026-14448
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall classroomhomework

What this malware does

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.

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 versions

1 flagged
1.0.0

Indicators of compromise (SHA-256)

623532fe0234f0604f33f448e7b994bb3817bc08b2e9c91d4739f337763013f9
b64edbbd8d1e23d937c4697de257a67981be2ebb2934a4280424a86f4af7028f

Detection & response playbook

Typosquat
  1. Find it

    Search your lockfiles and build artifacts for classroomhomework (version 1.0.0).

  2. If you installed it — respond

    classroomhomework is a typosquat — you almost certainly intended a legitimately-named package. Remove classroomhomework, install the correct package, and rotate any secrets exposed during the install since post-install scripts may have already run.

  3. Did it already run?

    If classroomhomework was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. classroomhomework on npm has been identified as a malicious package (version 1.0.0 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

GHSA-hrpx-q7gr-p9g5IN-MAL-2026-018705

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks classroomhomework-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

Explore

classroomhomework (npm) malicious package — MAL-2026-14448 | O3 Security