Your AI Coding Agent Can Be Attacked by the Repository It Opens
7.8 relevance
Score Breakdown
technical depth 8
novelty 7
actionability 8
community 7
strategic 8
personal 9
Scored daily by a customisable AI persona to surface the most relevant engineering leadership news.
Critical security analysis of AI agents, highly actionable and relevant.
Summary
AI coding agents like Cursor and Claude Code automatically execute Git operations (status, diff) on repository open, expanding the attack surface to include Git-based exploits like GitSpawn (via core.fsmonitor) and prompt injection via repo-stored agent skills. GitHub's SKILL.md files and untrusted .github/ instructions can trigger code execution or data exfiltration without manual project launch, affecting tools such as OpenAI Codex, Goose, and Qwen Code. Developers must now treat repository instructions and configuration as active threats, not just the compiled code.