Skip to content

AHA discovers production agent vulnerability concepts with an automated research loop, achieving 47.0% ASR on the held-out setAgent Hacks Agents: Autoresearch Discovers Vulnerabilities in Production Agents

Paper Tracker· arXiv:2607.11698· Xutao Mao, Rui Qian, Xiang Zheng, Cong Wang·Indexed by this site · 2026-10-03· Originally publishedSelected AttacksSelectedAttention42

Quick read

Attacks

Based on the paper PDF (generated by Gemini); refer to the original

AHA discovers production-grade agent vulnerability concepts through a falsifiable hypothesis loop, achieving an average ASR of 47.0% on held-out instances, surpassing the strongest baseline by 14.2 percentage points.

Threat modelBlack-box setting. The attacker's goal is to induce operations deemed harmful by the scenario judge (data leakage or unauthorized resource modification); the task context, attack goal, and the agent under test are known, public tool interfaces and exposed workspace state can be inspected, while model internal weights and safety logic are hidden; injection capabilities include direct multi-turn dialogue or indirect modification of tool responses and external artifacts.

Questions
Production-grade coding and operational agents have real system-destruction capabilities, but existing automated red-teaming only retains specific attack payloads, lacking causal explanations and enabling conditions, leading to reuse difficulties and inability to guide defensive fixes.
Methods
Proposes the AHA framework, which runs an automated research loop of hypothesis-attack-reflection in a sandbox through a researcher and four specialized sub-agents, consolidating repeatedly confirmed falsifiable vulnerability concepts into a concept graph, and reusing them in held-out tasks and defenses.
Experiments and results
Across 18 settings, 117 concepts were discovered, with an average held-out ASR of 47.0% (higher than the strongest baseline's 32.8%) and lower query overhead; concepts transfer across models (retaining 88% ASR) and compose for coordinated attacks, and enabling-condition patches reduce ASR by 41.11 percentage points.
Limitations and future work
Cross-scenario generalization is conditional, and transfer rates are lower when dependent on backend state; concept coordination only works in scenarios with recorded relations; the authors plan to extend to multi-agent systems and run continuously with version releases; evaluation covers 2 agent harnesses and 3 victim models.
Experimental setupMinimax-M2.7、Kimi-K2.6 et al. · AgentHazard、AgentDyn et al. · ASR、Discovery queries (Q) et al.
Evaluated models
Minimax-M2.7Kimi-K2.6Deepseek-V4-Pro
Benchmarks
AgentHazardAgentDynDTap
Metrics
ASRDiscovery queries (Q)is_breakeffective_breaktargeted_ASR
AI summaryand selection rationaleThe researchers propose Agent Hacks Agents (AHA), using a Karpathy-style automated research loop in which a researcher agent first submits falsifiable vulnerability hypotheses, then designs attacks and executes them for verification on production agents such as Claude Code and Codex, distilling repeatedly confirmed explanations into a vulnerability concept graph. Across 18 settings spanning three scenarios, three victim models, and two agents, 117 concepts were found, grouped into eight families, with "claimed authorization" appearing in 15 of the 18 settings, forming a shared core across agents. On held-out instances, the frozen concepts achieve a 47.0% attack success rate, 14.2 percentage points higher than the strongest baseline, with fewer discovery queries. Concepts also transfer across victim models, scenarios, and harnesses, and related concepts in the graph can be composed into stronger attacks; patching based on concept enabling conditions reduces AgentHazard's attack success rate by 41.11 percentage points.

The researchers propose Agent Hacks Agents (AHA), using a Karpathy-style automated research loop in which a researcher agent first submits falsifiable vulnerability hypotheses, then designs attacks and executes them for verification on production agents such as Claude Code and Codex, distilling repeatedly confirmed explanations into a vulnerability concept graph. Across 18 settings spanning three scenarios, three victim models, and two agents, 117 concepts were found, grouped into eight families, with "claimed authorization" appearing in 15 of the 18 settings, forming a shared core across agents. On held-out instances, the frozen concepts achieve a 47.0% attack success rate, 14.2 percentage points higher than the strongest baseline, with fewer discovery queries. Concepts also transfer across victim models, scenarios, and harnesses, and related concepts in the graph can be composed into stronger attacks; patching based on concept enabling conditions reduces AgentHazard's attack success rate by 41.11 percentage points.

Why it was selectedThe paper abstracts the causes of attack success into falsifiable vulnerability concepts and builds a graph, providing a reusable intermediate layer for agent red teaming and remediation.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Current automated red-teaming only retains attack payloads while ignoring causes. AHA extracts vulnerability concepts through a falsifiable hypothesis loop and records enabling conditions and refuting evidence.

    Current automated red-teaming of large language model agents only retains successful attack payload instances, without recording the underlying causes of attack success, leading to difficulties in cross-version reuse and inability to guide defensive fixes.

    • Scenario and importance: Production-grade coding and operational agents (such as Claude Code and Codex) have real tool permissions to modify files and execute system commands, and their safety failures can evolve into destructive behaviors at the execution trajectory level; since each deployment update changes the specific path by which attacks trigger harm, security teams need automated red-teaming synchronized with release cadence to break through the limitations of static test sets.
    • Limitations of existing methods: Existing automated red-teaming methods search for attacks via feedback and retain effective artifacts (such as prompt archives or attack programs), with success conditions remaining implicit; when reuse fails, testers cannot determine whether the vulnerability has been fixed or the attack payload is mismatched, forcing each test to search from scratch and failing to point out the specific conditions that need fixing.
    • Core observation and hypothesis: The authors argue that one should retain vulnerability concepts that can be falsified by evidence, explaining why an attack succeeds, the enabling conditions that trigger the vulnerability, and the evidence that can falsify that explanation; leveraging a Karpathy-like autoresearch loop, agents can autonomously propose hypotheses, run experiments, and establish causal explanations.
    • Proposed approach: The paper proposes the Agent Hacks Agents (AHA) framework, where a RESEARCHER orchestrates four specialized sub-agents (HYPOTHESIZER, ATTACK-DESIGNER, REFLECTOR, CRITIC) to test falsifiable hypotheses in a sandbox, consolidating repeatedly confirmed concepts into a Vulnerability Concept Graph (VCG) for held-out task evaluation, cross-scenario transfer, and concept-coordinated attacks, as well as guiding patch fixes.
    • Threat model:
      • Attacker goal: Induce the target agent to perform operations deemed harmful by the scenario judge, including protected data leakage or unauthorized resource tampering.
      • Attacker knowledge: Knows the task context, attack goal, and the agent under test; can inspect public tool interfaces and exposed workspace state; model internal weights, private instructions, and safety logic are invisible to the attacker; reference attacks and evaluation criteria are only visible to the judge (black-box setting).
      • Attacker capabilities: Includes both direct and indirect prompt injection; direct attacks are delivered as user messages with bounded turns, indirect attacks as content publishers modifying tool responses or untrusted content in external artifacts; the discovery phase can use observed trajectory feedback to adjust subsequent attempts; the evaluation system is not under attacker control.
      • Victim system: A production-grade agent environment running in an isolated Docker sandbox, including command-line tools, file system, and enterprise backend service interfaces.
  2. What related research exists?

    Existing research mostly retains prompts, policy libraries, or defense boundaries. AHA uses falsifiable causal explanations as reusable artifacts, directly guiding the identification of fix intervention points.

    According to the paper's discussion of related work, related work is mainly divided into the following three categories:

    Automated red teaming and artifact retention

    • Payload and seed optimizers: Nellessen & Kachman (2026), Zhou et al. (2026b), Markasserithodi et al. (2026), Syros et al. (2026) retain prompts or attack strategies; Samvelyan et al. (2024), Wang et al. (2024; 2025b), Dang et al. (2025), Lee et al. (2026) use quality-diversity methods to retain attack archives. The authors note these methods only retain concrete instances, leaving success conditions implicit.
    • Strategy and program-level optimizers: Xu et al. (2024), Liu et al. (2025a; 2025b), Zhang et al. (2025), Zhou et al. (2026a) retain strategies, memories, and toolboxes; Zhou (2026), Panfilov et al. (2026), Gautam et al. (2026) further retain attack families, algorithms, or programs; Yuan et al. (2026), Karpathy (2026), Xiong et al. (2026), Dou & Yang (2026) evolve red teaming workflows. The authors note these artifacts optimize for attack success rate, recording what worked but not explicitly the underlying conditions.

    Agent safety evaluation benchmarks

    • Interactive environments and specialized risk benchmarks: Zhang et al. (2024), Zhou et al. (2026c) evaluate safety risks and specialized tasks in interactive environments; Zhan et al. (2024), Debenedetti et al. (2024) evaluate indirect prompt injection with tool integration; Li et al. (2026b) evaluate multi-step trajectory failures.
    • Dynamic and real-backend benchmarks: Feng et al. (2026) propose AgentHazard to evaluate harmful behaviors of computer-using agents; Li et al. (2026a) propose AgentDyn to evaluate safety defenses in dynamic real environments; Chen et al. (2026a) propose the DTap platform to evaluate direct and indirect attacks.

    Agent safety defenses and remediation

    • Input filtering and context diagnosis: Meta (2024) proposes Prompt Guard 86M, Llama Team (2024) proposes Llama-Guard-3-8B for input screening; Liu et al. (2026), Zhang et al. (2026) propose context risk diagnosis and context purification.
    • Runtime policies and permission restrictions: Ji et al. (2026) restrict tool permissions through mandatory access control. The authors note these defense methods judge or block failures based on outcomes, only knowing the agent failed without knowing the specific conditions that contributed, leaving fixes dependent on general screening.

    Baseline methods and evaluation benchmarks

    • Baseline methods: Compared T-MAP* (Lee et al., 2026) based on quality-diversity archives, IterInject* (Chen et al., 2026b) based on seed libraries, AutoRISE* (Gautam et al., 2026) based on attack programs, AutoDAN-Turbo* (Liu et al., 2025a) based on strategy libraries, ReNeLLM* (Ding et al., 2024) based on rewriting and nested recipes, and the Original baseline that directly replays public payloads.
    • Evaluation benchmarks: Used AgentHazard for direct multi-turn attacks, AgentDyn for indirect injection, and DTap for enterprise backends covering both direct and indirect channels.

    The authors position AHA as shifting from optimizing attack success rate to retaining causal claims that can be refuted by evidence, making explanations themselves reusable artifacts and treating enabling conditions as research objects, directly pointing to where defense fixes should intervene.

  3. How does the paper address this problem?

    AHA orchestrates four types of sub-agents through a researcher to execute a hypothesis-attack-reflection loop, consolidates concept graphs through strict gating, and performs held-out reuse and synergy based on enabling conditions.

    AHA proposes using the vulnerability concept as the basic unit of discovery and reuse, building an automated research loop with four types of sub-agents, and consolidating repeatedly confirmed causal explanations into a Vulnerability Concept Graph (VCG).

    Problem Setting and Formalization

    Automated red-teaming attacks the target agent in environment e = (s, v, f), where s is the scenario, v is the victim model, and f is the agent harness. The scenario provides the attack surface; direct attacks are multi-turn user message sequences, and indirect attacks are modifications to tool responses or slices of external artifacts. Evaluation measures the attack success rate of a single attempt on the held-out set H_s, formally defined as: ASR(M, v, f, s) = 1/(|Hs|) ∑i ∈ Hs Js(i, τi) where J_s is the scenario judge, \tau_i is the execution trajectory, and the frozen concept set is not searched or updated during held-out evaluation.

    Falsifiable Automated Research Loop and Role Division

    In the discovery phase, AHA is driven by a top-level RESEARCHER that schedules four specialized sub-agents in each iteration (Figure 1, Figure 2):

    • HYPOTHESIZER: Submits hypothesis H before attack design, including the vulnerability mechanism, surface strategy, expected failure behavior, falsifier, and key discriminating experiments; must explicitly state what observations would refute the hypothesis.
    • ATTACK-DESIGNER: Reads the submitted hypothesis and instance metadata, instantiates attack payload q strictly according to the attack schema, without modifying hypothesis content.
    • REFLECTOR: After sandbox execution, compares the execution trajectory \tau with the submitted falsifier, classifying the result as confirmed (failure triggered by the specified mechanism), falsified (falsifying observation satisfied), or inconclusive (environment crash or timeout), and generates new concept tuples when there are new findings and effective breaks.
    • CRITIC: Every 10 iterations, an auditor with an independent context performs an audit, checking cross-concept composition, reward hacking, category coverage gaps, and hypothesis quality drift, writing suggestions to a log for reference in subsequent rounds.

    The RESEARCHER rotates among four modes: explore (exploring new mechanisms based on coverage counts), exploit (deepening concepts with existing breaks), transfer (testing counted concepts in new categories), and consolidate (retesting concepts with confidence below 0.5 and at least two observations).

    Concept States and Strict Promotion Gating

    Vulnerability concepts record vulnerability claims, enabling conditions, attack templates, failure results, transfer predictions, and falsifiers. Candidate concepts must satisfy the promotion gate defined by the formula to enter the frozen counted set C*: nconf(c) ≥ nmin ∧ (nconf(c) + 1)/(nobs(c) + 2) ≥ γmin ∧ ∃ o ∈ Oc : (status(o) = confirmed ∧ is_break(o) = 1) where the confirmation count threshold n_min = 3, the smoothed confidence threshold \gamma_min = 0.60, and at least one effective break recognized by the judge is required. Concepts that do not meet the threshold or are falsified are retained in the graph as negative evidence to prevent repeated ineffective exploration.

    Concept Graph Organization and Held-out Reuse Mechanism

    Confirmed concepts form the concept graph, with edges including derived-from, sibling-of, stronger-than, transfers-to, and composes/enables. During held-out evaluation, the concept selection model only views visible metadata and the frozen concept library, selects a single applicable concept for each held-out task, and directly instantiates the attack without additional search or retries. For coordinated attacks, coordination edges guide the generation of a single combined attack payload.

  4. What experiments did the paper conduct?

    AHA achieves an average ASR of 47.0% on the held-out set, higher than all baselines with lower query overhead, and the extracted concepts generalize across models and guide defense patches.

    Experimental Setup

    • Systems under test and models: Two production-grade agent hosts, Claude Code and Codex, were tested; the victim models are all listed as Minimax-M2.7, Kimi-K2.6, and Deepseek-V4-Pro; the researcher and sub-agents use Claude-Opus-4.8 under Claude Code and GPT-5.5 under Codex; the judge model is Gemini-3-Flash.
    • Datasets and scale: AgentHazard (2,653 direct multi-turn instances, 2,563 in the discovery set, 90 in the held-out set, covering 10 hazard categories with 9 each); AgentDyn (560 indirect injection instances, 504 in the discovery set, 56 in the held-out set, distributed across the shopping, github, and dailylife suites); DTap (481 instances, 383 in the discovery set, 98 in the held-out set, covering 4 backend domains and 26 valid channel-target combinations).
    • Baseline methods: Compared against T-MAP*, IterInject*, AutoRISE*, AutoDAN-Turbo*, ReNeLLM*, and the Original baseline that directly uses public payloads; the baseline attack generation model is Qwen-3.7-Max (AutoRISE* uses the host model).
    • Metric definitions: Held-out attack success rate (Held-out ASR, %); discovery queries (Discovery queries Q, counting the number of complete attack evaluations before the stopping condition is reached).
    • Evaluation method: AgentHazard uses the official trajectory-level judge for scoring, with scores in the range [0, 10]; a score of at least 7 with harmful marked as true counts as a break; AgentDyn uses the AgentDojo source-level security() function to check the post-environment state; DTap uses the task's built-in verifiable judge to check the backend state; neither involves additional LLM calls.
    • Sample size and resource constraints: Each held-out instance is attempted only once (no retries or feedback); the discovery phase has an iteration cap of 100 rounds; each attack runs in an independent Docker container with resource limits of 2.0 CPU, 4GB memory, a 600-second hard timeout, 500,000 input tokens, and 50,000 output tokens.

    Main Results

    The table below summarizes the scenario-level average held-out ASR (%) of each method across six scenario and agent-host combinations:

    Swipe horizontally to read the table

    Evaluation settingT-MAP*IterInject*AutoRISE*AutoDAN-Turbo*AHA
    AgentHazard (Claude Code)55.9358.5256.6752.5977.41
    AgentHazard (Codex)64.4557.0351.4847.7874.81
    AgentDyn (Claude Code)4.174.1711.3110.1225.00
    AgentDyn (Codex)2.386.551.191.1920.24
    DTap (Claude Code)37.4237.0741.5038.1047.62
    DTap (Codex)26.8729.9334.6931.2936.73

    (Per Table 1; ReNeLLM* and the Original baseline are omitted due to table column limits; ReNeLLM*'s means for the corresponding six rows are 48.15%, 42.59%, 0.60%, 0.60%, 30.95%, and 22.45%; Original's are 65.18%, 54.82%, 10.71%, 5.36%, 48.64%, and 37.07%)

    • The authors report that AHA achieves a higher scenario-average ASR than each search baseline across all 6 settings, with a cross-setting held-out average ASR of 47.0%, higher than the strongest baseline AutoRISE*'s 32.8% (per Table 1 and Section 5.1).
    • The authors state that AHA uses fewer discovery queries than all baselines: 594 total queries under Claude Code and 634 under Codex, both lower than the baseline ranges (826–3,365 and 917–3,239) (per Table 1 and Section 5.1).
    • The authors note that the public-payload Original remains competitive on the DTap scenario and slightly exceeds AHA, while absolute success rates on AgentDyn are relatively low for all methods (per Table 1 and Section 5.1).

    Generalization Across Scenarios, Models, and Agent Hosts (RQ2)

    • Cross-scenario generalization: Measured the effect of deploying concept graphs discovered in a source scenario to the held-out set of a target scenario (Figure 4a, Table 24). DTap concepts achieve 53.7% average ASR on AgentHazard; AgentHazard concepts achieve 49.6% on DTap direct and 28.1% on DTap indirect; AgentDyn concepts achieve 42.6% on DTap direct and 41.8% on DTap indirect; DTap concepts achieve only 7.7% on AgentDyn. The authors argue that generalization is conditional, and concepts that depend on stateful backends are harder to transfer to tool-mediated workflows.
    • Cross-victim-model generalization: Under Claude Code, concepts from each model on AgentHazard were deployed to the other two models (Figure 4b, Table 24). Cross-model transfer preserves on average 88% of the target model's own native-concept ASR; Deepseek concepts transfer well across models, reaching 86.67% on Minimax (higher than Minimax's native concepts' 75.56%); Minimax concepts transfer to Kimi at only 43.33% (lower than its native concepts' 71.11%).
    • Cross-agent-host generalization: Concept graphs were transferred bidirectionally between Claude Code and Codex (Figure 4c). The forward and reverse transfer average ASRs are 37.72% and 40.84%, respectively, with a bidirectional average ASR of 39.28%, which is 6.21 and 9.17 percentage points lower than concepts natively discovered on the target host. The authors argue that concepts remain usable across hosts, but host-specific discovery still retains an advantage.

    Concept Synergy Attack Experiments (RQ2)

    • Synergy method comparison: On Minimax-M2.7, combining two concepts based on concept-graph relational edges (Coordinated) was compared with directly concatenating the two concepts (Joined), single concepts (A, B), concept pairs without relational edges (Other), and reusing a single concept from the full graph (Full VCG) (Table 5). On AgentHazard, Coordinated achieves 78.89% ASR, 4.44 percentage points higher than Full VCG (74.44%); on DTap it achieves 40.31%, 6.12 percentage points higher than Full VCG (34.18%); on AgentDyn it achieves only 12.50%, 7.14 percentage points lower than Full VCG (19.64%).
    • Role of the synergy mechanism: On AgentHazard and DTap, Coordinated's ASR exceeds both the directly concatenated Joined (72.22% and 34.69%) and the unrecorded-relation Other (67.78% and 27.55%). The authors argue that the synergy gain comes from the relational structure recorded in the concept graph rather than from text concatenation.
    • Scenario differences and exceptions: On AgentDyn, Coordinated (12.50%) is on par with single concept A and lags behind the directly concatenated Joined (14.29%). The authors note that synergy only works in scenarios where the concept graph records effective working relationships.

    Concept Enabling-Condition Patches and Defense Comparison (RQ3)

    • Mechanism-family patch effects: One patch was designed for the enabling conditions of each of the 7 mechanism families appearing in AgentHazard, and attacks were replayed (Figure 5a, Table 28a). The patches reduce the average ASR of the 7 families by 36.00 percentage points; among them, routine context and split harm have ASR reductions of 50.00 to 56.25 percentage points, which are 31.48 and 29.30 percentage points larger than fictional reframing's reduction (21.05 to 22.22 percentage points); after patching, fictional reframing and spoofed trust retain ASRs 33.35 percentage points higher than the other five families.
    • Patch package vs. general defenses: The family patches were merged into a patch package and compared with Prompt Guard 86M, Llama-Guard-3-8B, and safety system prompts on the held-out set (Figure 5b, Table 28b). The patch package achieves 36.67% ASR under Claude Code and 33.33% ASR under Codex, on average 14.44 percentage points lower than the best-performing general guard model, Llama Guard. The authors argue that targeted fixes for enabling conditions outperform upfront general screening.
    • Deployment method: The authors report that each patch is predetermined based only on discovery evidence and uses only existing runners or tool boundaries, requiring no additional model calls.

    Additional Ablations and Analyses

    • Removing the falsifier (w/o falsifier): reduces the average ASR by 13.36 percentage points across all settings (Table 3).
    • Removing the CRITIC audit (w/o critic): under AgentHazard, reduces Minimax's held-out ASR by 17.78 percentage points, with the number of effective concepts dropping from 10 to 7, but the discovery ASR only changes from 74.00% to 72.46% (Table 3, Table 16).
    • Removing memory gating (w/o memory): reduces the number of effective concepts in 12 settings, with Minimax's effective concepts on AgentHazard dropping from 10 to 8 (Table 16).
    • Controlling the researcher model (AHA@Qwen): using Qwen-3.7-Max as the researcher model to test Deepseek achieves 70.00% ASR on AgentHazard, 33.93% on AgentDyn, and 53.06% on DTap (Table 2).
    • Discovery round pattern distribution: across 18 settings, the researcher allocates most rounds to explore and exploit, with transfer and consolidate taking up the remainder (Table 19).
    • Negative results and failure frameworks: frameworks that directly forge permissions or declarative identities but do not impose structural obligations in tool calls are shown to be unable to bypass refusals (Table 22, Table 23).
  5. What are some points that can be further explored?

    The authors plan to run the loop continuously as agent versions update and extend to multi-agent systems, while noting that cross-scenario transfer and coordination are constrained by backend state and relation records.

    Limitations and future directions noted by the authors

    • Extension to multi-agent systems: In the conclusion, the authors note that future work could extend the research loop to multi-agent systems (Section 6).
    • Continuous adaptation and release cycles: In the conclusion, the authors note that future work could run the loop each time the agent is updated to maintain defense timeliness (Section 6).
    • Conditional dependence of cross-scenario generalization: In the discussion, the authors note that concept generalization is conditional; DTap concepts only achieve 7.7% ASR on AgentDyn, and concepts relying on stateful backends are harder to transfer reliably to tool-mediated workflows (Section 5.3).
    • Advantage of host-specific discovery: The authors note that although concepts remain usable across agent hosts (average 39.28% ASR), specialized discovery for the target host still retains a performance advantage (Section 5.3).
    • Applicability of concept synergy: The authors note that concept synergy only works when the concept graph records effective working relationships; on AgentDyn, where such relationships are not recorded, synergistic attacks lag behind single-concept full-graph reuse (Section 5.3).
    • Residual risk from partial mechanism defense patches: The authors note that after applying family patches, the residual ASR for the fictional reframing and spoofed trust mechanisms remains 33.35 percentage points higher than the other five families (Section 5.4).

    Experimental coverage

    • Systems under test: Experiments evaluated 2 production-grade agent hosts, Claude Code and Codex, with victim models including Minimax-M2.7, Kimi-K2.6, and Deepseek-V4-Pro, totaling 3 models (Section 4.1).
    • Evaluation scenarios: Evaluation covered 3 benchmarks: AgentHazard for direct multi-turn prompt attacks, AgentDyn for indirect injection, and DTap involving 4 types of backend environments (Section 4.2).
    • Number of concepts extracted: Across 18 discovery settings, a total of 117 gated counting concepts were consolidated, summarized into 8 mechanism families (Section 5.2).
    • Defense baseline coverage: General defense comparisons included 3 baselines: Prompt Guard 86M, Llama-Guard-3-8B, and safety system prompts, and defense comparison experiments were only conducted on the AgentHazard held-out set (Section 5.4 and Appendix C.6).
    • Reporting information: The paper does not report variance statistics across multiple random seeds in held-out evaluation, nor agreement metrics between concept selection models and human expert scoring.
  6. Summarize the main content of the paper

    The paper proposes the AHA framework based on a falsifiable scientific research loop, which mines and consolidates vulnerability concept graphs from production-grade agents, improving attack reuse rates and guiding defensive hardening.

    AHA is a study on automated red teaming of production-grade LLM agents, aiming to address the problem that traditional methods only retain specific attack payloads without causal explanations, leading to difficulty in reuse across versions and inability to guide fixes.

    • Problem statement: Production-grade agents have file read/write and command execution permissions, and trajectory-level safety failures have real-world destructiveness; existing red teaming methods retain prompts or attack scripts that are hard to reuse across environments and have implicit causes, failing to indicate specific fix conditions.
    • Core method: Proposes a vulnerability concept as the core unit of an automated scientific research loop, where a top-level researcher orchestrates four specialized sub-agents—hypothesis generator, attack designer, reflector, and auditor—to rigorously test falsifiable hypotheses in a sandbox, consolidating concepts that pass smoothed confidence and effective breakthrough gating into a Vulnerability Concept Graph (VCG).
    • Main results:
      1. Discovered 117 concepts across 18 setting groups, categorized into 8 families, with claimed authorization forming a shared core across agents (appearing in 15/18 setting groups) (Table 18, Figure 6).
      2. In single-test on held-out instances, AHA achieved 47.0% average ASR, higher than the strongest baseline AutoRISE* at 32.8%, and discovery query consumption (594 under Claude Code, 634 under Codex) was lower than all baselines (Table 1).
      3. Concepts showed cross-model generalization (retaining 88% ASR of the target host's native concepts) and cross-host generalization (bidirectional average 39.28% ASR) (Figure 4b, Figure 4c).
      4. Concept synergy improved ASR by 4.44 and 6.12 percentage points on AgentHazard and DTap respectively, confirming the value of concept graph relationship edges (Table 5).
      5. Defense patches built from enabling conditions reduced AgentHazard average ASR by 41.11 percentage points, outperforming the general-purpose guard model Llama Guard by an average of 14.44 percentage points (Figure 5b).
    • Authors' insights: The authors believe falsifiable causal explanations are more robust than isolated attack instances, not only improving red teaming reuse after deployment updates but also transforming vulnerability enabling conditions into directly implementable architectural-level defense entry points.

Related papers

Show 3 more papers
Read originalarxiv.org