Skip to content
aiqbench takeAI Safety

aiqbench analysis

This vulnerability exposes AI coding agents to silent code execution when they process malicious repositories transferred via standard file-sharing methods like USB drives or shared folders. The flaw arises because these agents run background git commands that trigger untrusted hooks defined in the repository's configuration, bypassing typical permission controls before user authentication. For developers relying on LLMs for pair programming, this highlights a critical supply chain risk where trusted colleagues could inadvertently introduce executable payloads into an AI agent's workspace.
Sources coveringCybersecurity News, InfoQ
What this isA model's reading of the article and related coverage, written for aiqbench. Not the publisher's words.

GitSpawn Flaws Let Malicious Repositories Execute Code in Claude Code, Codex, Cursor, and Grok

Cybersecurity News3 min read

A newly disclosed class of vulnerabilities, dubbed GitSpawn, allows a booby-trapped repository to silently execute code on a developer’s machine the moment it is opened with an AI coding agent, no prompt typed, no approval clicked, and in some cases before the user has even authenticated. Security researchers at Manifold Security found the flaw while […] The post GitSpawn Flaws Let Malicious Repositories Execute Code in Claude Code, Codex, Cursor, and Grok appeared first on Cyber Security News.

A newly disclosed class of vulnerabilities, dubbed GitSpawn, allows a booby-trapped repository to silently execute code on a developer’s machine the moment it is opened with an AI coding agent, no prompt typed, no approval clicked, and in some cases before the user has even authenticated. Security researchers at Manifold Security found…

Excerpt shown under the publisher's RSS terms · 52 words · full text and figures are on the publisher's site

Related coverage