Skip to content

Ulysses: A Security Testing Framework for Synthesizing Verifiable Web ExploitsUlysses: A Security Harness For Synthesizing Verifiable Web Exploits

arXiv· arXiv:2610.31831· Aditya Oke, André Vicente Duarte, Rui Melo, Shubham Gandhi, Nachiket Kotalwar, Charmi Khandor, Danqing Wang, Carolyn Rosé, Lei LiCarnegie Mellon University, Language Technologies Institute; INESC-ID, Instituto Superior Técnico; Faculdade de Engenharia do PortoIndexed by this site · 29 days ago· Originally publishedAttacks

Quick read

Evaluation and benchmarks

Based on the paper PDF (AI-generated); refer to the original

The authors propose Ulysses, a multi-agent security tool that verifies Web vulnerability exploits with an independent effect oracle, and generates verified PoEs for 10 of 25 real advisories on WebExploitGym.

Questions
LLMs can produce vulnerability findings in large quantities, but it is very difficult for them to reliably verify the exploits they generate; the authors use curl and GitHub advisories as examples to show that unverified reports increase triage burden.
Methods
Ulysses uses a hypothesis graph to explore exploit paths in parallel, and only after an independent effect oracle confirms success based on runtime effects does it generate a reproducible PoE.
Experiments and results
On WebExploitGym, the advisory-informed condition generates effect-verified PoEs for 10/25 targets, and zero-knowledge for 4/25; the authors state that localization is the main bottleneck.
Limitations and future work
The authors state that the current coverage is limited to 8 vulnerability classes with server-side observable effects and to Day-N vulnerabilities with existing reports; WebExploitGym runs only once per target per condition, and XSS, DoS, memory vulnerabilities, and non-Web applications are not covered.
Experimental setupKimi K2.5、MiniMax M2.5 et al. · WebExploitGym、OWASP Benchmark for Python · effect-verified PoE conversion、precision et al.
Threat model
The agent acts as an attacker, has white-box access to the target source code, and accesses the hosted target over the network; it cannot directly access the target database, file system, or operating system. The targets are disclosed N-day vulnerabilities, under three information conditions: advisory-informed, zero-knowledge, and static-analysis-seeded.
Evaluated models
Kimi K2.5MiniMax M2.5Sonnet 5
Benchmarks
WebExploitGymOWASP Benchmark for Python
Metrics
effect-verified PoE conversionprecisionrecallunion pass@3
AI summaryUlysses is a multi-agent security testing framework that synthesizes verifiable exploits for Web applications. It iteratively explores exploit hypotheses, confirms success through independently observed execution effects, and turns candidate vulnerability findings into verified proofs of exploit. On the WebExploitGym benchmark, covering 25 real Web applications, 5 languages and 7 frameworks, it generated verified proofs for 10 of 25 security advisories and discovered 4 previously unreported proofs of exploit.

Ulysses is a multi-agent security testing framework that synthesizes verifiable exploits for Web applications. It iteratively explores exploit hypotheses, confirms success through independently observed execution effects, and turns candidate vulnerability findings into verified proofs of exploit. On the WebExploitGym benchmark, covering 25 real Web applications, 5 languages and 7 frameworks, it generated verified proofs for 10 of 25 security advisories and discovered 4 previously unreported proofs of exploit.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The authors aim to solve the problem that LLMs find many vulnerabilities but exploits are hard to verify independently.

    Core problem: how to automatically turn candidate vulnerability findings into independently verifiable Proofs of Exploitability (PoE).

    • Scenario and importance: The authors state that static analysis, code review, and LLM security tools produce large numbers of candidate findings, but a finding is only a hypothesis that a code path may be vulnerable; in curl's public bug bounty, about 20% of vulnerability reports were incorrectly AI-generated and of low quality, ultimately causing the project to shut down.
    • Shortcomings of existing methods: The authors argue that black-box dynamic testing can obtain runtime evidence but lacks application-layer reasoning; agentic exploitation can reason about application logic but often relies on the LLM's own judgment, tending to falsely claim success without execution evidence.
    • Core observation: The authors consider the strongest evidence to be a PoE: it must show that an attacker can reach the vulnerable path on the deployed system and trigger the expected effect; in May 2026 the GitHub Advisory Database published 1,560 reviewed advisories, and the authors estimate by sampling that about half lack a Proof of Exploit.
    • Paper's approach: Proposes Ulysses, a multi-agent security harness that iteratively explores exploit hypotheses and confirms success with independently observed execution effects; it also builds WebExploitGym, containing 25 real deployable Web application vulnerability instances.
    • Threat model:
      • Target: Turn candidate findings of disclosed N-day vulnerabilities into effect-verified PoEs.
      • Knowledge: The agent has white-box access to the source code; the three conditions respectively provide advisory information, static analyzer findings, or no vulnerability prior.
      • Capability: The agent accesses the hosted target over the network and can send requests and submit evidence, but cannot directly access the target database, file system, or operating system.
      • Victim system: A real Web application running in a Docker container; the effect oracle and the target are on separate hosts to prevent the agent from forging callbacks.
  2. What related research exists?

    Related work covers static detection, dynamic testing, LLM detection, vulnerability benchmarks, PoC generation, and security agents.

    Static analysis and LLM detection

    • CodeQL, Semgrep, Bandit, Bearer, Joern—find source-to-sink flows using rules, taint analysis, or code property graphs; the authors cite surveys stating that such tools mostly cover narrower vulnerability types and produce false positives.
    • IRIS, QLCoder, SAST+LLM pipelines—combine LLMs with static analysis to synthesize detectors or queries; the authors state that IRIS is limited by fixed CodeQL templates, QLCoder still has relatively high false positives, and these methods do not confirm that a vulnerability is exploitable.
    • Absentia—an LLM-based Web vulnerability detector, used in this paper as one of the candidate finding sources.

    Dynamic analysis and security agents

    • OWASP ZAP, Burp Suite—black-box scanners probe endpoints to find injection vulnerabilities; the authors state that they do not understand application logic and state, and are therefore mostly limited to shallow single-request vulnerabilities.
    • PentestGPT and subsequent pentesting agents—drive LLMs to perform interactive black-box penetration testing, or add structure to the search.
    • Co-RedTeam—coordinates specialized agents for vulnerability discovery and exploitation; the authors note that, like Ulysses, it bases decisions on real execution feedback.

    PoC / PoE generation

    • FaultLine—traces source to sink, explains branch conditions, and uses iterative feedback to generate proof-of-vulnerability tests.
    • PoC Gym, AnyPoC—generate or re-execute PoCs for CWE-Bench-Java and large system software, respectively; the authors state that these methods mainly generate code-level regression or crash-triggering tests.
    • AntiProof—the authors cite its PoE concept and state that it focuses on detector synthesis.

    Benchmarks and positioning of this paper

    • ExploitBench, CyberGym, CyberGym-E2E, CWE-Bench-Java, BountyBench, OWASP Benchmark—cover JS engines, C/C++ memory safety, Java libraries, or Web applications, respectively; Table 2 compares target form, verification method, and scale.
    • Baselines and benchmarks: detection baselines are CodeQL, Semgrep, Bandit, Bearer, Joern, OWASP ZAP, and Absentia; evaluation benchmarks are the OWASP Benchmark for Python and WebExploitGym.
    • The authors position Ulysses as an open harness that consumes output from arbitrary detectors and verifies exploits by observable effects on live HTTP services.
  3. How does the paper address this problem?

    Ulysses explores in parallel via a hypothesis graph, uses an independent effect oracle to determine success, and generates a PoE.

    The overall idea is to separate "discovering vulnerabilities" from "verifying exploitability": Ulysses consumes candidate findings from static analyzers, LLM detectors, or advisories, tests exploit paths in parallel on a hypothesis graph, and generates a PoE only after the effect oracle confirms the runtime effect.

    Problem setting and information conditions

    • Target effects: The system verifies 8 classes of effects observable at runtime: unauthorized file read, file creation, unauthorized db read, db modification, data exfiltration, remote code execution, privilege escalation, authentication bypass.
    • Three conditions: advisory-informed provides the weakness class, affected component, and intended effect; zero-knowledge provides no advisory; static-analysis-seeded additionally provides static analysis findings. All three target only disclosed N-day vulnerabilities.
    • Success determination: A candidate finding is recorded as exploitable only if it triggers the expected effect on the deployed target and passes oracle validation; the PoE is a standalone Python script reproducible on the target.

    Hypothesis graph and agent loop

    • Planning Agent: Reads the scanner's attack plan, chains, source code, and the previous round's reflection, and generates candidate exploit hypotheses; it rebuilds the graph each round and tests in batches in descending order of the confidence given by the planner.
    • Exploit Agents: Each hypothesis is tested in parallel by a subagent, using Python scripts or bash commands to send HTTP requests to the target; the agent does not judge success itself but hands the evidence to the oracle.
    • Reflection Agent: Each round summarizes successful exploits, failed hypotheses, key insights, and next steps as input to the next round's planner; in Algorithm 1 the loop is bounded by max rounds Rmax, and each agent also has a turn limit.
    • PoE Generation Agent: Is a conditional node, triggered only after the oracle confirms exploit success, and outputs reproduction steps, payload, environment details, and the observed effect.

    Effect oracle and isolation

    • Independent validation: The oracle holds only the ground truth it planted itself, such as a seeded file, an in-scope database value, or a signing key; it only reports whether the submitted evidence matches, without revealing the values themselves.
    • Validation methods: Table 1 specifies that the 8 classes of effects are verified respectively with content match, seeded file presence, DB row match, token validation, access validation, state-change checks, or out-of-band callbacks.
    • Anti-forgery: The oracle uses randomly generated flags; the agent is in a Docker sandbox on Host A, while the target, oracle, and listeners are on Host B; the agent cannot access the listener ports, so a reverse shell or beacon can only come from the target.

    WebExploitGym construction

    • Sources and filtering: Web application vulnerabilities are collected from NVD and GitHub Security Advisories, keeping only instances whose exploitation can produce one of the 8 classes of observable effects.
    • Instance contents: Each instance includes a deployable application of the vulnerable release, the seeded values needed to observe the effect, the CVE identifier, a summary, and the credentials needed for the attack.
    • Scale and contamination control: 25 instances in total, covering 5 languages, 7 frameworks, and 8 classes of effects; 14 have public PoEs and 11 do not; the authors state that all CVEs were disclosed after the training cutoff of the evaluated models.
  4. What experiments did the paper conduct?

    The experiments examine PoE conversion precision, the impact of architecture and seed source, and the three information conditions on real Web CVEs.

    Experimental setup

    • Models under test: Kimi K2.5, MiniMax M2.5, Sonnet 5; Figure 5 compares recall of these three backbones on the OWASP Python Benchmark under hypothesis graph and single-loop ReAct.
    • System models: the planner uses GLM-5; the PoE Generating model is the same as the exploit node, and the reflection model is the same as the planner. The authors state that the planner requires strong capability, and mention that cyber-safeguarded models such as Claude or GPT may refuse this stage.
    • Benchmarks: the OWASP Benchmark for Python has 1,230 test cases in total, of which the authors score 339 cases in 6 effect-verifiable categories, 129 of which are ground-truth positive; WebExploitGym has 25 real Web CVE instances.
    • Baselines: static analyzers CodeQL, Semgrep, Bandit, Bearer, Joern; dynamic analyzer OWASP ZAP; LLM-based detector Absentia.
    • Metrics and judgment: OWASP reports precision, recall, and union pass@3; WebExploitGym reports the number of targets for which an effect-verified exploit was generated, and re-executes PoEs to confirm reproduction.
    • Number of runs: OWASP uses union pass@3; WebExploitGym runs once per target per condition, and all generated PoEs are manually checked and re-executed.

    Main results

    Condition/settingResultSource
    WebExploitGym, advisory-informed10/25Figure 6
    WebExploitGym, Semgrep-seeded3/25Figure 6
    WebExploitGym, zero-knowledge4/25Figure 6
    OWASP Python, oracle-gated Ulysses precision1.000Figure 4a
    OWASP Python, graph self-verify precision0.422Figure 4a
    OWASP Python, Bare ReAct self-report precision0.193Figure 4a
    OWASP Python, CodeQL raw precision48%Main text RQ1
    OWASP Python, Absentia raw precision54%Main text RQ1
    • The authors state that about half of the flagged candidates from static analysis output are false positives, while the oracle-gated pipeline has precision of 1.000; this is constructed by the verification mechanism.
    • The authors argue that complex agents that explore more hypotheses have fewer false positives, but are least suited to judging whether their own exploits succeeded, because the effects are not observable.
    • For WebExploitGym, the authors state that the gap between informed and zero-knowledge shows that localization, rather than verification, is the main bottleneck.

    Ablations on architecture, models, and seed sources

    • Architecture effect: In Figure 5a, under the same 300-second per-route budget, hypothesis graph recall is 56.6% for Kimi K2.5, 55.0% for MiniMax M2.5, and 56.6% for Sonnet 5; single-loop ReAct is 8.5%, 7.0%, and 5.4%, respectively.
    • Model differences: The authors state that the three models are within 1.6 percentage points of each other under hypothesis graph, and that architecture choice has a greater effect than intrinsic model capability.
    • Seed sources: In Figure 5b, CodeQL-seeded recall is 0.380 for Kimi K2.5, 0.364 for MiniMax M2.5, and 0.380 for Sonnet 5; Absentia-seeded is 0.558, 0.535, and 0.558, respectively. The authors state that scanner quality sets an upper bound on recall, and that Absentia provides stronger candidates.

    Real case study

    • Target: CVE-2026-77914, an authenticated path traversal in rConfig 8.2.12; the advisory describes the vulnerability and affected component, but has no PoE, reproduction steps, or payload.
    • zero-knowledge: The authors state that the planner eventually found the vulnerable source code, but was misled by PathContainmentService and failed to confirm that the vulnerable endpoint was reachable, so it did not complete this target.
    • Semgrep-seeded and advisory-informed: The Semgrep findings include FileDownloadController.php:24, and Ulysses successfully generated a PoE using these findings; advisory-informed provides the vulnerability type and vulnerable endpoint, reducing the burden of hypothesis exploration.

    Other ablations and analyses

    • OWASP category coverage: The Figure 4b caption states that with the effect oracle, recall is retained in 5 of the 6 CWE categories; in the figure, Path Traversal is 1.0 and XXE is 0, and the bar heights of the remaining categories cannot be reliably matched in the converted text.
    • WebExploitGym application distribution: Figure 6b marks the 10 exploited applications under the advisory-informed condition, including filebrowser, astrbot, upsnap, rconfig, langflow, yamcs, fuxa, openemr, photoshow, crawl4ai, fireshare; the figure also marks 10/25, 3/25, 4/25.
    • New PoEs: The authors report generating working exploits for 4 advisories that previously had no public PoE, and disclosing them through coordinated disclosure.
  5. What are some points that can be further explored?

    The authors list limitations such as the effect types, the Day-N scope, and the oracle mechanism, and propose expanding the oracle categories.

    Limitations and future directions noted by the authors

    • Limited effect types: Future Work states that Ulysses is currently limited to vulnerabilities that can produce observable server-side effects, and also limited to Day-N vulnerabilities with existing reports.
    • Oracle extensibility: Future Work states that the oracle can later be extended to more effect classes, for example verifying memory-safety bugs through crash or sanitizer oracles.
    • Zero-day discovery unknown: Future Work states that the zero-knowledge condition still targets disclosed vulnerabilities; whether effect verification can support discovering undisclosed vulnerabilities remains an open question.
    • Mechanism blind: Threats to Validity states that the effect oracle is mechanism blind: it only confirms that the effect occurred via some vulnerability, not that it is necessarily the CVE under test; the authors mitigate this in the advisory-informed and static-analysis-seeded conditions with a route-and-vector assertion gate.
    • Training data memorization: Internal Validity states that post-cutoff disclosure cannot rule out that the model has seen source code that existed before the vulnerability disclosure in its training data, nor can it rule out that the model instead looks for known old vulnerabilities.
    • External validity: External Validity states that testing is limited to Web applications and 8 effect classes on running servers; XSS, DoS, memory vulnerabilities, and non-Web applications have no observable effects and are therefore not covered.

    Experimental coverage

    • The backbones under test are Kimi K2.5, MiniMax M2.5, and Sonnet 5, 3 in total; the planner uses GLM-5, the PoE model is the same as the exploit node, and the reflection model is the same as the planner.
    • The benchmarks are 339 effect-verifiable cases from the OWASP Benchmark for Python, and 25 real Web CVE instances from WebExploitGym.
    • Detection sources cover CodeQL, Semgrep, Bandit, Bearer, Joern, OWASP ZAP, and Absentia; WebExploitGym compares three conditions: advisory-informed, Semgrep-seeded, and zero-knowledge.
    • OWASP reports union pass@3; WebExploitGym runs once per target per condition, and all PoEs are manually checked and re-executed.
    • The paper does not report token cost, query counts, or total time for each WebExploitGym condition; it only says that each instance requires deploying a full application, and that running multiple sets of planner and exploit models is time-consuming and expensive.
  6. Summarize the main content of the paper

    Ulysses turns candidate vulnerability findings into PoEs verified by independent runtime effects, and builds the WebExploitGym evaluation.

    This paper addresses automated Web vulnerability validation: LLMs and static analysis can discover candidate vulnerabilities in large numbers, but the authors argue that self-reporting cannot prove exploit success.

    • Method: Ulysses uses a Planning Agent to generate a hypothesis graph, multiple Exploit Agents to test in parallel, and a Reflection Agent for cross-round feedback; only after an independent effect oracle confirms one of the 8 classes of observable effects does the PoE Generation Agent output a reproducible script.
    • Benchmark: WebExploitGym contains 25 real Web application CVE instances, covering 5 languages, 7 frameworks, and 8 classes of effects; each instance comes with a deployable vulnerable release and seeded state.
    • Precision results: On the 339 effect-verifiable cases of the OWASP Benchmark for Python, oracle-gated Ulysses precision is 1.000; graph self-verify without an oracle is 0.422, and Bare ReAct self-report is 0.193 (Figure 4a).
    • Architecture results: Under a 300-second per-route budget, the hypothesis graph's recall for Kimi K2.5, MiniMax M2.5, and Sonnet 5 is 56.6%, 55.0%, and 56.6%, respectively; single-loop ReAct is 8.5%, 7.0%, and 5.4%, respectively (Figure 5a).
    • Real vulnerability results: On WebExploitGym, advisory-informed generates 10/25 effect-verified PoEs, Semgrep-seeded 3/25, and zero-knowledge 4/25; the authors report that 4 of these advisories previously had no working PoE.
    • Authors' conclusion: The authors state that vulnerability localization is a key factor in real exploit coverage, with successful targets increasing from 4 to 10 once the location is given; future work needs to improve both vulnerability localization and model capability.
Read originalarxiv.org