{"data":{"id":"fb3d15ac-1593-4b96-99bf-710d132b77c4","title":"Claude Code Source Leaked via npm Packaging Error, Anthropic Confirms","summary":"Anthropic confirmed that internal source code for Claude Code was inadvertently released through a packaging error in version 2.1.88 of its npm package, which contained a source map file exposing nearly 2,000 TypeScript files and over 512,000 lines of code. Anthropic said no sensitive customer data or credentials were exposed, and the leaked codebase has since been mirrored in a public GitHub repository.","solution":"Users are advised to immediately downgrade to a safe version and rotate all secrets, in connection with the Axios supply chain attack affecting npm installs or updates of Claude Code on March 31, 2026, between 00:21 and 03:29 UTC. Anthropic said it is rolling out measures to prevent this from happening again.","labels":["security","industry"],"sourceUrl":"https://thehackernews.com/2026/04/claude-code-tleaked-via-npm-packaging.html","publishedAt":"2026-04-01T06:12:00.000Z","cveId":null,"cweIds":null,"cvssScore":null,"cvssSeverity":null,"severity":"low","attackType":["supply_chain"],"issueType":"news","affectedPackages":null,"affectedPackageNames":null,"affectedPackageRefs":null,"affectedVendors":["Anthropic"],"affectedVendorsRaw":["Anthropic","Claude Code","Axios"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":null,"epssScore":null,"epssCheckedAt":null,"kevDateAdded":null,"advisoryAliases":null,"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":null,"disclosureDate":"2026-04-01T06:12:00.000Z","fixReleasedAt":null,"daysToFix":null,"fixCheckedAt":null,"capecIds":null,"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity"],"aiComponentTargeted":"agent","llmSpecific":true,"classifierConfidence":0.93,"researchCategory":null,"atlasIds":["AML.T0010"]}}