Metraipolis › archive › dc_37af35432b00
Repairing Broken Access Control in Web Applications with LLMs: An Empirical Benchmark Study — arXiv:2610.34290
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.34290
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-27T08:01:13.580Z
- SHA-256 of the archived text
93faec8dfacfb978ab80ab365dd2e1a12632d8221b18e591d715cec40873d54c- Stable URL of this page
https://metraipolis.com/documento/dc_37af35432b00
How to cite
Repairing Broken Access Control in Web Applications with LLMs: An Empirical Benchmark Study — arXiv:2610.34290 — arXiv (en), https://arxiv.org/abs/2610.34290 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_37af35432b00 (Metraipolis archive dc_37af35432b00, sha256 93faec8dfacfb978ab80ab365dd2e1a12632d8221b18e591d715cec40873d54c)
BibTeX
@misc{dc37af35432b00,
title = {Repairing Broken Access Control in Web Applications with LLMs: An Empirical Benchmark Study — arXiv:2610.34290},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.34290},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_37af35432b00; sha256 93faec8dfacfb978ab80ab365dd2e1a12632d8221b18e591d715cec40873d54c},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.34290. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Broken access control (BAC) ranks among the most severe web-application vulnerability classes, yet its automated repair remains largely unexplored. Unlike memory-safety vulnerabilities, BAC is a logic vulnerability whose repair demands a deep understanding of an application's access-control model and business semantics, which traditional automated vulnerability repair techniques handle poorly. Large language models (LLMs) open a promising avenue for this problem, but no standard benchmark exists for studying how well they repair BAC vulnerabilities. We construct BAC-Bench, the first benchmark for BAC repair, consisting of 46 real-world BAC vulnerabilities drawn from six widely used web applications spanning four programming languages. Each vulnerability is equipped with a sandboxed runtime environment, a PoC validation program and a functional test program. We further propose a BAC repair-strategy framework that characterizes any BAC patch along four dimensions, Position, Coverage, Mechanism, and Content. Evaluating eight base LLMs and two commercial LLM agents on BAC-Bench, we find that single-turn base LLMs repair 37.68% of the vulnerabilities on average, while two minimal scaffolds, Apply-Feedback and Navigate-and-Locate, raise this average to 66.03%, with the best base LLM reaching 75.36%, close to the 78.99% of the best agent. Notably, some LLM-generated patches surpass the official patches, and one incidentally closed a zero-day vulnerability that had lain dormant for three years. Our findings delineate the current capability boundary of LLM-based BAC repair and offer guidance toward its practical adoption. Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno). Categorie arXiv: Cryptography and Security (cs.CR) ; Artificial Intelligence (cs.AI); Software Engineering (cs.SE). Pagina del lavoro: https://arxiv.org/abs/2610.34290 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-27T07:55:30.889Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).