2026-11-26 15:48 UTC

Plugin4Shell report: commit pins may not protect four coding agents

state: seedheat: highuncertainty: mediumrelevance: highagentic-security coding-agents software-supply-chainAIR SecurityAnthropicOpenAIGitHubGoogle

What is this?

AIR Security disclosed Plugin4Shell, a reported plugin-installation vulnerability affecting Claude Code, Codex, GitHub Copilot and Gemini CLI. The reported flaw is that agents fail to verify that the code actually checked out matches the marketplace-pinned commit; AIR says attackers controlling a plugin repository could exploit this to install malicious code and achieve zero-click remote code execution. Search results corroborate the core claim and note differing checkout mechanisms across the tools. The supplied evidence is a Reddit post and web-search results, not direct confirmation from the affected vendors; reported fixes and patch status therefore remain unverified here.

Why it matters

This is a consequential security report about coding-agent plugin installation—not a flaw in the underlying models. If the reported bypass works as described, a malicious plugin could run code in the agent’s environment, potentially exposing developer credentials, source code, and connected systems. It makes plugin provenance and verification important considerations when choosing or deploying coding agents. The core report is corroborated by search results, but the supplied evidence does not independently verify vendor fixes or the current status of every affected product.

Current assessment

AIR Security reports that Plugin4Shell bypasses commit-SHA pinning during plugin checkout in Claude Code, Codex, GitHub Copilot, and Gemini CLI, allowing attacker-controlled plugin code to be installed and executed without further user action. Search results support the central claim; one account describes a Git ref-name collision for three agents and a distinct FETCH_HEAD checkout path for Gemini CLI. This is a plugin supply-chain vulnerability, not evidence of a model-level flaw. The Reddit post says Anthropic and OpenAI shipped fixes and that GitHub had no fix at disclosure while Google would not patch its deprecated CLI; these status claims are not confirmed by the supplied primary sources or search snippets, so current remediation remains uncertain. Practical implication: verify present patch status and plugin provenance before relying on pinned commits alone; the reported issue shows why installations should check the resolved commit after checkout.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p0momentum: steady1 platformsage 1610h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

09-20 12:53⭐ origin directly observedPlugin4Shell and NIST IR 8587, days apart: what actually authorizes an AI agent’s action?
docybo on r/artificial
—
09-20 12:53amplified on r/artificial 👑reddit.post.1wlgc6q
docybo
peak 7 · 11 comments · 99% of case engagement
09-20 13:20our radar first saw it · +0.5hdiscovery anchor: reddit.post.1wlgc6q—

Evidence (1) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟠 reddit ⭐Plugin4Shell and NIST IR 8587, days apart: what actually authorizes an AI agent’s action?
artificial
docybo711

Interpretation history

Decision trace