{"data":{"id":"ee2aa936-d58f-4cd0-b180-08d948d0dab5","title":"Top AI Agents Built to Catch Malicious Code Can Be Tricked Into Running It","summary":"AI Now Institute researchers Boyan Milanov and Heidy Khlaaf published \"Friendly Fire,\" a proof-of-concept showing that Anthropic's Claude Code and OpenAI's Codex, when run in autonomous auto-approve modes, can be tricked into executing an attacker's binary during a security scan of untrusted code. The attack hides a malicious instruction in a README.md file of an open-source library (demonstrated with geopy), which tells the agent to run a security.sh script that launches a disguised hidden binary. The researchers say the same payload worked unchanged across Claude Sonnet 4.6, Sonnet 5, Opus 4.8 and GPT-5.5.","solution":"N/A -- no mitigation discussed in source.","labels":["security","research"],"sourceUrl":"https://thehackernews.com/2026/07/friendly-fire-ai-agents-built-to-catch.html","publishedAt":"2026-07-09T05:15:02.000Z","cveId":null,"cweIds":null,"cvssScore":null,"cvssSeverity":null,"severity":"medium","attackType":["prompt_injection","supply_chain"],"issueType":"news","affectedPackages":null,"affectedPackageNames":null,"affectedPackageRefs":null,"affectedVendors":["Anthropic","OpenAI"],"affectedVendorsRaw":["Claude Code","Codex","Claude Sonnet 4.6","Claude Sonnet 5","Claude Opus 4.8","GPT-5.5"],"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-07-09T05:15:02.000Z","fixReleasedAt":null,"daysToFix":null,"fixCheckedAt":null,"capecIds":null,"crossRefCount":0,"attackSophistication":"moderate","impactType":["integrity","confidentiality"],"aiComponentTargeted":"agent","llmSpecific":true,"classifierConfidence":0.85,"researchCategory":null,"atlasIds":["AML.T0010","AML.T0051"]}}