Prompt Injection Flaws in AI Agent Harnesses Enabled Secret Theft and Repo Abuse
Emerging Technology Risk · 3 sources · Updated 4mo 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.
Why it matters
Impact assessment
Default or recommended AI agent harnesses from Anthropic, Google, and OpenAI were shown to permit secret exfiltration, trust-boundary bypass, and repository abuse when processing untrusted input. The affected population is organizations deploying autonomous or semi-autonomous agent workflows, especially CI/CD, code-assistant, document-ingestion, and multi-agent NLP pipelines where human review is limited.
Impact can include credential or secret disclosure, unauthorized repository modification, supply-chain compromise, and downstream operational and reputational damage. The exposure appears broad across agent architectures rather than isolated to one vendor, but the reporting cites research demonstrations and disclosed flaws rather than confirmed widespread in-the-wild exploitation.
Supporting details
- Affected vendors/products named in reporting:
- Anthropic Claude Code Action
- Google Gemini CLI
- OpenAI Codex CLI sandbox
- Affected use cases:
- CI workflows processing untrusted input
- Multi-stage agent workflows sharing workspace or memory
- Document-processing and financial NLP pipelines ingesting external content
- Business consequences described:
- Secret theft from agent pipelines
- Unauthorized writes to GitHub repositories
- Supply-chain-style abuse through trusted automation
- Cross-stage propagation of malicious context between agents
- Scope assessment:
- Cross-vendor pattern indicates an industry-wide architectural weakness in agent harness design
- Highest risk where agents consume attacker-controlled content and can access tools, memory, repositories, or publication channels
- Exploitation status:
- Researchers demonstrated exploit chains and repo-write abuse in lab or disclosure contexts
- No explicit confirmation in the provided sources of active mass exploitation in the wild


