Trusted Enough to Run: a GitHub issue broke three vendors' agent Actions
Trusted Enough to Run is a Black Hat USA 2026 talk showing how one GitHub issue reached the official agent Actions of three AI vendors.
· Black Hat · Research by Elad Meged (Novee Security)

Black Hat published Elad Meged's talk on 22 November 2026, showing how an attacker's GitHub issue defeated the official Claude Code, Gemini CLI and Codex automations. Anthropic, Google and OpenAI fixed all three before the talk.
01What happened
Black Hat uploaded the recording of Trusted Enough to Run on 22 November 2026, more than three months after Elad Meged of Novee Security gave the talk at Black Hat USA on 5 August 2026. Meged went after the agent GitHub Actions that Anthropic, Google and OpenAI publish themselves, instead of a company's own automation. Novee published the written research on 6 August 2026.
02How it works
Prefix matching is the common weakness: all three workflows decided what an agent may run by matching the start of a command or a tool name, then handed the result to a component that read it differently. Novee reports that Claude Code Action's validator ignored single-quoted text, so a payload inside git push --receive-pack ran anyway, and that run-gemini-cli registered the full shell tool because its coreTools allowlist was matched by prefix with no runtime check. The Codex issue deduplicator ran two passes in one shared workspace, which let the untrusted first pass write an AGENTS.md that the second pass loaded as trusted instructions. Exfiltration used read-only channels, and Novee describes leaking an API key one character at a time through download counts on 64 Hugging Face repositories.
03Who is affected
Google's advisory covers @google/gemini-cli below 0.39.1 and the run-gemini-cli action below 0.1.22, and Anthropic's covers @anthropic-ai/claude-code from 0.2.54 up to 2.1.163. OpenAI's codex-action received no CVE, because the flaw sat in the issue-deduplicator workflow rather than in a released version. Repositories that pin an old action tag or commit still run the vulnerable code.
04What to do
Update pinned action versions to run-gemini-cli 0.1.22 or later and @anthropic-ai/claude-code 2.1.163 or later, then check any workflow that runs an agent twice in one job on a shared checkout. Google's fix requires CI workflows to set folder trust explicitly, so set GEMINI_TRUST_WORKSPACE only where the input is trusted. Treat AGENTS.md and other agent instruction files inside a workflow as attacker-controlled input.
Questions people ask
- Which versions of the official agent GitHub Actions are fixed?
- Google patched Gemini CLI in 0.39.1 and the run-gemini-cli action in 0.1.22, and Anthropic patched @anthropic-ai/claude-code in 2.1.163. OpenAI changed the codex-action issue-deduplicator workflow rather than shipping a version fix, so no CVE or fixed release exists for that chain. Repositories pinning an older action tag or commit still run the vulnerable code until the pin moves.
- Is the research in Trusted Enough to Run new, or were the flaws already public?
- Novee Security published the written research on 6 August 2026, and the two vendor advisories came earlier, on 24 April 2026 for Gemini CLI and 13 June 2026 for Claude Code. What changed on 22 November 2026 is that Black Hat released the recording, which walks through the three exploit chains and the fixes. No new unpatched flaw is disclosed in the talk.
- How do I check whether my own agent workflow has the same weakness?
- Look for the two patterns Meged exploited. First, any allowlist that matches a command or a tool by prefix, since a validator and the program that finally runs the command can read the same string differently. Second, any job that runs an agent more than once on one checkout, because the untrusted pass can write instruction files such as AGENTS.md that a later privileged pass trusts.
Sources 4 links, all fetched
- 1youtube.comBlack Hat Talk
- 2novee.securityNovee Write-Up
- 3github.comClaude Code Advisory
- 4github.comGemini CLI Advisory