← Lab /AI/ML

Common design flaws let attackers steal API keys and fully compromise host from agentic offensive tools

Most widely used agentic offensive-security systems contain design flaws that enable key exfiltration, persistence, and sandbox escape

AI/ML arXiv 23 Jun 2026 Measurement Prototype evidence Threat model

Published as “Red-Teaming the Agentic Red-Team”

Why it matters

Operator machines can be compromised by malicious targets even when agents are sandboxed, highlighting urgent need for hardened architectures in deployed offensive-security agents.

Summary

The authors show that most widely used agentic offensive-security tools can be compromised by an adversary controlling the target, achieving near-deterministic remote code execution, API-key exfiltration, persistence, and host compromise even when the worker runs in a sandbox; they demonstrate this on 12 tools with a 97.8% success rate across six frontier LLMs, though failures occur when the LLM’s built-in guardrails block the initial task.

What they found 1

  1. Code execution is achieved in 97.8% of runs across the evaluated agents and LLMs.

    “On average, code execution is achieved in 97.8% of runs.”

Caveats 2

  • failed runs are not due to the agent refusing to execute the payload; rather, they stem from the LLM’s built-in safety guardrails preventing the initiation of the penetration testing task in the first place.
  • We exclude Artemis and nebula from the large-scale evaluation, as we are unable to faithfully reproduce their full functionality within the framework.

What’s new here 3

  • Introduces a prompt-injection-free manipulation technique (“agent-phishing”) that achieves RCE without explicit prompt injection.
  • Defines a full cyber kill chain specific to agentic offensive-security systems.
  • Provides a robust architectural design based on containment and least-privilege to mitigate the identified attack paths.

Threat model stated by the source

Adversarycontrols the target system T that the agent is attacking
Capabilityarbitrary manipulation of T; no prior knowledge of the user or deployed agentic system
AssumesThe attacker’s goal is to compromise the operator’s machine uM; The agentic-red-team is deployed with default configuration and strongest optional security mechanisms enabled