Malicious code in classwork (npm)
Description
The 'classwork' npm package contains malicious code that can fully compromise any computer on which it is installed or executed. This compromise potentially exposes all stored secrets and keys, necessitating immediate rotation from a secure device. Removal of the package alone does not guarantee elimination of all malicious components due to possible persistent control by an attacker.
Affected software
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
Technical Analysis
The 'classwork' package distributed via npm is identified as containing malicious code capable of fully compromising affected systems. Installation or execution of this package may grant an attacker complete control over the host computer. Because of this, all sensitive credentials stored on the compromised system should be considered exposed and must be rotated using a different, secure machine. Simply uninstalling the package is insufficient to ensure removal of all malicious artifacts or backdoors introduced by the attacker.
Potential Impact
Systems with the 'classwork' package installed or running are considered fully compromised, risking exposure of all stored secrets and keys. Attackers may maintain persistent control beyond the presence of the package itself, leading to potential ongoing unauthorized access and data theft.
Defensive Guidance
Remove the 'classwork' package immediately from affected systems. Rotate all secrets and keys that were stored on the compromised computer using a separate, secure device. Because full control may have been given to an attacker, further forensic analysis and remediation may be necessary to ensure complete eradication of malicious components.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14451
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-776h-qpf5-rx46"]
- Ecosystems
- ["npm"]
Threat ID: 6a8d9aecacd9273b493e1864
Added to database: 08/25/2026, 13:38:52 UTC
Last enriched: 09/10/2026, 18:32:12 UTC
Last updated: 10/02/2026, 14:22:17 UTC
Views: 24
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
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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.