Back to Latest SignalCSO ONLINE / SECURITY

Malicious downloads can trick AI coding agents into compromising themselves

Source: CSO Online · OCT 26, 2026

Malicious instruction files planted in a computer’s Downloads folder can trick AI coding agents into executing harmful code or exposing authentication tokens, Forever Security said after blocking an attempted attack on a customer’s machine and demonstrating similar techniques against OpenAI’s Codex and Anthropic’s Claude Code. In its research report, the firm said it discovered a malicious AGENTS.md file in a customer’s Downloads folder that instructed Codex to install a malicious npm package called function-color. The installation was blocked before the malware could execute. The researchers could not determine how the original file reached the computer, but demonstrated that a malicious website could trigger a similar download without a separate approval prompt. The attack exploits the way AI coding assistants process project-specific instructions. Codex uses AGENTS.md, while Claude Code supports CLAUDE.md. Both can interpret instructions contained in these Markdown files when operat

Sources

  • Read the original at CSO Online

Related

  • Modern AI panic reflects "cognitive mercantilism", a zero-sum worldview where intelligence is hoarded as a scarce supply-side commodity managed by elites (Venkatesh Rao/Contraptions) OCT 26, 2026
  • A look at OpenAI's and Anthropic's aggressive price cuts between June and October, driven by low switching costs and heavy competition from open-weight models (Max Woolf's Blog) OCT 26, 2026
  • Meet the AI Agents Trying to Be Real-Life Journalists OCT 26, 2026
  • What EvilTokens teaches us about defending against AI-assisted attacks OCT 26, 2026
  • Elvis Presley's rightsholders sue Anthropic over 274 songs allegedly used to train its models, seeking $41M+; Anthropic says it disagrees and will defend itself (Derrick Bryson Taylor/New York Times) OCT 26, 2026
MORE LATEST SIGNALSIGNALS