2026-11-26 15:49 UTC

BAC-Bench: minimal scaffolds lift reported LLM access-control repair rates

state: seedheat: mediumuncertainty: mediumrelevance: highllm-cybersecurity access-control software-repairMingrui Liu

What is this?

A paper submitted to arXiv on 25 October 2026 introduces BAC-Bench, a benchmark of 46 real-world broken access-control vulnerabilities from six web applications in four programming languages, with sandboxed environments and tests. The authors report that two minimal repair scaffolds raised average success for base LLMs from 37.68% to 66.03%; the best base model reached 75.36%, versus 78.99% for the best tested agent. They also report that some generated patches outperformed official fixes and that one incidentally closed a dormant zero-day. The paper’s search result says the benchmark data, scaffolds, patches and scripts are publicly available. These are authors’ reported results, not independent validation.

Why it matters

Broken access control is a consequential, logic-heavy security problem that conventional automated repair often struggles with. BAC-Bench’s reported results suggest that practical scaffolding—giving models feedback and helping them navigate to relevant code—can substantially improve repair success, making LLM-assisted security maintenance more plausible. If replicated beyond this 46-case benchmark, the approach could help teams find and fix authorization flaws; it does not establish that autonomous patching is safe or ready for deployment.

Current assessment

New: an arXiv paper submitted 25 October 2026 introduces BAC-Bench, with 46 real-world access-control vulnerabilities from six applications across four languages, sandboxed runtime environments, proof-of-concept validation and functional tests. The authors report average repair rates of 37.68% for single-turn base LLMs and 66.03% with two minimal scaffolds; the best base model reached 75.36%, compared with 78.99% for the best of two tested commercial agents. They also report that some generated patches surpassed official fixes and that one patch incidentally closed a zero-day dormant for three years. A web result links the benchmark, scaffolds, generated patches and scripts as publicly available. These are paper-author claims; the supplied evidence contains no independent replication or adoption data. Results are bounded by the benchmark’s cases, models and evaluation setup, so they do not show broad production readiness or guarantee patches preserve all application behavior. Useful follow-up: inspect the paper’s evaluation criteria and public artifacts, and look for independent testing and evidence of regression risk.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 794h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

10-24 13:00⭐ origin echo-reconstructedThe paper presents 46 vulnerabilities across six applications and reports average repair rates of 37.68% for single-turn base LLMs and 66.03
Mingrui Liu et al. on paper (echo) · attributed from hn.story.50255703
—
10-27 07:31first on hacker news · published · +66.5hRepairing Broken Access Control in Web Applications with LLMs
50kIters
—
10-27 07:31amplified on hacker news 👑hn.story.50255703
50kIters
peak 2 · 0 comments · 103% of case engagement
10-27 08:27our radar first saw it · +67.5hdiscovery anchor: hn.story.50255703—
pace: p23 vs 879 stories at the 720h mark (now 794h old) — ahead of adap-delegated-authority-protocol-draft (2.0x), behind agentprobe-failure-injection-agent-testing (0.7x)

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnRepairing Broken Access Control in Web Applications with LLMs
Retrieved article excerpt

Open article · Retrieved 2026-10-27T08:28:27.926314+00:00

# Computer Science > Cryptography and Security

**arXiv:2610.34290** (cs)

[Submitted on 25 Oct 2026]

# Title:Repairing Broken Access Control in Web Applications with LLMs: An Empirical Benchmark Study

Authors:[Mingrui Liu](https://arxiv.org/search/cs?searchtype=author&query=Liu,+M), [Liang He](https://arxiv.org/search/cs?searchtype=author&query=He,+L), [Xinchu Wang](https://arxiv.org/search/cs?searchtype=author&query=Wang,+X), [Yeting Li](https://arxiv.org/search/cs?searchtype=author&query=Li,+Y), [Dongxu Han](https://arxiv.org/search/cs?searchtype=author&query=Han,+D), [Yunpeng Li](https://arxiv.org/search/cs?searchtype=author&query=Li,+Y), [Yuling Liu](https://arxiv.org/search/cs?searchtype=author&query=Liu,+Y)

View a PDF of the paper titled Repairing Broken Access Control in Web Applications with LLMs: An Empirical Benchmark Study, by Mingrui Liu and 6 other authors

[View PDF](https://arxiv.org/pdf/2610.34290)
[HTML (experimental)](https://arxiv.org/html/2610.34290v1)
> Abstract: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.

|  |  |
| --- | --- |
| Subjects: | Cryptography and Security (cs.CR); Artificial Intelligence (cs.AI); Software Engineering (cs.SE) |
| Cite as: | [arXiv:2610.34290](https://arxiv.org/abs/2610.34290) [cs.CR] |
|  | (or  [arXiv:2610.34290v1](https://arxiv.org/abs/2610.34290v1) [cs.CR] for this version) |
|  | <https://doi.org/10.48550/arXiv.2610.34290> Focus to learn more  arXiv-issued DOI via DataCite (pending registration) |

## Submission history

From: Mingrui Liu [[view email](https://arxiv.org/show-email/ceaef125/2610.34290)]   
 **[v1]**
Sun, 25 Oct 2026 13:45:32 UTC (2,764 KB)

Full-text links:

## Access Paper:

View a PDF of the paper titled Repairing Broken Access Control in Web Applications with LLMs: An Empirical Benchmark Study, by Mingrui Liu and 6 other authors

- [View PDF](https://arxiv.org/pdf/2610.34290)
- [HTML (experimental)](https://arxiv.org/html/2610.34290v1)
- [TeX Source](https://arxiv.org/src/2610.34290)

[view license](http://arxiv.org/licenses/nonexclusive-distrib/1.0/ "Rights to this article")

### Additional Features

- [Audio Summary](https://arxiv.org/audio/2610.34290)

### Current browse context:

cs.CR

[< prev](https://arxiv.org/prevnext?id=2610.34290&function=prev&context=cs.CR "previous in cs.CR (accesskey p)")
  |   
[next >](https://arxiv.org/prevnext?id=2610.34290&function=next&context=cs.CR "next in cs.CR (accesskey n)")

[new](https://arxiv.org/list/cs.CR/new)
 | 
[recent](https://arxiv.org/list/cs.CR/recent)
 | [2026-10](https://arxiv.org/list/cs.CR/2026-10)

Change to browse by:

[cs](https://arxiv.org/abs/2610.34290?context=cs)  
[cs.AI](https://arxiv.org/abs/2610.34290?context=cs.AI)  
[cs.SE](https://arxiv.org/abs/2610.34290?context=cs.SE)

### References & Citations

- [SciX](https://scixplorer.org/abs/arXiv:2610.34290)
- [Google Scholar](https://scholar.google.com/scholar_lookup?arxiv_id=2610.34290)
- [Semantic Scholar](https://api.semanticscholar.org/arXiv:2610.34290)

export BibTeX citation
Loading...

## BibTeX formatted citation

×

loading...

Data provided by:

### Bookmark

[BibSonomy](http://www.bibsonomy.org/BibtexHandler?requTask=upload&url=https://arxiv.org/abs/2610.34290&description=Repairing Broken Access Control in Web Applications with LLMs: An Empirical Benchmark Study "Bookmark on BibSonomy")
[Reddit](https://reddit.com/submit?url=https://arxiv.org/abs/2610.34290&title=Repairing Broken Access Control in Web Applications with LLMs: An Empirical Benchmark Study "Bookmark on Reddit")



Bibliographic Tools

# Bibliographic and Citation Tools

Bibliographic Explorer Toggle

Bibliographic Explorer *([What is the Explorer?](https://info.arxiv.org/labs/showcase.html#arxiv-bibliographic-explorer))*

Connected Papers Toggle

Connected Papers *([What is Connected Papers?](https://www.connectedpapers.com/about))*

Litmaps Toggle

Litmaps *([What is Litmaps?](https://www.litmaps.co/))*

scite.ai Toggle

scite Smart Citations *([What are Smart Citations?](https://www.scite.ai/))*

Code, Data, Media

# Code, Data and Media Associated with this Article

alphaXiv Toggle

alphaXiv *([What is alphaXiv?](https://alphaxiv.org/))*

Links to Code Toggle

CatalyzeX Code Finder for Papers *([What is CatalyzeX?](https://www.catalyzex.com))*

DagsHub Toggle

DagsHub *([What is DagsHub?](https://dagshub.com/))*

GotitPub Toggle

Gotit.pub *([What is GotitPub?](http://gotit.pub/faq))*

Huggingface Toggle

Hugging Face *([What is Huggingface?](https://huggingface.co/huggingface))*

ScienceCast Toggle

ScienceCast *([What is ScienceCast?](https://sciencecast.org/welcome))*

Demos

# Demos

Replicate Toggle

Replicate *([What is Replicate?](https://replicate.com/docs/arxiv/about))*

Spaces Toggle

Hugging Face Spaces *([What is Spaces?](https://huggingface.co/docs/hub/spaces))*

Spaces Toggle

TXYZ.AI *([What is TXYZ.AI?](https://txyz.ai))*

Related Papers

# Recommenders and Search Tools

Link to Influence Flower

Influence Flower *([What are Influence Flowers?](https://influencemap.cmlab.dev/))*

Core recommender toggle

CORE Recommender *([What is CORE?](https://core.ac.uk/services/recommender))*

- Author
- Venue
- Institution
- Topic


About arXivLabs

# arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? [**Learn more about arXivLabs**](https://info.arxiv.org/labs/index.html).

[Which authors of this paper are endorsers?](https://arxiv.org/auth/show-endorsers/2610.34290) |
Disable MathJax ([What is MathJax?](https://info.arxiv.org/help/mathjax.html))
50kIters20
🟧 echo.paper ⭐The paper presents 46 vulnerabilities across six applications and reports average repair rates of 37.68% for single-turn base LLMs and 66.03Mingrui Liu et al.——

Interpretation history

Decision trace