{"data":{"id":"df7dcd6b-8fdd-4233-8ded-d31abb96547a","title":"Breaking Claude Code Opus 5 Auto Mode","summary":"Johann Rehberger reported an attack against Claude Code's auto mode, which Anthropic made the default to guard against prompt injection. He says the attack works 80% of the time by tricking the agent into downloading and unzipping an archive, then running code that imports base64 and so executes a local struct.py file. In some runs, auto mode denied Claude's attempt to terminate the malware process after it detected the compromise.","solution":"Run unattended coding agents in a container, VM or OS sandbox. Restrict network egress. Monitor your agents. Do not expose home directories, SSH keys, cloud credentials to the agent runtime.","labels":["security","safety"],"sourceUrl":"https://simonwillison.net/2026/Aug/27/breaking-claude-code-opus-5-auto-mode/","publishedAt":"2026-08-27T22:50:25.000Z","cveId":null,"cweIds":null,"cvssScore":null,"cvssSeverity":null,"severity":"medium","attackType":["prompt_injection"],"issueType":"news","affectedPackages":null,"affectedPackageNames":null,"affectedPackageRefs":null,"affectedVendors":["Anthropic"],"affectedVendorsRaw":["Claude Code","Claude Code Opus 5 Auto Mode","Anthropic"],"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-08-27T22:50:25.000Z","fixReleasedAt":null,"daysToFix":null,"fixCheckedAt":null,"capecIds":null,"crossRefCount":0,"attackSophistication":"moderate","impactType":["integrity","availability"],"aiComponentTargeted":"agent","llmSpecific":true,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":["AML.T0051"]}}