Return to Threats

Plugin4Shell Lets Repository Owners Swap Pinned Plugin Code Across Four AI Coding Agents

thehackernews.com 2026-09-18 AI supply chain High

What Happened

A flaw in four widely used AI coding agents lets someone who controls a plugin's code repository swap the plugin an agent installs for a malicious one, even when the agent locked that plugin to a specific reviewed version, security firm Air Security said on Thursday. The firm said Anthropic has patched the flaw in Claude Code 2.1.179 and OpenAI in Codex 0.146.0, that GitHub Copilot has no

Why It Matters

Report facts: The article describes a flaw in four popular AI coding agents where a plugin locked to a specific reviewed version can still be silently swapped for malicious code by someone controlling the plugin’s code repository; Anthropic and OpenAI have reportedly patched the issue in specific versions of Claude Code and Codex, while GitHub Copilot is noted as not affected. This is fundamentally a software supply chain issue in the plugin ecosystem for AI agents, not a direct model or prompt-level problem. RealGround analysis: The incident shows that pinning plugin versions is insufficient if repository integrity and distribution paths are not secured, meaning AI agents can inherit traditional supply chain risks via their extensions. Organizations using AI coding agents should treat plugins like third‑party software components, applying SBOM-style tracking, repository integrity controls, and continuous security testing of agent-plugin interactions.

Healthcare Fintech SaaS SMB AI startups

RealGround Analysis

This signal maps to AI supply chain. Organizations using AI agents, LLM APIs, SaaS integrations, or sensitive data workflows should review whether this class of issue could create unauthorized tool execution, data leakage, weak approval gates, or unmanaged supply-chain exposure.

Recommended Actions

  • Restrict AI agent tool permissions and production write paths.
  • Review sensitive data access across prompts, logs, embeddings, memory, and SaaS integrations.
  • Add human approval workflows for high-impact or state-changing actions.
  • Run prompt injection and indirect prompt injection tests against affected workflows.
  • Document the owner, control gap, and remediation deadline for this risk class.

Source

https://thehackernews.com/2026/09/plugin4shell-lets-repository-owners.html

Talk to AI CISO