Malicious .git Configs Can Make Claude, Codex, Cursor, and Other AI Agents Run Attacker Code

Malicious .git Configs Can Make Claude, Codex, Cursor, and Other AI Agents Run Attacker Code


Manifold Security has disclosed eight security flaws across seven command-line AI coding agents in which a repository’s own Git configuration names a command that the agent runs on the developer’s machine, four of them still unpatched at publication.

The command executes as the user, outside the agent’s sandbox and without an approval prompt, and exploitation requires the repository to arrive

The post “Malicious .git Configs Can Make Claude, Codex, Cursor, and Other AI Agents Run Attacker Code” appeared first on The Hacker News

Source:The Hacker News – [email protected] (The Hacker News)