AgentXploit: An Automated Repository-to-Runtime Red Teaming System for AI AgentsAgentXploit: Autonomous Repository-to-Runtime Red-Teaming for AI Agents
AgentXploit separates repository attack path discovery from runtime exploitation, achieving an end-to-end success rate of 59.3% over three runs on AgentXploit-Bench, higher than Codex's 38.4%.
Authorized white-box pre-deployment auditing: the auditor can view the target repository and a controlled runtime, but attacks must be executed through the task-defined attacker interface and confirmed successful by an external deterministic verifier; this does not represent typical external attacker capabilities.
- Agent security failures can come from adversarial content altering tool calls, or from software vulnerabilities such as path traversal and command injection. Existing red teaming methods mostly assume injection points are known, making it difficult to discover feasible attack paths from repository implementations.
- AgentXploit splits auditing into two roles: the Analyzer Agent uses code evidence to trace attacker-controlled inputs to sensitive operations and writes candidate paths; the Exploiter Agent only interacts through the attacker interface on an isolated target and revises based on runtime feedback. AgentXploit-Bench contains 72 reproducible vulnerabilities across 12 open-source systems; end-to-end tasks hide vulnerability metadata, and an external deterministic verifier judges success.
- Across three runs, AgentXploit's end-to-end success rate is 59.3%, default Codex is 38.4%, and Codex with aligned token budget is 46.3%. Of the 29 failures in the initial run, 20 occurred in the analysis phase. On AgentDojo, where injection points are known, the Exploiter Agent's success rate is 79.2%, AgentVigil is 52.7%, and manual attacks are 41.5%.
- The authors note: candidate precision on OpenHands cannot be extrapolated to the full benchmark; the seven-task attack quality diagnosis is not a representative stealth evaluation; the verifier encodes only one safety outcome per case; no claim of no training data contamination can be made; larger structural refactoring was not tested. Experiments cover AgentXploit-Bench and AgentDojo, with gpt-5.1-codex as the backbone and GPT-4.1 as the AgentDojo victim agent.
- Evaluated models
- GPT-4.1
- Benchmarks
- AgentXploit-BenchAgentDojo
- Metrics
- pass@1attack success rateattack-path recoveryin-scope candidate precision
AgentXploit is a dual-role audit system that separates repository-level attack path discovery from runtime exploitation: the Analyzer Agent traces attacker-controlled inputs to sensitive operations and records code-supported candidate paths, and the Exploiter Agent turns them into concrete attacks and revises them with runtime feedback. The authors also release AgentXploit-Bench, covering 72 reproducible vulnerabilities across 12 open-source AI agent systems and frameworks. Across three runs, AgentXploit's end-to-end success rate is 59.3%, Codex is 38.4%; under a token-budget-aligned comparison, Codex is 46.3%.
Related events and news
1 events · 1 news mentions
News that mentions this paper
Adversa AI 汇总 10 月 AI Agent 安全资源
- Adversa AIcites the paper's id or linkAdversa AI 汇总 2026 年 10 月 AI Agent 安全资源 49 项
AgentXploit: autonomous repository-to-runtime red-teaming for AI agents
Paper analysis
What problem does this paper attempt to solve?
Pre-deployment white-box auditing must discover feasible attack paths from the repository and verify them at runtime while hiding vulnerability metadata.
In authorized white-box pre-deployment auditing, can an auditor recover and verify a feasible attack path from the repository, rather than only optimizing adversarial inputs at known injection points.
- Scenario: the authors argue that once LLM agents connect files, browsers, code execution, APIs, and communication services, security failures can come from model behavior or surrounding software. Adversarial content may steer the model toward sensitive tool calls, and the implementation itself may expose path traversal or command injection. The auditor needs to determine whether attacker-controlled data can actually reach a sensitive operation.
- Limitations of existing methods: the authors state that most agent red-teaming methods assume the injection point or attack surface is known (Wang et al., 2025c; Chen et al., 2024d; Perez and Ribeiro, 2022; Wu et al., 2024b), testing how to optimize adversarial inputs rather than whether an auditor can discover feasible paths from the implementation. In repository-scale agents, merely listing inputs and sensitive tools is insufficient; one must also determine which inputs are consumed, how values move across components, which model or control-flow decisions can be influenced, and whether tool preconditions hold.
- Core setting: the authors study authorized white-box pre-deployment auditing. The auditor can inspect the target repository and a controlled runtime, but an exploit counts as successful only if executed through the task-defined attacker interface and confirmed by an external verifier. Repository access is used to discover candidate paths and does not by itself establish exploitability.
- Threat model:
- Goal: find a feasible chain from an attacker-controlled value to a sensitive operation. Sensitive operations include file modification, privileged API calls, and command execution, and results can include data loss, unauthorized access, data exfiltration, or code execution.
- Knowledge: the authorized evaluator receives the repository (source code, configuration, dependencies, and documentation) and a controlled executable environment, representing a pre-deployment review by a developer, internal red team, or contracted auditor, not a typical external attacker.
- Capabilities: both auditing agents can view repository artifacts; runtime attacks go from an attacker container to an isolated target container. The Exploiter Agent must use the task-defined interface (API, user query channel, uploaded files, or external data sources); directly reading or modifying protected target state does not count as a valid exploit.
- Success determination: the evaluation framework runs a deterministic verifier outside the agents and uses protected target state when needed. The Exploiter Agent can propose and execute attacks but cannot declare task success on its own.
- This paper proposes: the two-role system AgentXploit—the Analyzer Agent performs repository-level attack path discovery, and the Exploiter Agent performs runtime exploitation; and AgentXploit-Bench, containing 72 reproducible vulnerabilities across 12 open-source AI agent systems and frameworks.
What related research exists?
Related work is divided into agent risk sources, prompt injection and access models, general coding/security agents, and existing agent security benchmarks.
LLM agents and risk sources
- Tool and workflow agents: web navigation (Nakano et al., 2021; Deng et al., 2024; Gur et al., 2023; Zhou et al., 2023a), software engineering (Le et al., 2022; Gao et al., 2023; Li et al., 2022; Wang et al., 2025a), and personal assistants (Schick et al., 2024; Qin et al., 2023; Patil et al., 2023; OpenAI, 2023) combine external inputs with APIs, files, browsers, and code execution tools. The authors argue the relevant security issue is not whether external inputs and sensitive tools coexist, but whether the implementation allows a feasible chain between them given data flow, control flow, model decisions, and tool preconditions.
Prompt injection, defenses, and access models
- Manual and automated attacks: manual prompt injection (Willison, 2022; Perez and Ribeiro, 2022; Wu et al., 2024a; Liao et al., 2024; Xu et al., 2024; Zhang et al., 2024b) and automated attack generation (Chen et al., 2024d; Yu et al., 2023; Chen et al., 2024c; Wu et al., 2024b; Wang et al., 2025c).
- Defenses: based on training, detection, prompt separation, and tool isolation (Inan et al., 2023; Wallace et al., 2024; Chen et al., 2024a;b; Shi et al., 2025b; Liu et al., 2025; Meta, 2025; Mendes, 2023; Hines et al., 2024; Liu et al., 2024; Debenedetti et al., 2024; Wu et al., 2025; 2024c; Zhu et al., 2025; Shi et al., 2025a).
- Access model differences: the authors state black-box methods only interact with the running target; gray-box evaluations typically expose injection locations or task structure; white-box audits can inspect source code and controlled runtimes. Most prompt injection methods optimize attacks in the first two settings against known attack surfaces. The authors position end-to-end evaluation as hiding attack paths and requiring recovery from the repository before exploitation.
Autonomous coding and cybersecurity agents
- General coding agents: SWE-agent (Yang et al., 2024), OpenHands (Wang et al., 2025a), Codex (OpenAI, 2025), Claude Code (Anthropic, 2025) can browse repositories and execute programs.
- General software vulnerability discovery: CyberGym (Wang et al., 2025b) and BountyBench (Zhang et al., 2025a) evaluate vulnerability discovery and exploitation in general software; Co-RedTeam (He et al., 2026) coordinates agents for software security tasks. The authors state this paper's scope is narrower: AI agent implementations where attacks may reach sensitive operations through model decisions, tool calls, and conventional software vulnerabilities.
Agent security benchmarks and this paper's baselines
- Existing benchmarks: AgentDojo (Debenedetti et al., 2024) evaluates indirect prompt injection with predefined injection points and task structures; ASB (Zhang et al., 2025b) expands attack and defense coverage; WASP (Evtimov et al., 2025) studies attacks in web agent environments. The authors state these benchmarks are suitable for testing behavior once the interaction surface is known.
- Baseline methods and benchmarks: On AgentXploit-Bench, Codex CLI serves as an end-to-end repository baseline, using the same gpt-5.1-codex backbone as AgentXploit; on AgentDojo, manual attack templates are compared against AgentVigil (Wang et al., 2025c), with GPT-4.1 as the victim agent in both cases. Seed ablations also use a merged corpus from OpenPromptInjection (Liu et al., 2024), InjecAgent (Zhan et al., 2024), AgentDojo, and SecAlign (Chen et al., 2025).
The authors position AgentXploit-Bench as a different evaluation unit: ground-truth attack paths derived from public vulnerabilities in real repositories, plus a fixed runtime and external verifier.
How does the paper address this problem?
The Analyzer Agent writes candidate paths with code evidence, and the Exploiter Agent verifies them only through the attacker interface in an isolated runtime.
AgentXploit splits auditing into repository analysis and runtime exploitation: the Analyzer Agent produces machine-readable candidate attack paths, and the Exploiter Agent only probes through the attacker interface according to that record until an external verifier accepts it or the budget is exhausted. The record is only a hypothesis until verified at runtime.
Problem Setting and Path Records
- Attack path: a feasible chain from an attacker-controlled value to a sensitive operation. Classified by entry point, and orthogonal to the vulnerability mechanism: a direct path starts from an entry point reachable through the attacker interface (e.g., an API or user query channel); an indirect path starts from an external data source (e.g., a retrieved document or tool response) and is only consumed by the agent later. Both paths may depend on LLM-mediated decisions or surrounding software flaws.
- Path record: contains the path type, specific entry point, sensitive operation, supporting code locations, required preconditions, and an optional exploit hint. At handoff, the Exploiter Agent receives explicit code evidence and preconditions, not an unconstrained natural language summary.
- Three evaluation modes: analysis-only gives only the repository and does not execute the target, measuring recovery of ground-truth attack paths; exploit-only (oracle) gives the vulnerability description and runtime, measuring exploit construction when the path is known; end-to-end gives the repository and runtime but not the vulnerability description, and is the main task. The task instructions for analysis-only and end-to-end exclude CVE or issue identifiers, vulnerability descriptions, objective functions, exploit strings, patch discussions, and target-specific success conditions.
Analyzer Agent
- State: uses an investigation queue and stores evidence in reports outside the model context. Subsequent steps read stored reports rather than keeping the full interaction history in the model context. The benchmark does not provide ground-truth entry points.
- Process: first maps the repository structure, establishing initial Explore, Search, and Read tasks for external interfaces, tool definitions, sensitive APIs, and relevant configuration; then executes the highest-priority tasks using directory, text search, file reading, dependency, symbol, AST, or LSP tools; writes new code locations, data flow relationships, tool behavior, and unresolved links into reports, and new evidence can add to or re-prioritize the queue; creates or updates candidate records when evidence supports a feasible path; ends when the queue is exhausted or the configured analysis budget is reached, and the record is handed to the Exploiter Agent.
- Search targets: externally influenced values, such as request fields, retrieved content, uploaded files, or tool responses, and checks whether each concrete value can propagate to a sensitive operation. Preferentially retains evidence that connects external values to sensitive operations or fills unresolved links in candidate paths.
Exploiter Agent
- Implementation-level vulnerabilities: follows a code agent loop to inspect relevant code, construct inputs, execute against the target, and revise based on runtime errors.
- LLM-mediated attacks: selects an initial injection matching the target workflow, executes it through the attacker interface, records the target response and allowed execution trace, and uses this information to construct the next attempt. The seed corpus covers research assistants, code execution, and workflow automation; each seed contains a scenario, attacker goal, candidate injection locations, and payload patterns. The model selects a seed matching the workflow and rewrites it, rather than replaying it as a fixed prompt.
- Revision and multiple injection points: after failure, the next prompt includes the previous payload, target response, and allowed execution trace. An external framework uses a task verifier to check the target state. When there are multiple external records or multi-turn interactions, mutually consistent instructions can be placed at these locations, e.g., earlier records establish identity or clues, later records repeat or activate; the shared attack goal is retained, and the payload at each location can be adapted separately. The paper does not give an iteration limit in the main text; the AgentDojo experiments use 50 attack iterations for the full system and all ablations.
Success Determination and Benchmark Construction
- Determination: end-to-end success requires that the Analyzer Agent reported a compatible candidate path and that the Exploiter Agent's runtime exploit is confirmed by an external deterministic verifier. Analysis recovery counts as a hit only if the candidate points to the benchmark's ground-truth sensitive operation and a compatible attacker-controlled entry point supported by repository evidence; at most one recovery is counted per case, and unrelated vulnerabilities are tracked separately. Therefore, analysis-only is interpreted by the authors as ground-truth attack path recovery, not overall vulnerability precision.
- Instance sources: collected from public CVEs and agent security issues from 2023–2025, including National Vulnerability Database records. After LLM-assisted filtering, each retained instance is manually checked against the vulnerable code and runtime. Retention must simultaneously satisfy security impact (e.g., command execution, unauthorized file access, data exfiltration, or SSRF), a runnable environment (the vulnerable version and dependencies can be instantiated without relying on proprietary infrastructure), and deterministic checking.
- Scale: 72 runnable instances across 12 projects. Mechanisms include path traversal, command execution, SQL injection, SSRF, unsafe evaluation, and LLM-mediated paths. In Table 3, GPT_Academic accounts for 22/72 (30.6%), with the rest being OpenClaw 10, AgentScope 9, LangChain 8, LobeChat 8, LlamaIndex 4, AutoGPT 3, and DB-GPT, GPT-Researcher, and MetaGPT 2 each, and OpenHands and RAGFlow 1 each.
What experiments did the paper conduct?
On 72 cases, AgentXploit end-to-end 59.3%, Codex 38.4%; on AgentDojo, Exploiter Agent is 79.2%.
Experimental Setup
- Systems under test: AgentXploit and the Codex CLI baseline use the same gpt-5.1-codex backbone. On AgentDojo, all victim agents use GPT-4.1, and baselines are reproduced under the same environment and protocol.
- Benchmarks: AgentXploit-Bench has 72 instances (59 direct, 13 indirect) across 12 frameworks. AgentDojo contains four suites with 629 user-task and injection-task combinations. There is also a 20-instance subset for code mutation (15 direct, 5 indirect).
- Modes and baselines: analysis-only, exploit-only with oracle vulnerability descriptions, and end-to-end. The repository baseline is Codex CLI, which receives the same task input, repository, attacker interface, and success criteria, but not hidden vulnerability metadata or Analyzer Agent reports. AgentDojo baselines are manual attack templates and AgentVigil.
- Metrics: The main metric is task-level pass@1; Table 4 reports the mean and sample standard deviation over three independent sampling seeds at fixed temperature. Analysis-only is the ground-truth path recovery rate. AgentDojo reports attack success rate. There are also in-scope candidate precision, WAF signature detection, and whether benign requests still succeed.
- Budget: AgentDojo shares a cap of 50 attack iterations for the full system and all ablations. The analysis budget for AgentXploit-Bench is called the "configured analysis budget" in the text; the paper does not give the specific value in the main text. Resource comparisons are in Section 9.
- Attack quality subset: Before formal measurement, 7 runnable tasks across 5 frameworks were selected based on runtime availability, including 4 direct and 3 indirect; the authors state this is not a representative stealth benchmark.
Main Results
Table 4 shows pass@1 means across three runs (percentages). Both AgentXploit and Codex target the repository systems in the benchmark, with the same gpt-5.1-codex backbone.
Swipe horizontally to read the table
Path (n) Analysis Exploit-only AgentXploit end-to-end Codex 1× Codex matched Direct (59) 74.6±2.9 91.5±1.7 59.3±2.9 40.7±3.4 48.0±2.0 Indirect (13) 59.0±7.7 71.8±4.4 59.0±8.9 28.2±7.7 38.5±4.4 All (72) 71.8±3.2 88.0±0.8 59.3±2.1 38.4±2.9 46.3±1.6 - Authors' interpretation: Averaged over three runs, AgentXploit is 59.3%, default Codex is 38.4%, with a mean difference of 20.8 percentage points before rounding; indirect differs by 30.8 percentage points and direct by 18.6 percentage points. Indirect has only 13 tasks, which the authors treat as a descriptive pattern. With token caps aligned, Codex is 46.3%, still 13.0 percentage points behind AgentXploit.
- Framework distribution: In the initial run used for framework breakdown, on GPT_Academic AgentXploit is 19/22 (86.4%) and Codex is 14/22 (63.6%); on the remaining 50 instances they are 48.0% and 28.0%, respectively (one place in the text writes AgentXploit 24/50 and Codex 14/50). The authors state that both sides decline outside GPT_Academic, and the overall mean masks differences across repositories.
- Oracle and failure stages: exploit-only with known descriptions is 88.0% (direct 91.5%, indirect 71.8%), not conditioned on the previous stage's success. Of the 29 failures in the initial end-to-end run, 20/29 (69.0%) are analysis misses; all 5 indirect failures occur before exploitation, and every recovered indirect path in that run was subsequently verified (Table 7: among 59 direct instances, 15 analysis misses and 9 exploitation failures; among 13 indirect instances, 5 analysis misses and 0 exploitation failures).
AgentDojo and Exploitation Loop Ablations
- What was tested: Injection points are given; only attack construction is tested. The Exploiter Agent generates injections, observes target responses and execution traces, and revises up to 50 rounds.
- Results: In Table 6, the Exploiter Agent overall is 0.792, AgentVigil is 0.527, and manual attacks are 0.415. By suite, the Exploiter Agent is Banking 0.750, Slack 1.000, Travel 0.754, Workspace 0.742; AgentVigil is 0.604, 0.905, 0.233, 0.479; manual attacks are 0.326, 0.924, 0.307, 0.308.
- Authors' interpretation: In Figure 2, the full system and the condition without execution traces are close at round 0 (48.0% and 46.2%), and after 50 rounds are 79.2% and 69.1%. Replacing the curated seed drops the final result to 49.6%; reusing the same payload at each location is 74.9%. The authors state that seeds mainly determine the quality of the initial search region, execution traces improve later revisions, and location-specific payloads give little gain in multi-step workflows.
Candidate Quality, Attack Quality, and Budget
- Candidate precision: Manual adjudication of all 5 candidates in the OpenHands repository: 2 are valid in-scope vulnerabilities, 1 is a finding outside the ground-truth path but still security-relevant, and 2 are false positives. In-scope precision is 2/5 (40%); counting the additional finding gives 3/5 (60%). The authors state this diagnostic covers only one repository and should not be interpreted as precision across the whole benchmark.
- Attack quality: On 7 tasks, Table 5 reports that 4 payloads trigger at least one of the tested WAF rules and 3 do not; for each task, 3 benign API requests before and after the attack are all 3/3 → 3/3. The authors state that verifier-confirmed exploitability should not be interpreted as stealth, and three probes do not establish general utility preservation. The audit also found 8 additional vulnerabilities not matching ground-truth paths, across 4 projects and 5 categories (SSRF, command injection, unauthorized access, insecure configuration, remote code execution), not counted in recovery rate or end-to-end success rate.
- Code mutation and stopping behavior: On the 20-instance subset, analysis recovery drops from 71.7±5.8% to 68.3±2.9% (Table 8), which the authors describe as a 3.4 percentage point decline. Across 60 paired task runs, both before and after mutation recovered 39 (65.0%), only before mutation 4 (6.7%), only after mutation 2 (3.3%), and neither recovered 15 (25.0%) (Table 9). Across 216 default-budget Codex runs, verifier-confirmed success was 83 (38.4%), self-declared completion without success 92 (42.6%), budget exhaustion 29 (13.4%), and tool or runtime errors 12 (5.6%) (Table 10).
Other Ablations and Analyses
- Codex with 4× the default token cap raises pass@1 from 38.4% to 45.8%; with per-task caps aligned to AgentXploit it is 46.3%, while AgentXploit remains 59.3%, a 13.0 percentage point gap (Section 9.3).
- Successful default Codex runs have mean/median tokens of 36k/34k and model calls of 7.5/7; self-declared failures have 22k/20k and 4.5/4; budget exhaustion has 40k/40k and 176/180 seconds; tool or runtime errors have 10k/7k and 25/16 seconds (Table 11). Of the 92 self-declared completions, 88 still had unused budget, with a median unused share of 42%, and 61 retained more than 40% of the cap.
- Case study: AutoGPT v0.4.2's clone_repository writes the configured GitHub username and API key into the URL; the authors state that Codex, after opening the relevant Git tool, moved to the image generation module and the final report did not connect the LLM-controlled host to the credential rewrite. Another case validates only the first whitespace-separated token but executes the entire command with shell=True; the Analyzer Agent recorded it as two different candidate paths.
What are some points that can be further explored?
The authors note that the verifier covers only one outcome, cannot claim no contamination, and that larger structural refactoring and comprehensive attack quality evaluation remain future work.
Limitations and Future Directions Noted by the Authors
- Precision extrapolation: the adjudication of five candidates on OpenHands covers only one repository, and the authors state it should not be interpreted as full-benchmark precision; a global estimate would require adjudicating every non-target candidate in all repositories (Section 6.1.1).
- Attack quality: the seven-task diagnosis is pre-selected by runtime availability, and the authors call it a limited-scope diagnostic rather than a representative stealth benchmark; the three benign probes cover limited functionality and do not establish general utility preservation. The authors leave comprehensive attack quality evaluation to future work (Section 6.1.4).
- Verifier coverage: only one security outcome is encoded per case. A program may expose several equivalent exploit paths or other security consequences not observable by the verifier. The authors therefore interpret the main metric as recovery and verification of ground-truth attack paths, not full vulnerability recall (Section 10.1).
- Data contamination: public vulnerabilities may already appear in pretraining data. The authors state they cannot determine the training corpus of the hosted backbone and therefore do not claim a contamination-free evaluation; both ends use the same backbone and public repositories, so memorized vulnerability knowledge is available to both, although scaffolding exploitation may differ (Section 10.2).
- Code mutation scope: recovery declines are limited after renaming, comment removal, and file moves, and the authors state that larger structural refactoring remains untested (Section 9.1).
- Release scope: reusable payload text for successful attacks is excluded from the public manuscript under a responsible release process (Section 8).
Experimental Coverage
- Main benchmark: AgentXploit-Bench has 12 open-source projects and 72 instances, 59 direct and 13 indirect; three runs per condition at fixed temperature, with Table 4 reporting means and sample standard deviations (Section 6.1).
- Second benchmark: AgentDojo has four suites and 629 user and injection task pairs, with GPT-4.1 as the victim agent and an attack iteration cap of 50; compares handcrafted templates, AgentVigil, and the Exploiter Agent (Section 6.2, Table 6).
- Diagnostics: analysis-only and oracle exploit-only are reported separately; failure stages are categorized across 29 failures from the initial end-to-end run (Table 7); candidate quality manual adjudication is limited to 5 candidates on OpenHands; WAF and utility checks cover 7 tasks on 5 frameworks (Section 6.1.4).
- Budget and mutation: pass@1 is reported for Codex's default, 4×, and AgentXploit-aligned token caps; stopping reasons cover 216 default-budget runs. The code mutation subset is 20 cases and 60 paired task runs, with transformations preserving dependencies, task instructions, attacker interfaces, vulnerable data flows, runtime behavior, and verifiers (Section 9).
- Information boundaries: task instructions for analysis-only and end-to-end exclude CVE or issue identifiers, vulnerability descriptions, objective functions, exploit strings, patch discussions, and target-specific success conditions; the paper states it still does not claim the evaluation is contamination-free (Section 5, Section 10.2).
Summarize the main content of the paper
AgentXploit separates repository path discovery from runtime exploitation and compares end-to-end auditing on a 72-case benchmark with hidden vulnerability descriptions.
AgentXploit is an authorized white-box pre-deployment audit system for AI agents, splitting "finding feasible attack paths from a repository" and "turning paths into verifiable attacks in an isolated runtime" into two roles.
- Problem: Adversarial content can alter tool use, and surrounding software may also have path traversal or command injection. The authors argue that existing red teaming mostly optimizes inputs when injection points are known, while repository auditing must also determine whether attacker-controlled values can reach sensitive operations across components. Success must go through the task-defined attacker interface and be confirmed by an external deterministic verifier.
- Method: The Analyzer Agent uses search, dependency, symbolic, AST, and LSP tools to maintain an investigation queue and out-of-context evidence reports, recording candidate paths with code locations and preconditions. The Exploiter Agent does not redo the full repository search; implementation-level vulnerabilities are revised by execution errors, LLM-mediated attacks start from seeds matching the workflow, and iterate using target responses and allowed execution traces. When multiple locations exist, mutually consistent instructions can be placed.
- Benchmark: AgentXploit-Bench compiles 12 projects and 72 reproducible instances from public CVEs and security issues from 2023–2025, with the end-to-end mode hiding vulnerability metadata. AgentDojo, where injection points are known, is used separately to test the exploitation phase.
- Results: Across three runs, AgentXploit end-to-end pass@1 is 59.3%, default Codex is 38.4%, and Codex with aligned token budget is 46.3% (Table 4). Path recovery is 71.8%, and exploitation with oracle descriptions is 88.0%. Of the 29 failures in the initial run, 20 were analysis misses, and all indirect failures occurred in the discovery phase. On AgentDojo, the Exploiter Agent is 79.2%, AgentVigil is 52.7%, and manual attacks are 41.5% (Table 6).
- Authors' conclusion: The authors argue that repository discovery and runtime exploitation are different challenges in end-to-end agent security auditing; verifier-confirmed success measures the specified security outcome and does not equal payload stealth or general functionality preservation. The main metric should be understood as recovery and verification of ground-truth attack paths.
Related papers
Show 3 more papers
- AgentWatcher: A Rule-based Prompt Injection MonitorDefensesarXiv