RECEIPT: Deterministic, Reward-Hacking-Resistant Verification for White-Box Agentic XSS Discovery
Muxi Lyu, Karen Shieh, Yiwei Hou, Hao Wang, Koushik Sen, David Wagner
Abstract
Cross-Site Scripting (XSS) remains one of the most prevalent and damaging classes of web vulnerabilities. LLM-based coding agents offer a promising approach to XSS discovery by combining source-code reasoning with interactive testing against a running application. However, a coding agent's claims cannot be trusted on their own. We characterize three reward-hacking behaviors in white-box agentic XSS discovery and propose three requirements that an ideal verifier should meet. We present RECEIPT, a verification framework that makes agent-reported XSS findings trustworthy by enforcing environment isolation, PoC constraints, role separation, and verdict binding. Each confirmation therefore establishes two properties: the script runs in a real browser, and the payload was planted under the attacker role and executed in the victim role's browser. This constrained replay procedure makes validation deterministic and reproducible. We evaluate RECEIPT on 95 real-world web-application targets drawn from popular open-source projects. Within a $20 per-application budget, RECEIPT found 24 previously unknown XSS vulnerabilities, 12 of which have already been acknowledged by maintainers after responsible disclosure, and recovered the labeled CVE in 36% of known-vulnerability recovery targets. Compared with the same agent using self-judgment and with black-box scanners, RECEIPT confirms more real exploits while admitting no false positives.
Create a lesson
Related papers
Agentic Discovery of Soundness Bugs in Safe Rust Bindings
Shared title terminologycs.CRMarius Momeu, Koushik Sen
Silence Is Endorsement: Verification-Status Laundering in LLM Agent Pipelines
Shared title terminologycs.CRYibo Hu
A Multi-Model Hybrid Defense Approach Against White-box Adversarial Attacks in Computer Network Traffic
Shared title terminologycs.CRKhushnaseeb Roshan
AgentLens: Graph-guided Security Auditing for LLM-based Agents
Shared title terminologycs.CRPeizhuo Lv, Tao Chen, Mengya Shi et al.
Latent-in-the-Middle: On the Security of Cross-Model Latent Communication in Multi-Agent Systems
Shared title terminologycs.CRManit Baser, Vyoman Jain, Rachel Yeo Hui Min et al.
Agentic-Level Adversarial Purification: Revisiting Diffusion Purifiers on Native-Resolution Agentic Inputs
Shared title terminologycs.CRYan Lin, Zhongliang Guo, Jingyu Lin et al.