Skip to main content

Malicious code in classroomhomework (npm)

0
Critical
Published: 08/25/2026 (08/25/2026, 05:33:29 UTC)
Source: GCVE Database
Product: classroomhomework

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.

Affected software

npmghsa
classroomhomework
Affected versions
=1.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 18:48:21 UTC

Technical Analysis

The 'classroomhomework' npm package (version 1.0.0) includes an index.html file that mimics Google Classroom's UI as a decoy. Embedded JavaScript reconstructs a fragmented path to fetch a remote HTML/JS payload from a personal GitHub repository via jsDelivr. This payload is executed in the browser context using document.write, triggered automatically after page load and on user interaction. The obfuscation and decoy UI indicate deliberate concealment of the malicious delivery channel. Because the GitHub repository is not pinned to a specific commit, the attacker can modify the payload at any time, enabling dynamic remote code execution.

Potential Impact

Any computer with this package installed or running should be considered fully compromised. The attacker may have obtained full control over the system, including access to stored secrets and keys. Immediate rotation of all credentials from a separate, uncompromised system is necessary. Removing the package alone does not guarantee removal of all malicious artifacts or backdoors introduced by the attacker.

Defensive Guidance

Remove the 'classroomhomework' package immediately from all affected systems. Rotate all secrets, keys, and credentials from a different, trusted computer to prevent unauthorized access. Because the attacker may have persistent control, consider a full system audit and remediation. No official patch or fix is available; the package itself is malicious.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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"]

Threat ID: 6a8d9ae7acd9273b493e1757

Added to database: 08/25/2026, 13:38:47 UTC

Last enriched: 09/10/2026, 18:48:21 UTC

Last updated: 10/03/2026, 13:57:15 UTC

Views: 28

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses