Plugin4Shell is a reported zero click RCE flaw in AI coding agent plugin updates: a previously trusted plugin can be swapped for malicious code and run automatically. Anthropic’s Claude Code 2.1.179 and OpenAI Codex 0.146.0 were reported as fixed; the affected Gemini CLI path was described as deprecated, while Copil...
Published byEdited with GPT-5.6 TerraImages generated with GPT Image 2
Research answer

Create a landscape editorial hero image for this Studio Global article: What is the “Plugin4Shell” zero-click remote-code-execution vulnerability disclosed by Air in major AI coding agents, how does it bypass SHA. Article summary: Plugin4Shell is Air Security’s name for a reported zero-click, high-severity remote-code-execution flaw in AI coding agents’ plugin-update paths. It is not primarily a model vulnerability: it is a software-supply-chain p. Topic tags: general, general web, user generated, documentation. Style: premium digital editorial illustration, source-backed research mood, clean composition, high detail, modern web publication hero. Use reference image context only for broad subject, composition, and topical grounding; do not copy the exact image. Avoid: logos, brand marks, copyrighted characters, real person likenesses, fake screenshots, UI text, readable text, watermarks,
Plugin4Shell is the name Air Security gave to a reported high-severity, zero-click remote-code-execution vulnerability in plugin handling by major AI coding agents. It is a software supply-chain issue rather than a flaw in an underlying language model: an attacker can turn a plugin a developer already trusts into a route to run malicious code on that developer’s machine. 2
3
Plugin marketplaces commonly identify a plugin revision with a Git commit SHA. In principle, pinning to a specific commit should make the expected code immutable: the agent should retrieve that precise revision and verify that the result matches the expected SHA.
Air’s report says the affected pattern broke down after checkout. The agent checked out the commit specified by the marketplace but did not verify that the files actually obtained corresponded to that pinned commit. An attacker able to control the plugin repository could cause the checkout to resolve to malicious code while the agent still treated the plugin as pinned and trusted. 2
That distinction matters. A hash is useful only when the application independently checks the artifact it received against the immutable value it intended to fetch. Merely carrying a pin in marketplace metadata does not protect the user if the post-checkout verification step is missing.
The developer does not need to approve a new installation at the time of compromise. Once a legitimate plugin is already installed, an automatic update can retrieve and execute the attacker-controlled replacement without a new prompt, click, or reinstall. 2
6
The initial foothold is therefore upstream of the developer: control of a trusted plugin repository or related publishing path. This is why the incident is best understood as a supply-chain risk, not as a case of a user deliberately installing an obviously unsafe extension.
Remote code execution in a development environment can grant the attacker the same effective reach as the user and agent process. According to reporting on the disclosure, that can include company systems and data accessible to the employee running the agent. 3
4
In practice, the exposure can include local source files, repositories, build tooling, environment variables, and credentials available to the developer session. If those credentials permit access to cloud accounts, source-control services, CI/CD systems, or connected tools, a compromised workstation can become a stepping stone to broader organizational access. This impact depends on the privileges and secrets actually exposed to the agent and user account. 3
4
Air reported Plugin4Shell across Claude Code, OpenAI Codex, Copilot, and Gemini CLI. 2
Because this is a fast-moving disclosure and vendor status can change, teams should verify the version and advisories for the specific agent they operate before treating any installation as remediated.
Updating to a version reported as fixed is the first step. The wider lesson is to treat plugins for coding agents as executable third-party software with access to a privileged development environment.
Recommended controls include:
Plugin4Shell shows how AI-agent deployments can amplify familiar security problems. Coding agents increasingly retrieve plugins and operate alongside repositories, cloud tooling, tokens, and deployment workflows. A compromise in an update path can therefore become a route to credential theft or source-code and infrastructure access. 3
4
It also complements, rather than replaces, concerns about prompt injection. A malicious repository, issue, document, or tool output may try to persuade an agent to take an unsafe action. Plugin4Shell is different: the reported update-path weakness could execute malicious code without waiting for a fresh instruction or user approval. Both risks become more serious when agents can use tools and hold meaningful permissions.
The security takeaway is straightforward: manage an AI coding agent as a privileged automation endpoint. Update it promptly, constrain what it can install and access, and verify the exact code that enters the developer environment.
Studio Global AI
This page includes a source-backed answer you can continue inside Studio Global.
Plugin4Shell is a reported zero click RCE flaw in AI coding agent plugin updates: a previously trusted plugin can be swapped for malicious code and run automatically.
Plugin4Shell is a reported zero click RCE flaw in AI coding agent plugin updates: a previously trusted plugin can be swapped for malicious code and run automatically. Anthropic’s Claude Code 2.1.179 and OpenAI Codex 0.146.0 were reported as fixed; the affected Gemini CLI path was described as deprecated, while Copilot’s exposure and remediation remain contested in public reporting.
The practical response is to update affected agents, restrict automatic plugin updates, allowlist approved immutable versions, and reduce the secrets and system access available to agent processes.