GitSpawn: A Single Flaw Lets Untrusted Repos Run Code in Claude Code
GitSpawn: A Single Flaw Lets Untrusted Repos Run Code in Claude Code
By Dillip Chowdary • Sep 02, 2026 • Source: HN Claude/Codex/Fable
At a glance
- Vulnerability
- GitSpawn
- Publisher
- Manifold Security
- Affected
- Claude Code and similar AI coding assistants
- Impact
- Untrusted repos run arbitrary code
- Timing
- Git runs before the workspace-trust prompt
In this post
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.
01What shipped
What shipped in GitSpawn: A Single Flaw Lets Untrusted Repos Run Code in Claude Code is the version, model ID, and access path HN Claude/Codex/Fable named. Write those down before you talk about strategy. A launch without an ID or a documented switch command is still a press cycle.
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.
02What improved
What improved belongs in a before/after table: list price, cache-read price, benchmark, default effort, alias. Copy every number HN Claude/Codex/Fable printed.
Leave blank cells blank. Do not guess a percentage.
03What you gain
What you gain is the bill and the default that moved — cheaper cache, a new picker entry, a later knowledge cutoff — not a vibe. If your workload is cache-heavy, the cache line dominates; if it is output-heavy, it may not.
The Codex variant differs somewhat in mechanism but belongs to the same class. 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.
04How to get it
Update Claude Code, then switch the session model. Copy the commands; do not invent flags.
Advertisement
Tech Pulse Daily
Get tomorrow's pulse first
Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.
npm install -g @anthropic-ai/claude-code
claude update
claude --version/model fableclaude --model fableHow to get it is a vendor command, not a paragraph that says read HN Claude/Codex/Fable. Update the CLI, switch with /model or --model, then set a default in the picker or documented config. Do not invent flags that are not in the notes.
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. 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.
05What to watch next
Watch the first patch, whether the alias still points at this cut, and whether a gated sibling (Mythos, preview, trusted access) is actually available to your org. Pin in staging before you change the default.
See the full write-up from HN Claude/Codex/Fable via the source link for quotes and complete context.
A 3–5 minute news post is a briefing, not a runbook. Keep HN Claude/Codex/Fable and the vendor's primary page in another tab, quote only what they printed, and write down the single decision this story forces (upgrade, wait, or ignore) before you Slack it to the rest of the team. If you need more than that decision, you want the primary docs or a later engineering deep-dive — not another recap of GitSpawn: A Single Flaw Lets Untrusted Repos Run Code in Claude Code.
If you cannot name the surface — API, policy, model, hardware, or commercial terms — you are not ready to brief. Go back to HN Claude/Codex/Fable and the vendor page until you can. That extra ten minutes is cheaper than a wrong upgrade or a missed exposure.
If you cannot name the surface — API, policy, model, hardware, or commercial terms — you are not ready to brief. Go back to HN Claude/Codex/Fable and the vendor page until you can. That extra ten minutes is cheaper than a wrong upgrade or a missed exposure.
A 3–5 minute news post is a briefing, not a runbook. Keep HN Claude/Codex/Fable and the vendor's primary page in another tab, quote only what they printed, and write down the single decision this story forces (upgrade, wait, or ignore) before you Slack it to the rest of the team. If you need more than that decision, you want the primary docs or a later engineering deep-dive — not another recap of GitSpawn: A Single Flaw Lets Untrusted Repos Run Code in Claude Code.
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