A branch can wear a commit's name
A plugin marketplace pins a commit as forty hexadecimal characters, meant to be immutable, and every client checked it out assuming the code was that commit. Git does not always agree. When a name is ambiguous, Git prefers a ref over an object id, which is the gap the technique uses. An attacker who controls the plugin repo can create a branch whose name is exactly that hash, then make it the default so the checkout resolves to the branch. The install report still says it is at the pin, and Air Security described the technique as Plugin4Shell.
Zero clicks, four agents, two fixes
Claude Code and Codex auto-update by default, so nobody has to accept the swap, and that is what made the technique worth trying. Claude Code fixed the behaviour in 2.1.179 back in June. Codex shipped its fix in 0.146.0, verified on 12 August. GitHub's Copilot CLI shipped no client-side fix. Google confirmed on 4 August that Gemini CLI is deprecated and will not patch it, leaving two of the four agents exposed. A deprecated client that still fetches plugins is a standing target, and CVE-2026-86063 was published on 9 October as the paper trail.
The pin resolved inside the client
The marketplace cannot fully fix this from its side, because the pin is resolved on the client, and its best partial move is to allow only hosts that reject SHA-shaped branch names. The failure has moved into supply-chain territory. This log has the same one-string-two-readers shape in a session id turned into a flag, but here the mitigation is verification after checkout rather than a stronger pin.
Log take: Pinning a commit is only a control if the client verifies what it checked out, otherwise the pin is decoration. (Interpretation; high confidence, primary vendor research plus a GHSA advisory.)
