Black Hat USA 2026 | Trusted Enough to Run: Breaking AI Agents in Official Workflows

skim AI Analysis | Black Hat

Black Hat's Black Hat USA 2026 | Trusted Enough to Run: Breaking AI Agents in Official Workflows: skim's analysis identifies 9 key moments, with 1 potential conflict of interest flagged. Elad Meged of Novee Security demonstrates how official autonomous AI coding agents from Anthropic, Google, and OpenAI suffer from critical trust-handoff vulnerabilities in their execution harnesses.

Category: Tech. Format: Educational. YouTube video analyzed by skim.

Summary

Elad Meged of Novee Security demonstrates how official autonomous AI coding agents from Anthropic, Google, and OpenAI suffer from critical trust-handoff vulnerabilities in their execution harnesses. By exploiting hidden assumptions in default CI/CD workflows, attackers can turn routine GitHub issues into remote code execution and secret exfiltration.

skim AI Analysis

Credibility assessment: Primary Bug Disclosure. Elad Meged presents original vulnerability research backed by source code snippets, live exploitation demos, CVE references, and confirmed vendor patches from Anthropic, Google, and OpenAI.

Bias assessment: Offensive Security Lens. The presentation adopts an attacker-oriented perspective focused on breaking security boundaries, though it fairly credits vendor engineering efforts and responsible disclosure responses.

Originality: 95% — Novel Exploit Chains. Demonstrates previously undisclosed zero-day exploit chains in major AI coding harnesses, including a clever Hugging Face download-counter side-channel exfiltration technique.

Depth: 94% — Deep Code Auditing. Moves beyond superficial prompt injection talk to dissect specific TypeScript validation logic, Linux procfs inheritance, and multi-stage CI/CD state persistence across three architectures.

Key Points (9)

1. Elad Meged defines the agent harness boundary

Timestamp: 00:01:17 to 00:04:19

Autonomous AI agents running in CI/CD pipelines process untrusted text from issues and pull requests by design, making prompt injection unavoidable at the input layer. Because the model only generates intent, the real security boundary is the harness code that manages tools, permissions, and execution. When organizations deploy an agent, they blindly inherit thousands of hidden trust assumptions baked into that harness.

Significance (High): Reframes AI security from an unsolvable model-alignment problem to an auditable software-engineering problem inside the execution harness.

Sources in support: Elad Meged (Founding Team and Security Researcher, Novee Security)

2. Claude Code validator strips single-quoted strings

Timestamp: 00:04:54 to 00:08:26

Anthropic's official GitHub Action for Claude Code includes a default tag mode that pre-approves file operations and wildcard Git bash commands. To prevent command injection, Anthropic built a 23-check security guard pipeline that inspects shell metacharacters, substitutions, and pipes. However, to prevent false positives on grep patterns and commit messages, the validator strips single-quoted content before checking for malicious operators.

Significance (Medium): Shows how developer efforts to reduce false positives in complex command validators create blind spots that attackers can systematically abuse.

Sources in support: Elad Meged (Founding Team and Security Researcher, Novee Security)

3. Git push receive-pack achieves remote execution

Timestamp: 00:08:34 to 00:12:29

While Claude Code's validator treats the `--receive-pack` flag on `git push` as a harmless string, Git actually executes that string as a program path. By passing `--receive-pack='sh -c ...'` targeting the local `.` repository, an attacker via a GitHub issue triggers arbitrary local shell execution while the validator sees only an empty quote. Following disclosure, Anthropic awarded a bounty and removed the wildcard bash tools.

Significance (High): Demonstrates a full remote code execution chain in Anthropic's default GitHub Action config triggered simply by tagging Claude on a malicious issue.

Sources in support: Elad Meged (Founding Team and Security Researcher, Novee Security)

4. Unrestricted read-only tools leak runner secrets

Timestamp: 00:12:30 to 00:16:49

After Anthropic removed arbitrary bash access, Meged audited the binary's hardcoded read-only command allowlist, which auto-approves utilities like `cat`, `tac`, and `rev` without prompts. Because Anthropic forgot to apply workspace path restrictions to `tac` and `rev`, the agent could read arbitrary files across the runner. By inserting empty double quotes into `/proc/self/""environ` to bypass path blocks, Meged exposed all runner secrets in the GitHub Action step summary.

Significance (High): Proves that hardcoded 'read-only' assumptions inside an agent binary can bypass user configurations and lead to full secret disclosure.

Sources in support: Elad Meged (Founding Team and Security Researcher, Novee Security)

5. Exfiltrating keys via Hugging Face counters

Timestamp: 00:17:18 to 00:21:18

Even after Anthropic disabled action output summaries, Claude Code still contained a hardcoded list of 88 pre-approved domains for its `WebFetch` GET tool, including `huggingface.co`. Because Hugging Face increments a public download counter whenever `config.json` is requested via HTTP GET, Meged created 64 model repositories representing possible secret characters. By prompting the agent to fetch the repo matching each character of the secret, he exfiltrated the API key through the public download counters.

Significance (High): Illustrates how a strictly read-only HTTP GET request to a trusted domain can be weaponized as a covert write channel for data exfiltration.

Sources in support: Elad Meged (Founding Team and Security Researcher, Novee Security)

6. Gemini CLI leaks secrets via parent procfs

Timestamp: 00:21:30 to 00:24:26

Google's `run-gemini-cli` GitHub Action uses automated YOLO mode to deduplicate issues on its own 100,000-star repository. To protect runner secrets, a parent process strips sensitive tokens from the environment before spawning the child agent process. However, because both processes share the same Linux user ID and PID namespace, the child process can simply read `/proc/$PPID/environ` to recover all stripped secrets from its parent.

Significance (High): Exposes a fundamental flaw in user-space environment variable sanitization when child processes are not isolated in separate OS namespaces.

Sources in support: Elad Meged (Founding Team and Security Researcher, Novee Security)

7. Setup-only allowlist gives CVSS 10 in Gemini CLI

Timestamp: 00:24:27 to 00:26:53

To prevent arbitrary code execution, Gemini CLI's issue deduplicator restricted `run_shell_command` in its config to only `echo` and `gh issue view`. However, Meged discovered that Gemini CLI only checked those command prefixes during initial tool registration and failed to store or enforce the restriction at runtime. Combining arbitrary shell execution with parent procfs secret recovery yielded a CVSS 10 vulnerability capable of pushing malicious code to two million monthly downstream installs, prompting Google to redesign its automation trust model.

Significance (High): Demonstrates how checking security constraints at registration time rather than execution time compromises the entire software supply chain.

Sources in support: Elad Meged (Founding Team and Security Researcher, Novee Security)

8. Codex poisoned via writable AGENTS.md file

Timestamp: 00:26:56 to 00:32:10

OpenAI's Codex issue deduplicator runs a two-pass workflow in a single shared workspace: an unprivileged first pass processes the untrusted issue body, followed by a deterministic output check and a privileged second pass holding the GitHub token. While OpenAI's sandbox protected `.git` and `.codex` directories from modification, it left `AGENTS.md` writable, which Codex automatically loads as trusted instructions on every run. An attacker could use the first pass to write malicious instructions into `AGENTS.md`, hijacking the privileged second pass to exfiltrate the GitHub token.

Significance (High): Reveals how shared workspace state in multi-stage agent pipelines allows attackers to turn temporary influence into persistent instruction poisoning.

Sources in support: Elad Meged (Founding Team and Security Researcher, Novee Security)

9. A three-step methodology for auditing AI agents

Timestamp: 00:32:12 to 00:35:05

Across Anthropic, Google, and OpenAI, the vulnerabilities share one structural pattern: one component marks state as safe, and a downstream component consumes it with greater authority. To audit any custom or vendor agent harness, security teams must first list every state labeled safe, read-only, sanitized, or pre-approved. Next, they must trace which downstream component acts on that label and inspect the handoff by reading the actual binary defaults rather than the documentation.

Significance (High): Provides security engineers with a repeatable framework to find trust-handoff bugs in both third-party and custom-built AI agent harnesses.

Sources in support: Elad Meged (Founding Team and Security Researcher, Novee Security)

Key Sources

  • Elad Meged — Founding Team and Security Researcher, Novee Security

Potential Conflicts of Interest (1)

Novee Security Commercial Interest (Low severity)

Type: Commercial

Elad Meged is a founding researcher at Novee Security, a company that builds offensive AI penetration testing agents.

Significance: Highlighting catastrophic flaws in standard vendor harnesses reinforces the commercial demand for specialized AI pentesting tools like those built by Novee Security.

This analysis was generated by skim (skim.plus), an AI-powered content analysis platform by Credible AI. Scores and classifications represent the platform's AI-generated assessment and should be considered alongside other sources.