news.mlab.sh
Back to the feed
Add to case
vulnerability

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

HighCVSS 8.8
Image: The Hacker News
Summary

Manifold Security discovered eight security flaws in several AI coding agents – including Claude, Codex, and Hermes Agent – that allow attackers to execute arbitrary code on a user's machine. The vulnerability stems from the agents using Git's `core.fsmonitor` setting to run commands from a repository's `.git/config` file, bypassing sandboxes and requiring no user approval. While some fixes have been released, several agents remain vulnerable, requiring users to take proactive steps to mitigate the risk.

Read the full article at The Hacker News
Add news.mlab.sh as a preferred source on Google

Summary written automatically in our own words from the original article, which belongs to its publisher and remains the reference. It may contain errors. Sources & data

Report an error
Confirmed errors are listed on /corrections.