Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.234 ·

Git remote URLs can no longer smuggle a different host

A crafted git remote URL can no longer trick Claude Code into using the wrong repo identity.

You'll notice Bug Fixes
JSON All of v2.1.234
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
Git IntegrationArea: what it touches
Bug FixesKind: in v2.1.234,
Bug FixesSection of the release
What

Both remote-URL matchers were narrowed so a crafted remote cannot make Claude Code derive the wrong owner/repo identity. The host capture now excludes / and @, and the userinfo capture excludes @, /, ? and #. Applies to everyone.

Details
  • Covers the scp-style form (git@host:owner/repo.git) and the URL-style form alike.
Evidence

[^@/?#]*@, /^git@([^:/@]+):(.+?)(?:\.git)?$/

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.234 →

Feedback