Skip to content

AnthropicOpenAISafety and security

Plugin4Shell flaw found in four AI coding agents

Plugin4Shell, disclosed by AIR Security on September 17, lets malicious code replace pinned plugins in four coding agents. Anthropic and OpenAI shipped fixes.

Story date On the site Updated: Türkçe

CorrectedThis story was corrected after publication (Oct. 9, 2026). Details

3 sourcesJump to sources

Sources: AIR Security, The Hacker News, Google Developers Blog

In this story
  1. Sources3
  2. Corrections and updates1
  3. About this story
  4. On the same topic3

On September 17, AIR Security researchers Or Nevo, Dor Granat and Niv Hoffman published a flaw they named Plugin4Shell. The same flaw sits in four coding agents at once: Claude Code, OpenAI Codex, GitHub Copilot and Gemini CLI.

The researchers call it “the first supply chain vulnerability of the AI agent ecosystem.”

Plugin marketplaces pin every plugin to a specific Git commit hash for safety. The agents fetch that hash but never verify that the code they received is actually that commit.

An attacker creates a branch named with the same 40-character hash and makes it the default. Git prefers the branch, and the malicious code installs with a “successfully installed” message.

What makes it zero-click is auto-update. Claude Code and Codex update installed plugins in the background on their own; the user does not have to do anything.

AIR’s warning: “Doing the right thing does not protect you.” Installing a reviewed, pinned plugin from a trusted marketplace is enough to be exposed.

The four agents are not in the same place. Anthropic and OpenAI shipped fixes. GitHub Copilot has no patch; GitHub blocks hash-like branch names on its own platform, but Copilot can also install plugins from other hosts, and Bitbucket and self-hosted git servers do not have that protection.

Google has retired Gemini CLI and will not patch it, pointing users to Antigravity instead.

AIR found the flaw in May, reported it to the four vendors in June and published on September 17. There is no evidence of exploitation in the wild, and no CVE has been assigned.

The skeptical reading: according to The Hacker News, background auto-update is the default only on the agents’ built-in GitHub-hosted marketplaces, and GitHub does not allow hash-like branch names. So the zero-click scenario applies to third-party marketplaces.

Sources

3 sources

Corrections and updates

1 note
  1. Correction

    The version first posted on Instagram said GitLab and Bitbucket lack the protection against hash-like branch names. GitLab blocks such names too; according to AIR, the gap is on Bitbucket and self-hosted git servers, and the text has been corrected.

About this story

Written by
· JARRUS
Story date
On the site
since Sept. 20, 2026
Instagram
@jarrus.tech posted this story on Sept. 20, 2026.
Report an error
Spotted an error in this story? [email protected] · Instagram

On the same topic

  1. 9 sources

    Turkish mathematician Levent Alpöge says he proved the Riemann Hypothesis with Claude

  2. 9 sources

    Anthropic goes public, shares close first day up 17%

  3. 3 sources

    Meta’s AI agent Muse mixed up different people’s conversations and surfaced private data in internal testing, report says