Thursday, December 3, 2026 | London 10°C · Drizzle
DailyGlimpse

AI

Hackers Exploit AI Coding Assistants to Execute Malware via README Files

Fragmasoft Solutions 1 min read

Security researchers have uncovered a novel attack vector targeting AI-powered coding assistants. Dubbed 'Friendly Fire', the technique exploits tools like Claude Code and OpenAI Codex to execute malware when they scan open-source code repositories.

The attack works by hiding malicious payloads within README instruction files. When an AI agent reads the instructions, it obediently follows them, inadvertently running the embedded malware. This turns trusted AI security tools into unwitting accomplices.

The discovery highlights a growing vulnerability in the reliance on AI for code review and security scanning. As AI agents become more integrated into development workflows, attackers are finding creative ways to subvert them.

Researchers demonstrated the attack by crafting a README that appeared benign but contained hidden commands. When the AI processed the file, it executed the payload, effectively hijacking the security agent.

The findings serve as a warning to developers and organizations using AI tools for code analysis: even trusted agents can be turned against you. Recommendations include auditing AI tool permissions and implementing sandboxed execution environments.

React