Manuscript Offprint

arXiv:2610.17542

Discovery or Memorization? A Faithful Benchmark for Real-World Business-Logic Vulnerability Discovery

Rui Yang, Yichao Xu, Zhuohao Zhang, Jiahao Ji, Chaowei Xiao, Yinzhi Cao, Ziyang Li

ABSTRACT

The rapid advancement of cybersecurity agents in vulnerability discovery has increased the need for benchmarks that evaluate their capabilities accurately. However, synthetic benchmarks lack realism, real-life benchmarks are prone to contamination, and many existing benchmarks have already been saturated by current models. We therefore set out to develop a benchmark that is realistic, reproducible, resistant to contamination, and challenging. Our key insight is that real-life business-logic vulnerabilities are subtle and exercise complex application interactions, making them naturally demanding. The difficulty lies in specifying evaluation criteria precise enough to faithfully measure model capabilities while keeping the tasks free of data-leakage. We introduce ANONVUL, a cross-language benchmark of 132 application-level business-logic vulnerabilities, built by a semi-automated pipeline that anonymizes each task, injects oracles from expert-written specifications, and differentially verifies proof-of-concept exploits. The benchmark spans nine languages, with two evaluation tracks on black-box and grey-box settings, where each task runs in a sandbox with specialized oracles embedded in key exploitation steps. We evaluate six state-of-the-art vulnerability-discovery agents on the ANONVUL benchmark, measuring discovery success, cost-effectiveness, anonymization sensitivity, oracle validity, and failure modes. Our results show that AnonVul remains challenging, with the best agent succeeding in only 23.11% of attempts. On a matched cohort of 20 vulnerabilities, restoring software identity increases discovery from 21.25% to 40.83%, highlighting the importance of controlling recognizable software knowledge when evaluating vulnerability discovery.

1 INTRODUCTION

Cybersecurity has become a prominent testbed for the capabilities of large language models (LLMs) and autonomous agents (Guo et al., 2024; Nie et al., 2025; Carlini et al., 2025). Advancements are motivated by the need to improve security in increasingly complex software systems that are also rapidly produced by AI models. Recent benchmarks evaluate systems on tasks ranging from capture-the-flag (CTF) (Yang et al., 2023; Shao et al., 2024) challenges to vulnerability discovery and end-to-end exploitation (Zhang et al., 2025b). However, challenge suites become increasingly saturated as models' capability improves, making benchmark performance harder to interpret.

Benchmarks containing synthetic vulnerabilities (Zhang et al., 2025b) offer reproducibility and objective success criteria, but may not test whether models can find real vulnerabilities. Benchmarks built from real vulnerabilities in advisory databases (CVE, GHSA, Snyk) (Zhu et al., 2025; Zhang et al., 2025a; Wang et al., 2026d; Shi et al., 2026) are realistic, but their public software identity cues let models recognize a previously seen vulnerability, leaking the answer. This motivates the central question of this work: are current AI agents genuinely discovering complex vulnerabilities from first principles, or merely memorizing them?

Figure

Figure 1: Three tiers of software vulnerabilities, by how application-specific the violated invariant is. (a) Low-level, over the language runtime (memory, threads); (b) generic application-level, over system components (databases, file systems, shells); (c) business-logic, defined by application-specific policy over users, resources, and workflows, beyond any generic signature. ANONVUL targets tier (c).

Our key insight is to center the benchmark on application-level business-logic vulnerabilities. As illustrated in Figure 1, unlike low-level or app-generic faults that surface as syntactic patterns or runtime signals, these vulnerabilities are defined by application-specific policy and semantic relations, so discovering them demands genuine end-to-end reasoning rather than pattern matching. This choice raises two evaluation problems, which we address by design. First, grading for such vulnerabilities is subtle, so we judge by a passive relational runtime oracle that checks the resulting application effect, paired with a differentially verified counterfactual control. Second, public identity cues let an agent recognize a known vulnerability rather than discover it, so we anonymize each vulnerability, removing identity cues across its source and runtime surfaces while preserving the security semantics.

We introduce ANONVUL, a cross-language benchmark of 132 application-level business-logic vulnerabilities. The vulnerabilities span nine programming languages and 36 common weakness enumerations (CWEs). Each containerized vulnerability is built by a semi-automated pipeline that (a) recovers the vulnerability's semantic contract, (b) constructs the execution environment and scenario, (c) removes identity cues from the agent-visible surfaces, and (d) independently certifies normal functionality, vulnerable behavior, and matched patched behavior. We evaluate every vulnerability under two matched settings: BLACKBOX exposes only the running application and task-specific attacker authority, while GREYBOX additionally provides an isolated read-only source snapshot.

We perform an extensive study of six current agent systems across multiple dimensions, including verified discovery under matched BLACKBOX and GREYBOX access, scaling experiments on difficult vulnerabilities, sensitivity to identity cues, oracle validity, and trajectory-level failure modes. Our experimental results show that ANONVUL is challenging, where the best evaluated system achieves only 23.11% verified discovery. Increasing the time and monetary budget only recovers 8 of 160 attempts, with marginal returns dropping sharply after 20 minutes. Specifically regarding memorization, 31.3% of Visible cells invoke concrete prior knowledge of the target software, and on the selected cohort restoring software identity cues increases discovery by 19.58 pp, indicating that models heavily rely on identity cues and underscoring the value of our benchmark.

In summary, this work makes four contributions: (1) we introduce ANONVUL, a benchmark of 132 recent, executable application-level logic vulnerabilities that evaluates AI agents under matched target-hidden blackbox and greybox settings; (2) we develop a scalable, semi-automatic construction methodology that reconstructs real vulnerabilities into faithful end-to-end exploitation tasks; (3) we introduce semantics-preserving removal of software identity cues and passive relational runtime oracles, which reduce recognition cues, preserve security semantics, and provide precise verification of successful exploitation; and (4) we conduct a systematic evaluation revealing the remaining gap between memorization and reliably discovering real application-logic vulnerabilities.

References (77)