A security vulnerability has been discovered where malicious markdown files, such as AGENTS.md or CLAUDE.md, can be placed in an AI coding agent's working directory to hijack its operations. These files trick agents like OpenAI Codex and Claude Code into executing malicious commands, such as installing rogue npm packages or redirecting API traffic to attacker-controlled servers. The attack exploits the trust agents place in instruction files within their working directories, bypassing traditional security measures that do not flag markdown files or monitor API traffic that appears legitimate. AI
IMPACT Highlights a critical security flaw in AI agent trust models, necessitating new protective measures for code generation and API interactions.
RANK_REASON Security researchers discovered a vulnerability in AI coding agents, detailing how malicious files can hijack their functionality, and a security tool is presented as a solution.
- AGENTS .md
- Bleeping Computer
- Claude Code
- CLAUDE.md
- Forever Security
- function coloring
- OpenAI Codex
- Sentinel
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →