Prompt Injection Flaws in AI Agent Harnesses Enabled Secret Theft and Repo Abuse
Emerging Technology Risk · 3 sources · Updated 3mo ago · First seen Jul 29, 2026

Research from Novee Security found that default AI agent harnesses from major vendors could be abused to exfiltrate secrets, bypass trust boundaries, and chain individually approved actions into harmful outcomes. Elad Meged reported multiple issues affecting Anthropic, Google, and OpenAI tooling, arguing that the root problem lies in architectural trust decisions, approval logic, and cross-stage handoffs rather than prompt injection alone. One Google Gemini CLI issue was tracked as GHSA-wpqr-6v78-jr5g with a CVSS 10.0 rating, while weaknesses were also identified in Anthropic's Claude Code Action and OpenAI's Codex CLI sandbox.
The findings showed how controls can fail when agent components such as tools, memory, prompts, and execution environments trust each other too broadly. Researchers said Google's agent could be pushed into a supply-chain-style attack that wrote to its own GitHub repository, illustrating how safe-looking steps can combine into exploitable workflows. Vendors have added mitigations and fixes, but the repeated pattern across products points to a broader industry problem for organizations deploying autonomous agents on untrusted input, especially where human review is limited or absent.


