From the Anthropic edition of November 14, 2026
GitHub Advisory Database flags npm package @claudecode/cli, a look-alike of the Claude Code CLI, as malware: any machine that installed it should be treated as fully compromised
GitHub (Advisory Database) · Software supply chain (affects agency and campus developer fleets) · Global
- Publisher
- GitHub Advisory Database
- Original publication
- November 13, 2026
- Source retrieved
- 2026-11-15
- Event date
- 2026-11-13
What happened
On Nov. 13, 2026, GitHub's Advisory Database published GHSA-vp2q-gp5r-xh5j (OSV MAL-2026-19243), classing the npm package @claudecode/cli as malware. The name resembles the Claude Code CLI, whose official package is @anthropic-ai/claude-code. All versions are affected and no fix exists. GitHub says any computer that installed or ran it should be treated as fully compromised, with secrets rotated from another machine. npm has replaced it with a security placeholder. The npm downloads API shows 992 downloads in the prior year, and registry metadata lists a version dated August 2025.
Why it matters
Agencies, universities and districts rolling out Claude Code to developers or students can be hit by look-alike packages. One mistyped install on a machine holding cloud or SIS credentials could compromise it fully. Package allowlists and approved install methods matter as much as model controls.
Evidence and measured results
Third-party malware advisory (GitHub, mirrored in OSV) plus our registry metadata and download-count checks; no payload analysis or victim data.
Limitations and uncertainty
The advisory gives no technical analysis of the payload, who published it or how it was discovered. The 992 download count includes mirrors and automated fetches and is not a count of infected machines. The Aug. 2025 version date comes from registry metadata, and we could not confirm that version was malicious.
Put this evidence to work
Lighthouse Advisory interpretation, grounded in this source. Enriched 2026-11-15; this does not change the original publication date. Each role follows the same checklist so takeaways compare across sources.
Sales
Role takeaway
- Customer problem
- Public-sector developer and research teams installing Claude Code can be tricked into installing a malicious look-alike npm package that fully compromises their machines.
- Stakeholders
- CISO or security operations lead
- Endpoint engineering
- Research computing or developer platform lead
- Campus or agency IT service desk
- Discovery questions
- How do developers install Claude Code today: managed installer, internal registry or public npm?
- Do your scanners ingest GHSA and OSV malware advisories?
- Have you searched endpoints and CI for @claudecode/cli?
- What is your playbook for a compromised developer machine?
- Value hypothesis
- An install-hygiene review could reduce exposure to look-alike AI-tool packages. It is limited to supply-chain risk and says nothing about Claude itself.
- Potential engagement
- A one-week Claude Code install-hygiene and threat-hunt engagement across managed endpoints and CI pipelines.
- Unsupported claims
- That any agency was infected
- That Anthropic distribution channels were compromised
- That 992 downloads equals 992 victims
- Payload behavior beyond the advisory text
Pre-sales engineering
Role takeaway
- Fit
- High fit where Claude Code is installed via npm on staff, research or student machines; lower where only the managed desktop app is used.
- Architecture and integration
- Internal npm proxy or registry allowlist pinned to @anthropic-ai/claude-code, endpoint management packaging, SCA scanning with GHSA/OSV malware feeds, and EDR hunting queries.
- Prerequisites
- Inventory of Claude Code installations
- Package proxy or allowlist capability
- Dependency scanning with malware advisories
- Credential rotation runbook
- Constraints
- Unmanaged personal or student devices
- No payload indicators published in the advisory
- Download counts cannot identify installers
- Security
- Treat hosts with the package as fully compromised: isolate, rotate all secrets from a clean device and reimage. Block the package name at the proxy.
- Proof of value
- Search all lockfiles and CI images for @claudecode/cli
- Test that the proxy blocks the look-alike and allows the official package
- Confirm scanner alerts on GHSA-vp2q-gp5r-xh5j
Delivery
Role takeaway
- Work
- Hunt for the malicious package, enforce approved installation sources and update incident playbooks.
- Dependencies
- Endpoint and CI visibility
- Security tooling with malware feeds
- Coordination with research and student IT
- Ownership
- Security operations, with endpoint engineering.
- Skills and adoption
- Developers need awareness of exact official package names. Service desks need a script for suspected typosquat installs.
- Governance checkpoints
- Approved-source policy for AI developer tools
- Incident playbook covers credential rotation from a clean device
- Periodic hunt for AI-tool look-alikes
- Acceptance criteria
- Proposed: zero instances of @claudecode/cli across managed endpoints and CI
- Proposed: 100% of Claude Code installs from approved sources
- Proposed: scanner alert verified for this advisory
- Risks
- Unmanaged devices missed by hunts
- Delayed rotation of reused credentials
- New look-alike names not yet in feeds
Implementation considerations
Lighthouse Advisory interpretation across the operating dimensions a public-sector buyer must settle before this evidence becomes a design. Each note answers the question under its heading for this specific source.
Architecture and integration
What must connect, and where does the AI sit in the workflow?
Distribute Claude Code only through managed installers or an internal package proxy pinned to @anthropic-ai/claude-code. Block scoped look-alikes and use dependency scanning that consumes GHSA and OSV malware feeds.
Governance
Who approves, reviews and stays accountable for outcomes?
AI coding-tool rollouts should include an approved-source list and a short incident playbook for typosquat installs, including credential rotation from a clean device.
Security and privacy
What data, permissions and controls need testing?
Full host compromise is possible if the package was installed. All secrets on that machine should be rotated from a different computer, and reimaging is advisable because removal is not guaranteed to clean the host.
Accessibility and workforce
Who is affected, and what skills or accommodations follow?
Student and faculty developers who install tools themselves, without IT packaging, are most exposed. Training should show the exact official package name.
Procurement
What should contracts, pricing and exit terms secure?
When buying Claude Code or developer AI tooling, require a supported, signed installation method and confirm security tooling covers npm malware advisories.
Operating model
Which teams own the service once it runs?
Security operations should monitor GHSA and OSV malware feeds for AI-tool look-alikes and hunt for affected packages across endpoints and CI.
Publication history
- 2026-11-14Anthropic · Issue 165 resources
Stable resource ID: github-advisory-claudecode-cli-npm-malware-impersonates-claude-code-20261113