{"resourceId":"github-advisory-claudecode-cli-npm-malware-impersonates-claude-code-20261113","versions":[{"version":"external-352ccdf51aa168df6849d1d9d13772a4da3c396b20bb4a5376e62000c4c4f025","resource":{"id":"github-advisory-claudecode-cli-npm-malware-impersonates-claude-code-20261113","title":"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","organization":"GitHub (Advisory Database)","sector":"Software supply chain (affects agency and campus developer fleets)","geography":"Global","publishedAt":"November 13, 2026","publicationDate":"2026-11-13","eventDate":"2026-11-13","sourceName":"GitHub Advisory Database","sourceLabel":"Third-party malware advisory","sourceUrl":"https://github.com/advisories/GHSA-vp2q-gp5r-xh5j","evidenceClass":"independent-research","outcomeClass":"cautionary","topics":["developers-agents","data-security"],"finding":"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.","sledRelevance":"Interpretation: 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":"Third-party malware advisory (GitHub, mirrored in OSV) plus our registry metadata and download-count checks; no payload analysis or victim data.","architectureImplications":"Interpretation: 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.","governanceImplications":"Interpretation: 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.","securityPrivacyImplications":"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.","caveats":"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.","streamIds":["anthropic"],"roles":{"sales":"Lead with the supply-chain point: a fake package named like the Claude Code CLI was flagged as malware on Nov. 13, and GitHub says any machine that installed it should be treated as fully compromised. For public-sector teams adopting Claude Code, offer a bounded install-hygiene check covering approved sources, package allowlists and a hunt for this package. Do not overstate the scale, because no infection counts are published.","engineering":"Fit: any agency or campus where developers, researchers or students install Claude Code via npm. Search endpoints, CI images and lockfiles for @claudecode/cli. Allow only @anthropic-ai/claude-code or the native installer through a package proxy. Make sure dependency scanners ingest GHSA and OSV malware data. If the package is found, isolate the host, rotate credentials from a clean device and reimage.","delivery":"Delivery work is a quick hunt-and-harden sprint: inventory Claude Code installs, search for the look-alike, enforce an internal registry allowlist, and add an AI-tool section to the incident playbook. Ownership sits with security operations and endpoint engineering. Acceptance criteria below are proposals. Risks: unmanaged student or researcher machines outside endpoint tooling, and credentials reused across systems that widen any compromise."},"roleDetails":{"sales":{"customerProblem":"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"],"discoveryQuestions":["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?"],"valueHypothesis":"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.","potentialEngagement":"A one-week Claude Code install-hygiene and threat-hunt engagement across managed endpoints and CI pipelines.","unsupportedClaims":["That any agency was infected","That Anthropic distribution channels were compromised","That 992 downloads equals 992 victims","Payload behavior beyond the advisory text"]},"engineering":{"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.","architectureIntegration":"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.","proofOfValue":["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":{"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.","skillsAdoption":"Developers need awareness of exact official package names. Service desks need a script for suspected typosquat installs.","governanceCheckpoints":["Approved-source policy for AI developer tools","Incident playbook covers credential rotation from a clean device","Periodic hunt for AI-tool look-alikes"],"acceptanceCriteria":["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"]}},"retrievedAt":"2026-11-15T04:20:21Z","enrichedAt":"2026-11-15T04:27:01Z","enrichmentBasis":"retrieved source","accessibilityWorkforceImplications":"Interpretation: student and faculty developers who install tools themselves, without IT packaging, are most exposed. Training should show the exact official package name.","procurementImplications":"Interpretation: when buying Claude Code or developer AI tooling, require a supported, signed installation method and confirm security tooling covers npm malware advisories.","operatingModelImplications":"Interpretation: security operations should monitor GHSA and OSV malware feeds for AI-tool look-alikes and hunt for affected packages across endpoints and CI.","sourceVerification":{"openedUrl":"https://github.com/advisories/GHSA-vp2q-gp5r-xh5j","referenceExcerpt":"Any computer that has this package installed or running should be considered fully compromised.","promptVersion":"sled-research-v4.0","model":null,"basis":"agent-reported inspection"}}}]}