Stanford and UC Berkeley release MobileCybench: evaluating agent vulnerability discovery with executable probesMobileCybench: Evaluating Agent Vulnerability Discovery via Executable Probes
Quick read
Evaluation and benchmarksBased on the paper PDF (generated by Gemini); refer to the original
The authors use probes to evaluate 5 agents testing 13 Android applications; GPT-5.6-Sol achieves a trigger rate of 53.8% under the APK-obfuscated malicious app setting.
- AI agents submit software vulnerability reports at a speed far exceeding maintainers' review capacity, and determining whether an exploit is valid requires manual analysis combined with application-specific security properties, which is costly. Existing benchmarks focus only on known CVEs or generic crashes and cannot evaluate agents' violations of application-specific business security properties.
- Proposes a framework for evaluating exploits using executable probes and builds the MobileCyBench benchmark (495 probes) across 13 Android applications. Agents generate malicious APKs or remote exploit scripts, the evaluator replays them in an isolated environment, probes check for compromised state, and vulnerabilities are attributed via patch differential.
- Across 5 agents, the overall trigger rates in APK-only and source-visible settings are 28.8% and 32.8%, respectively. OpenCode/GPT-5.6-Sol achieves a trigger rate of 53.8% on APK-only malicious apps. All triggers come from app-specific probes; generic probes are never triggered.
- The benchmark covers only 13 Android applications that can be built from source; probes rely on manual judgment and do not represent all properties; non-trigger only indicates no violation of the checked properties; attribution depends on available patch differentials; some agents have provider security refusals; host compute and model service backend fluctuations were not audited.
- Evaluated models
- OpenCode/GPT-5.5 (openai/gpt-5.5)OpenCode/GPT-5.6-Sol (openai/gpt-5.6-sol)OpenCode/GLM-5.2 (zai-org/GLM-5.2)Claude Code/Opus 4.8 (claude-opus-4-8)Claude Code/Opus 5 (claude-opus-5)
- Benchmarks
- MobileCyBench
- Metrics
- trigger rate (pass@2)distinct vulnerabilities detected
Researchers from Stanford and UC Berkeley propose MobileCybench, using executable probes to evaluate AI Agents' ability to find vulnerabilities in Android applications; the probes check the application's security properties rather than a list of known vulnerabilities, so vulnerabilities unknown at the time the probes were written can be scored. The benchmark contains 13 open-source Android applications and 495 probes written and reviewed by the authors, covering four classes of properties: confidentiality, integrity, availability and access control, and sets up two attack scenarios, a malicious application and a remote attacker, each further divided into two access levels: only an obfuscated APK provided and visible source code. All triggers came from application-specific probes; generic probes never triggered. During construction and running of the benchmark, 23 previously unreported vulnerabilities were found, 12 of which have been confirmed by maintainers, of which 7 have been patched and 5 confirmed, and 6 have received public CVE numbers.
Why it was selectedThe paper presents an evaluation framework with 13 Android apps and 495 probes, and discloses 23 previously unreported vulnerabilities, comparable to how existing agent security benchmarks are scored.
Paper analysis
What problem does this paper attempt to solve?
The explosion of agent vulnerability reports causes review overload; the paper addresses how to perform executable automated evaluation of reports that break application-specific security properties.
Evaluating agent-submitted vulnerability reports requires heavy manual review, and existing benchmarks based on known CVEs or generic crashes cannot automatically verify vulnerabilities that break app-specific business security properties.
- The real challenge of review overload: AI agents submit vulnerability reports faster than maintainers can review them, and judging whether an exploit holds depends heavily on app-specific business logic and security properties (such as location spoofing).
- Limitations of existing evaluation benchmarks: existing benchmarks either bind checks to specific states or differential builds of known vulnerabilities, so they cannot score unknown vulnerabilities; or they only check generic crashes or memory-safety violations, so they cannot capture app-specific security issues.
- Core idea and property probes: an app security property is a condition the system must satisfy; violating it corresponds to a security property failure. Writing these properties as independent executable probes (Probes) allows determining whether an exploit succeeds without needing known vulnerability signatures.
- Threat Model:
- Target and scope: the agent finds and exploits high-impact vulnerabilities in the target app that violate confidentiality, integrity, availability, or access control.
- Malicious app setting: the attacker controls an ordinary-permission app on the same device, using standard user-level capabilities such as IPC, Intents, broadcasts, and Content Providers; it cannot request signature or privileged permissions, and cannot use root, UI automation, or test instrumentation.
- Remote attacker setting: the attacker holds a low-privilege non-admin account on the app's backend and attacks the backend over network requests to affect other victim accounts without authorization, with no victim credentials or internal backend privileges.
- Victim system: the target app running in an Android emulator and an isolated self-hosted backend service.
What related research exists?
Related work includes agent cybersecurity benchmarks for network and host environments, Android system security analysis tools, and security-property verification as executable checks.
Related work mainly covers three directions: agentic cybersecurity benchmarks, Android mobile security evaluation, and security property verification based on executable test assertions.
Agentic Cybersecurity Benchmarks
- Known vulnerability result matching: Cybench (Zhang et al., 2025b) uses capture-the-flag mechanisms; CVE-Bench (Zhu et al., 2025) records CVE attack outcomes; SEC-bench (Lee et al., 2025) matches Sanitizer reports for known vulnerabilities; ExploitBench (Lee & Brumley, 2026) places flags in the V8 exploitation phase; BountyBench (Zhang et al., 2025a) verifies whether exploits fail based on maintainer patches. The authors note that these works bind checks to known vulnerabilities and cannot score unknown vulnerabilities.
- Generic runtime invariant class: CyberGym (Wang et al., 2026; Shi et al., 2026), AIxCC (Zhang et al., 2026), and BountyBench's runtime checks focus on generic service crashes or unavailability. The authors note that such generic metrics cannot capture application-specific business logic violations.
Android System Security Research
- Mobile security benchmarks and tools: Ghera (Mitra & Ranganath, 2017) builds a repository of Android applications with known vulnerabilities; CHEX (Lu et al., 2012) statically reviews component hijacking; A2 (Wang & Zhou, 2025) uses agents to mine Android vulnerabilities and validates them via LLM-generated oracles. The authors note that existing cybersecurity benchmarks run on Linux hosts or web applications and do not cover Android-specific IPC, component export, and WebView attack surfaces.
Security Properties as Executable Checks
- Test assertions and security policies: Runtime verification (Leucker & Schallhart, 2009), mutation-based security testing (Mai et al., 2020), and Sanitizers (Serebryany et al., 2012) monitor runtime anomalies; mandatory security policies (Schneider, 2000) define prohibited behaviors; CWEval (Peng et al., 2025) equips code generation tasks with executable security tests.
Baseline Methods and Benchmark Positioning
- Comparison baselines and positioning: The benchmark evaluates 5 code agents: OpenCode (with GPT-5.5, GPT-5.6-Sol, GLM-5.2) and Claude Code (with Opus 4.8, Opus 5). The authors position MobileCyBench as an evaluation benchmark that assesses agents' open-ended vulnerability discovery capabilities on real, runnable Android applications and backends, using 495 manually written security property probes and patch differential attribution.
How does the paper address this problem?
Construct MobileCyBench with 13 Android applications, using 495 executable probes to check state, and attribute vulnerabilities through patch differential execution.
The paper proposes a vulnerability evaluation framework based on executable probes, instantiated as MobileCyBench, which replays exploit scripts, runs probes to check system state changes, and attributes vulnerabilities via patch differential.
Problem Setting and Evaluation Process
The evaluation task is formalized as a combination of target application environment, attack setting, access level, and hidden probe suite. Probes are executable assertions independent of specific attack techniques; if the victim system's state after attack replay violates the expected property, the probe triggers.
Probe Design and Two-Level Scoring System
- Application-Specific Probes: Based on source code, documentation, and preliminary pilot tests, the authors outline four property categories for each application: confidentiality, integrity, availability, and access control (CIAA), checking for unauthorized server-side modifications, unauthorized file reads, unauthorized device control, etc. (Section A.2).
- Generic Probes: In the malicious app setting, an additional 9 generic checks (81 instances total) are included, checking for process crashes, planted secret leakage, controlled file tampering, and container availability (Section B.7).
- Trusted State Collection: Probes only read trusted state such as emulator logs, server-side databases, or backend REST APIs, and do not trust attacker process standard output or local marker files (Section A.2).
Attack Execution and Sandbox Replay Protocol
- Development Phase: Agents are given a 2-hour time limit in a Kali Linux container, with ADB, APK toolchain, and development-specific credentials, and can freely interact and iterate on testing (Section B.3).
- Exploit Submission Contract: The malicious app setting submits a project directory containing source code, with permission requests limited to normal or dangerous levels; the remote attack setting submits an executable exploit.sh script (Section B.1).
- Independent Environment Replay: The evaluator replays in a reconstructed Android virtual machine (Pixel 2 profile) and Docker Compose backend, strictly isolating development credentials, automatically performing victim login operations before executing the attack and running probes (Section B.4, B.5).
Patch Differential Vulnerability Attribution Mechanism
- Reference Vulnerability Library Construction: For discovered candidate vulnerabilities, the vulnerable baseline build is paired with a minimal fix patch written by the authors (or an upstream fix) to form attribution packages (Section D.3).
- Dual-Build Differential Determination: The saved exploit that triggered a probe is replayed on both the unpatched and patched versions. The exploit is attributed to the corresponding reference vulnerability if and only if the probe triggers on the unpatched version and remains silent on the patched version (Section D.4).
What experiments did the paper conduct?
Evaluating 5 agents across 13 applications with 250 configurations total, GPT-5.6-Sol has the highest trigger rate, and all triggers come from application-specific probes.
Experiments systematically evaluate the vulnerability discovery and exploit generation capabilities of 5 agents across 4 settings on 13 real Android applications and a self-built backend.
Experimental Setup
- Models and Agents Under Test: OpenCode/GPT-5.5, OpenCode/GPT-5.6-Sol, OpenCode/GLM-5.2, Claude Code/Opus 4.8, Claude Code/Opus 5, totaling 5 code agents (Table 6).
- Test Applications and Benchmark: Covers 13 open-source applications: Audiobookshelf, Conversations, Home Assistant, Jerboa, Moe Memos, Moodle Mobile, Nextcloud Talk, ntfy, openHAB, ownCloud, OwnTracks, Termux, wallabag (Table 1).
- Attack and Access Settings: Includes two paths: Malicious app and Remote attacker, each evaluated at two access levels: obfuscated APK (APK-only) and source-visible. Termux has no backend and no remote tasks, resulting in a total of 250 configurations across the full grid (Section 4.1).
- Evaluation Metrics: Configuration trigger rate (pass@2, success if triggered in either of two attempts), and number of distinct vulnerabilities detected (after deduplication and attribution).
- Determination and Review Method: Determined by 495 preset probes reading trusted system state, with no subjective LLM scoring (Section 2.2, Table 1).
- Run Budget and Repetition: Each configuration runs independently 2 times, with a single run time limit of 2 hours (7200 seconds), totaling 500 agent generation runs across the full grid (Section B.3).
Main Results
The table below summarizes the configuration trigger rates (pass@2) for the 5 agents under each attack setting and access level (from Table 10 and Table 11):
Swipe horizontally to read the table
Agent Malicious app (APK) Malicious app (source) Remote attack (APK) Remote attack (source) Distinct vulnerabilities detected OpenCode/GPT-5.5 46.2% 46.2% 16.7% 33.3% 13 OpenCode/GPT-5.6-Sol 53.8% 53.8% 16.7% 25.0% 14 OpenCode/GLM-5.2 15.4% 30.8% 16.7% 16.7% 6 Claude Code/Opus 4.8 38.5% 38.5% 16.7% 16.7% 9 Claude Code/Opus 5 46.2% 38.5% 16.7% 25.0% 10 - Best-performing agent: OpenCode/GPT-5.6-Sol achieves the highest trigger rate of 53.8% in the APK-only malicious app setting and detects the most distinct vulnerabilities at 14 (Table 10, Table 11).
- Gain from source access: Overall configuration trigger rate increases from 28.8% in APK-only to 32.8% with source visible (Figure 4a), and the number of distinct vulnerabilities detected increases from 12 to 17 (Figure 4b).
- Generic probes completely silent: Across all 80 triggered runs from malicious apps, the 81 generic check probes triggered 0 times; all triggers were captured by application-specific probes (Section 4.2, Table 3).
Vulnerability Attribution and Reproducibility Analysis
- Repeated triggers strongly point to the same vulnerability: Among 47 configurations where both attempts triggered, 42 were attributed via patch differential to the exact same vulnerability package, only 2 were attributed to different vulnerabilities, and 3 were not fully determined (Section C.2).
- Remote exploits are more stable than local ones: Given a first-round trigger, the second-round reproduction rate for remote attacks is 20/22, while for malicious app settings it is 27/41; the authors note that local Android IPC exploits have higher timing and environmental instability (Section C.2).
Provider Safety Mechanism Refusal Analysis
- Claude Code shows refusals: Claude Code/Opus 4.8 has a refusal rate of 25.0% (24/96), and Claude Code/Opus 5 has a refusal rate of 42.4% (42/99), mostly occurring during the malicious app construction phase (Section C.6).
- OpenCode agents have no recorded refusals: Under OpenCode, GPT-5.5, GPT-5.6-Sol (with cybersecurity trusted access), and GLM-5.2 all recorded no provider content safety blocks (Section C.6).
Pretraining and Runtime Contamination Audit
- External retrieval blocked by network restrictions: In 15 APK-only triggered runs that attempted to retrieve public code or metadata, all external requests were blocked by a proxy returning 403 (Table 17).
- Known vulnerability reconstruction case: In the ownCloud task, some agents exploited the logic of CVE-2023-49105, which was public as early as 2023; the authors explicitly classify this as reconstruction rather than new discovery (Section D.8).
Other Ablations and Analyses
- No-agent baseline validation: Replaying no-op scripts across 25 application-setting pairs, the probe trigger rate is 0/25 (Section A.6).
- Reference exploit probe coverage: Among 24 attribution packages containing reference exploits, the standard probe suite successfully triggered 19 (79%) (Section A.5).
- API cost statistics: 500 runs consumed a total API cost of $6,973.19, with a median per-configuration cost of $10.95 (Table 20).
- Paired significance tests: After merging both access levels, OpenCode/GLM-5.2 and OpenCode/GPT-5.6-Sol show a significant difference (p = 0.004), while all other adjacent ranking differences are not significant (Section C.1).
What are some points that can be further explored?
The authors note limitations including incomplete probe coverage and the need for manual maintenance; the experiments do not cover iOS, and only 13 apps were tested.
The paper identifies clear limitations in probe design and maintenance, attribution dependencies, and has established boundaries in the scope of evaluation applications and execution environment.
Limitations noted by the authors and future directions
- Probe coverage cannot represent all vulnerabilities: Since the total number of actual vulnerabilities in unknown applications is unknown, the probe suite cannot claim coverage of all potential vulnerabilities; probe silence only indicates no violation of the tested attributes (Section 6, Section B.8).
- Long-term maintenance overhead of the probe set: As application functionality continuously iterates and code evolves, the security attribute probes themselves need continuous synchronized maintenance and updates; building the benchmark single application takes about 30 person-hours (Section 6).
- Subjectivity in attribute selection: The tested attributes of each application derive from the authors' analysis of source code and documentation and pilot runs, reflecting the authors' subjective judgment and may not represent all Android security attributes (Section A.4, Section B.8).
- Some exploits are difficult to fully replay without human involvement: There is 1 known exploit that requires a real victim user to actively interact to open the payload for it to take effect; the current unattended automated replay framework cannot reproduce it (Section A.5).
- Attribution depends on complete engineering artifacts: Patch-diff attribution must rely on saved exploit code, fixed target states, and compilable patch versions; some downloaded APK runs cannot reconstruct the diff (Section D.5).
Experimental coverage scope
- Platform covers only Android: The experiments tested only the Android mobile platform, not other mobile operating systems (Section B.8).
- Application sample size is 13: The evaluation objects cover only 13 open-source applications that can be compiled from source and have self-built backends, not a random sample (Section 3, Section B.8).
- A total of 5 test models: The experiments evaluated only 3 OpenCode-driven and 2 Claude Code-driven agent configurations (Table 6).
- Host hardware resources not fully fixed: The paper did not fix the host vCPU, memory, and SSD computing hardware allocations in the logs (Table 18).
- Provider backend model versions not locked: Closed-source model APIs may change behind the same model identifier; the paper did not record specific backend endpoint fingerprints (Section B.3, Section B.8).
Summarize the main content of the paper
MobileCyBench proposes to automate the evaluation of agents' vulnerability discovery capabilities and actual exploitation across 13 Android applications through executable probes.
This study proposes MobileCyBench, an automated evaluation benchmark based on executable security-property probes, to measure AI agents' vulnerability discovery and exploit generation capabilities in mobile applications and backend environments.
- Core positioning and challenges: To address the problem of AI agents generating an overload of vulnerability reports without business security judgment criteria, the benchmark moves away from reliance on known CVE signatures and instead checks whether inherent application security properties are violated.
- Benchmark construction mechanism: It covers 13 runnable open-source Android applications and an isolated backend, with 495 manually reviewed check probes covering CIAA properties, supporting both malicious-app and low-privilege remote-attack scenarios.
- Exploit replay and differential attribution: The evaluator replays agent-submitted exploits in an independent sandbox and a rebuilt simulator, combining probe trigger results with pre- and post-patch differences to achieve precise attribution of specific vulnerabilities.
- Key experimental findings: Evaluating 5 code agents, OpenCode/GPT-5.6-Sol achieves the highest trigger rate of 53.8% on APK-only malicious apps; all effective triggers come from app-specific probes, and no generic probe is triggered.
- Real vulnerabilities and security implications: The study uncovers 23 previously unreported application vulnerabilities, of which 12 have been confirmed by maintainers and 6 have been assigned CVEs; the authors note this reflects that the tested agents can already construct exploits that break security properties in some real applications.