THE PERMISSION [LAYER]

AI agent incident

Plugin4Shell let plugin repository owners swap pinned code in four coding agents

Reported · 1 source

What happened

Air Security disclosed a flaw it called Plugin4Shell that lets the owner of a plugin repository replace pinned plugin code with malicious code in Claude Code, Codex, GitHub Copilot and the Gemini CLI from Google. Anthropic and OpenAI had fixed it at the time of the report, and GitHub Copilot reportedly had not.

Why it matters

Version pinning is the control most teams assume protects them from a plugin author turning hostile. Here the pin pointed at content the author could still change underneath it.

New incidents by email

Get incidents like this one in your inbox

New AI agent incidents are covered in the briefing, with what to check on the agents you already run. At least once a week, free.

You confirm by email. Unsubscribe in one click.

Sources

  1. The Hacker News Plugin4Shell Lets Repository Owners Swap Pinned Plugin Code Across Four AI Coding Agents

Background reading

Agent plugins and skills are a supply chain An explainer on the problem behind this incident.

Covered in the briefing

Issue #2: Three failure patterns in 90 AI agent incidents October 20, 2026

Cite or correct this record

“Plugin4Shell let plugin repository owners swap pinned code in four coding agents.” The Permission Layer AI Agent Incident Database, https://thepermissionlayer.com/incidents/plugin4shell-pinned-plugin-swap/. Database updated November 10, 2026.

Every record traces to the dated sources above. If something here is wrong or missing, email editor@thepermissionlayer.com and it gets fixed. See this record in the full list.

The Permission Layer

Get the next incident like this explained

When an AI agent breaks out, leaks data or runs up a bill, the briefing covers what happened and what to check on the agents you already run. At least once a week, five-minute read, free.

You confirm by email. Unsubscribe in one click.