Home / Blog / GitSpawn: A Single Flaw Lets Untrusted Repos Run Code in…
Tech News

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

GitSpawn: A Single Flaw Lets Untrusted Repos Run Code in Claude Code

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.

GitSpawn: A Single Flaw Lets Untrusted Repos Run Code in Claude Code
Illustration · Pexels

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.
Dillip Chowdary

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

Advertisement

5-min tech signal

Weekday briefing for engineers who skip the noise.

No spam · Unsubscribe anytime

Advertisement

✈️ CareerPilot

Your AI job-search copilot

Match your resume against live Ashby, Greenhouse & Lever openings — fit scores, job-specific resume optimization and email alerts.

Find matching jobs →

Free Tools

Browse all tools →