Malicious npm package @claudeorg/universal-code-generator — full system compromise on install
Severity: critical · Patch status: no-fix-needed · Since 2026-11-19
GitHub published advisory GHSA-2rgp-c9mf-f8q7 on 2026-11-19 flagging the npm package @claudeorg/universal-code-generator as malware (CWE-506, embedded malicious code). All versions (= 0) are affected and no patched version exists. The advisory states any computer with the package installed or running should be considered fully compromised, with control potentially handed to an outside entity, and recommends rotating all secrets and keys from a separate machine. The package name appears to impersonate the Claude/Anthropic brand to lure developers. Removal of the package alone is not guaranteed to eliminate the malicious software. No CVE is assigned; the advisory is the primary source.
What to do
- Remove @claudeorg/universal-code-generator from all machines and CI immediately
- Rotate all secrets, API keys, tokens and credentials stored on affected machines, using a clean computer
- Reimage or rebuild affected machines; do not assume removal cleans the infection
- Audit dependency lockfiles and npm install history for the package
- Block the package name in internal registries and CI pipelines
Sources
All live incidents on Threat Watch