GitSpawn: A Single Flaw Lets Untrusted Repos Run Code in Claude Code
Points: 1 # Comments: 0 GitSpawn: A Single Flaw Lets Untrusted Repos Run Code in Claude Code Coverage based on HN Claude/Codex/Fable reporting.
By Dillip Chowdary • Sep 02, 2026 • Source: HN Claude/Codex/Fable
What happened
user GitSpawn: A Single Flaw Lets Untrusted Repos Run Code in Claude Code, and Others
How it works
Security researchers have uncovered a significant vulnerability named GitSpawn that allows untrusted repositories to execute arbitrary code within AI coding assistants, including Anthropic's Claude Code and similar tools. Published by Manifold Security, the vulnerability highlights a fundamental security flaw in how modern developer tools interact with version control systems.

Advertisement
Tech Pulse Daily
Get tomorrow's pulse first
Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.
Why it matters
We tested and reported both; each came back as a duplicate of a report another researcher had already filed, and both have since been patched. The Codex variant differs somewhat in mechanism but belongs to the same class.
Who is affected
Neither is written up separately below; the case studies cover the findings where we could show the full chain ourselves and where the disclosure record was worth documenting.Open a folder with Claude Code and it runs git status before you type anything. On some agents, before you have even authenticated.If that folder came from somewhere else, the repository decides what that command runs.TL;DRWhat it is.
What to watch next
AI coding agents run git commands in the background to gather context, on some agents before you type a prompt, before the workspace-trust prompt, before you have even authenticated. See the full write-up from HN Claude/Codex/Fable via the source link for quotes and complete context.
Developer Action Items
- ☐ Inventory whether Anthropic / Claude / Codex runs in prod, CI, staging, or on laptops before you debate severity.
- ☐ Confirm the vendor's fixed build for Anthropic / Claude / Codex from HN Claude/Codex/Fable, then schedule the patch window.
- ☐ If you cannot patch today, isolate the service, rotate tokens that sat on the affected surface, and raise the logging floor.
- ☐ Record the decision and residual risk so the next on-call does not re-litigate whether you are exposed.
Author
Dillip Chowdary
Writes Tech Bytes coverage of AI, engineering, and the tools that actually ship. Editor of Tech Pulse Daily.
Related on Tech Bytes
Anthropic launches Claude Fable 5.1 and says it’s up to 45 percent cheaper for agentic…
Read →
Hermes, Claude Code, and Codex ran an identical model. Token use varied 70-fold
Read →
John Ternus sends first memo as Apple CEO teasing a ‘huge launch next week’
Read →
Were Claude's Weekly Limits Cut in Half? (and obscured by another 50% "deal"?)
Read →
Today's Tech Pulse briefing
Full briefing →
Advertisement