Black Hat's Black Hat Asia 2026 | Bad Vibes - Pwning Coding Agents 70 Times With The Same Bugs: skim's analysis identifies 10 key moments. Security researchers Nir Ashkenazi and Philip Tsukerman detail how they uncovered over 81 vulnerabilities across major AI coding agents including GitHub Copilot, Gemini CLI, Claude Code, OpenAI Codex, and Cursor.
Category: Tech. Format: Educational. YouTube video analyzed by skim.
skim AI Analysis
Credibility assessment: Primary Vulnerability Research. Researchers Nir Ashkenazi and Philip Tsukerman present original vulnerability disclosures backed by live exploit demos, source code analysis, and over 81 vendor bug reports resulting in 18 CVEs and vendor patches.
Bias assessment: Offensive Security Lens. The presentation maintains a technical, objective focus on architectural flaws across multiple vendors without favoring any specific product, though it naturally views design trade-offs from an attacker and researcher perspective.
Originality: 94% — Novel Multi-Vendor Exploits. The talk reveals over 81 original vulnerability reports across major AI coding agents, demonstrating how classic OS, parser, and filesystem quirks systematically break modern agentic security boundaries.
Depth: 92% — Deep Root-Cause Analysis. Rather than listing surface bugs, the speakers dissect abstract syntax trees, NTFS streams, macOS Seatbelt policies, and TOCTOU race conditions to show why identical design flaws recur across different codebases.
Key Points (10)
1. Nir Ashkenazi maps the agentic kill chain to RCE
Timestamp: 00:00:20 to 00:03:01
Nir Ashkenazi explains that exploiting an AI coding agent requires three steps: model access, guardrail bypass, and impact escalation. Assuming any chat prompt action can be triggered via prompt injection, researchers focused on turning injected prompts into unapproved remote code execution.
Significance (High): Establishes a clear threat model showing that prompt injection is not merely a text generation issue, but a direct gateway to full machine compromise if tool execution boundaries fail.
Sources in support: Nir Ashkenazi (Vulnerability Researcher, Palo Alto Networks / CyberArk)
2. Bypassing terminal command allow-lists
Timestamp: 00:03:02 to 00:05:22
Coding agents rely on built-in or user-generated allow-lists to run terminal commands without prompting the user. Nir Ashkenazi shows that attackers can bypass these checks using command chaining, command substitution, PowerShell syntax, and macOS anonymous bash functions to run arbitrary code.
Significance (High): Reveals that naive string matching on terminal commands fails to contain shell interpreters, allowing attackers to piggyback malicious payloads onto benign pre-approved commands like dir.
Sources in support: Nir Ashkenazi (Vulnerability Researcher, Palo Alto Networks / CyberArk)
3. Defeating Gemini CLI's PowerShell AST parser
Timestamp: 00:05:22 to 00:07:39
Gemini CLI attempted to prevent command injection by parsing commands into a PowerShell Abstract Syntax Tree and verifying command nodes against an allow-list. After reporting an initial CMD fallback bug, Nir Ashkenazi bypassed the patched AST check using PowerShell .NET script block methods.
Significance (High): Demonstrates that even sophisticated AST-level command validation fails when the underlying shell supports full programming language constructs like .NET method invocations that do not register as command nodes.
Sources in support: Nir Ashkenazi (Vulnerability Researcher, Palo Alto Networks / CyberArk)
4. Nir Ashkenazi exposes path equivalence flaws
Timestamp: 00:07:39 to 00:11:44
Because coding agents must edit project files, they restrict writes to sensitive workspace files like .gitconfig and mcp.json. However, Nir Ashkenazi shows these blocks are easily bypassed on Windows and macOS using case-insensitive file names, NTFS 8.3 short names, and NTFS alternate data streams.
Significance (High): Exposes a widespread Linux-centric assumption in security filters: exact string suffix matching collapses when deployed on case-insensitive or NTFS file systems, granting attackers silent configuration control.
Sources in support: Nir Ashkenazi (Vulnerability Researcher, Palo Alto Networks / CyberArk)
5. Indirect config overwrites via pre-approved tools
Timestamp: 00:11:44 to 00:14:10
Beyond direct file-write tools, pre-approved terminal commands like echo, sed, move, and copy lack filesystem path restrictions in modes like Claude Code's allow-edits mode. Attackers can rename protected folders like .claude, edit the files inside, and rename them back, or use CMD glob patterns.
Significance (High): Highlights a critical policy disconnect: enforcing strict path blocklists on dedicated file-editing tools is useless if pre-approved shell utilities can manipulate the same directories unrestricted.
Sources in support: Nir Ashkenazi (Vulnerability Researcher, Palo Alto Networks / CyberArk)
6. Philip Tsukerman on OS sandboxing limits
Timestamp: 00:14:10 to 00:18:19
Philip Tsukerman explains that because command-line parsing and file path checks cannot catch all malicious behavior, major coding agents introduced OS-level sandboxes for terminal execution. However, apart from OpenAI Codex, these sandboxes only restrict the command execution tool, turning previous allow-list and file bugs into sandbox escapes.
Significance (Medium): Reframes the security architecture of coding agents: adding an OS sandbox around terminal commands shifts the threat model, making un-sandboxed file manipulation tools and host allow-lists high-value escape vectors.
Sources in support: Philip Tsukerman (Vulnerability Research Team Lead, Palo Alto Networks / CyberArk)
7. Escaping macOS Seatbelt and symlink policy checks
Timestamp: 00:18:19 to 00:23:34
On macOS, coding agents use Seatbelt kernel policies to allow workspace writes while denying writes to sensitive config paths. Philip Tsukerman demonstrates two escapes: writing settings.json into an unrestricted folder before renaming the directory, and symlinking the temp directory to root so dynamic sandbox reconfiguration grants write access everywhere.
Significance (High): Proves that dynamic sandbox policy generation can be turned against itself; when an agent resolves symlinks to build OS allow rules, an attacker-controlled symlink can trick the agent into whitelisting the entire root filesystem.
Sources in support: Philip Tsukerman (Vulnerability Research Team Lead, Palo Alto Networks / CyberArk)
8. TOCTOU race conditions and non-existent symlinks
Timestamp: 00:23:34 to 00:27:31
While a sandboxed process cannot write to symlink targets outside the workspace, the un-sandboxed agent file tool can. Philip Tsukerman shows how vendors' symlink resolution checks were bypassed via a Time-of-Check to Time-of-Use race condition flipping between a regular file and a symlink, and by writing new files inside a symlinked directory.
Significance (High): Illustrates classic systems-programming pitfalls in modern AI tools: checking path strings rather than file handles invites race conditions, and fallback error handling on non-existent files completely bypasses symlink protections.
Sources in support: Philip Tsukerman (Vulnerability Research Team Lead, Palo Alto Networks / CyberArk)
9. Over 81 bug reports and defensive takeaways
Timestamp: 00:27:31 to 00:30:36
Summarizing their research across 10 coding agents and five sandboxes, Philip Tsukerman notes they filed over 81 vulnerability reports yielding about 18 CVEs and substantial bug bounties from vendors like Google, OpenAI, Anthropic, and Cursor. He warns that CVE counts do not reflect security and advises running coding agents inside isolated VMs or containers.
Significance (High): Provides actionable guidance for developers and security teams: because every tested coding agent and sandbox suffered from identical systemic flaws, users must rely on external VM or container isolation rather than built-in agent guardrails.
Sources in support: Philip Tsukerman (Vulnerability Research Team Lead, Palo Alto Networks / CyberArk)
10. Why WSL fails as a security boundary
Timestamp: 00:30:55 to 00:33:44
During the audience Q&A, an attendee asks about OpenCore and whether running coding agents inside Windows Subsystem for Linux (WSL) provides safe VM isolation. Philip Tsukerman and Nir Ashkenazi explain that OpenCore is too saturated with daily CVEs, and warn that WSL shares host user filesystem access, allowing a Linux escape to write to the Windows startup folder for persistent RCE.
Significance (Medium): Corrects a common developer misconception that WSL acts as a secure sandbox, showing that default host-mount permissions allow compromised Linux agents to trivially infect the underlying Windows host.
Sources in support: Philip Tsukerman (Vulnerability Research Team Lead, Palo Alto Networks / CyberArk), Nir Ashkenazi (Vulnerability Researcher, Palo Alto Networks / CyberArk)
Neutral sources: YouTube: Black Hat (Conference Channel and Audience Q&A Participants)
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.