Skip to content
  • Home
  • Cyber Map
  • About Us – Contact
  • Disclaimer
  • Terms and Rules
  • Privacy Policy
Cyber Web Spider Blog – News

Cyber Web Spider Blog – News

Globe Threat Map provides a real-time, interactive 3D visualization of global cyber threats. Monitor DDoS attacks, malware, and hacking attempts with geo-located arcs on a rotating globe. Stay informed with live logs and archive stats.

  • Home
  • Cyber Map
  • Cyber Security News
  • Security Week News
  • The Hacker News
  • How To?
  • Toggle search form
Security Flaw in AI Coding Agents Allows Malicious Plugin Swaps

Security Flaw in AI Coding Agents Allows Malicious Plugin Swaps

Posted on September 18, 2026 By CWS

A significant security vulnerability has been uncovered in four popular AI coding agents, allowing malicious actors to substitute legitimate plugins with harmful ones. This issue persists even when an agent appears to lock a plugin to a specific, reviewed version, as reported by cybersecurity firm Air Security on Thursday.

Details of the Vulnerability

Air Security identified that the agents affected include Anthropic’s Claude Code, OpenAI’s Codex, GitHub’s Copilot, and Google’s Gemini CLI. While Claude Code has been patched in version 2.1.179 and Codex in version 0.146.0, GitHub Copilot remains without a fix. Google has decided not to address the issue in the Gemini CLI, as it plans to retire the software.

The vulnerability arises when these agents, which install software add-ons known as plugins from online marketplaces, do not verify that the installed code precisely matches the intended version. Although a marketplace ostensibly locks each plugin to a specific version using a commit hash, agents fail to check the authenticity of the fetched code.

Exploit Mechanism and Impact

The exploit involves manipulating a named line of code or branch within a repository. If a repository owner creates a branch mimicking a commit hash, they can redirect the agent to install different code while maintaining that it is the locked version. This is particularly damaging as plugins operate with the same access level as the user, potentially compromising files, credentials, and systems.

While GitHub restricts branch names that resemble commit hashes, reducing exposure to this trick, other platforms like Bitbucket do not have such limitations. Consequently, plugins sourced from these platforms remain vulnerable. A similar issue affects the Gemini CLI, where a branch named FETCH_HEAD can trick the installer, as GitHub does not block this naming convention.

Protective Measures and Current Status

To mitigate such risks, users are advised to update their agents to the latest versions where fixes are available. Anthropic and OpenAI have addressed the flaw with updates to their respective agents, while GitHub Copilot users currently have no patch available. Google recommends transitioning from Gemini CLI to its successor, Antigravity, which is purportedly safe from this exploit.

AIR Security conducted a successful test attack on all four agents in May and alerted the vendors in June. However, no Common Vulnerabilities and Exposures (CVE) identifier has been assigned, and the vendors have yet to release official security advisories.

The vulnerability underscores the importance of robust security checks within AI coding environments, as previously demonstrated in a related study where a fake skill bypassed security scanners, affecting numerous agents. With evolving threats, maintaining up-to-date software and adhering to security best practices are crucial defensive strategies.

The Hacker News Tags:AI coding, Claude Code, Gemini CLI, Git vulnerability, GitHub, OpenAI Codex, plugin swap, security flaw, Software Security

Post navigation

Previous Post: Settra Ransomware Threatens Windows Networks
Next Post: AI Agents Lead New Wave of Ransomware Threats

Related Posts

Claude Opus 4.6 Uncovers 500+ Severe Flaws in Open-Source Software Claude Opus 4.6 Uncovers 500+ Severe Flaws in Open-Source Software The Hacker News
Critical Flaw in MCP Protocol Poses Major AI Supply Chain Risk Critical Flaw in MCP Protocol Poses Major AI Supply Chain Risk The Hacker News
Ousaban Trojan Targets Iberian Banks with PDF Traps Ousaban Trojan Targets Iberian Banks with PDF Traps The Hacker News
Malicious npm Packages Exploit Web3 and AI Platforms Malicious npm Packages Exploit Web3 and AI Platforms The Hacker News
SolarWinds Releases Hotfix for Critical CVE-2025-26399 Remote Code Execution Flaw SolarWinds Releases Hotfix for Critical CVE-2025-26399 Remote Code Execution Flaw The Hacker News
Meta Starts Showing Ads on WhatsApp After 6-Year Delay From 2018 Announcement Meta Starts Showing Ads on WhatsApp After 6-Year Delay From 2018 Announcement The Hacker News

Categories

  • Cyber Security News
  • How To?
  • Security Week News
  • The Hacker News

Recent Posts

  • OpenAI Boosts Security with New Vulnerability Sprint
  • Cyberattack Targets Over 100 European Supermarket Fridges
  • Securely Unlock BYDFi’s 8,100 USDT Welcome Rewards
  • Critical Flaw in CryptoPayment Plugin Endangers Wallet Security
  • ARTEX AI Exploit Leads to WorkOS Security Breach

Pages

  • About Us – Contact
  • Disclaimer
  • Privacy Policy
  • Terms and Rules

Archives

  • November 2026
  • October 2026
  • September 2026
  • August 2026
  • July 2026
  • June 2026
  • May 2026
  • April 2026
  • March 2026
  • February 2026
  • January 2026
  • December 2025
  • November 2025
  • October 2025
  • September 2025
  • August 2025
  • July 2025
  • June 2025
  • May 2025

Recent Posts

  • OpenAI Boosts Security with New Vulnerability Sprint
  • Cyberattack Targets Over 100 European Supermarket Fridges
  • Securely Unlock BYDFi’s 8,100 USDT Welcome Rewards
  • Critical Flaw in CryptoPayment Plugin Endangers Wallet Security
  • ARTEX AI Exploit Leads to WorkOS Security Breach

Pages

  • About Us – Contact
  • Disclaimer
  • Privacy Policy
  • Terms and Rules

Categories

  • Cyber Security News
  • How To?
  • Security Week News
  • The Hacker News

Copyright © 2026 Cyber Web Spider Blog – News.

Powered by PressBook Masonry Dark