Papers for

web application developers

Papers whose findings have a practical use for this group, as judged from the abstract. Open a paper to read what it means in practice.

RouteDRAG improves multimodal document question answering accuracy

RouteDRAG: Learning to Route and Control Agentic Execution for Multimodal Document RAG

Abstract: Web-based applications increasingly rely on understanding long multimodal documents, where answering questions often requires combining information across pages, tables, and figures. Agentic retrieval-augmented generation addresses these tasks through iterative retrieval and reasoning. However, Agentic execution is not always necessary, introducing additional computation and potentially incorrect answers. Our empirical analysis reveals that Agentic execution provides query-dependent benefits, while additional operations may improve, preserve, or degrade answer accuracy. These findings motivate controlling both Agent invocation and subsequent execution. To address these challenges, we propose RouteDRAG, a learning-based framework comprising four components. Unified Document Index organizes multimodal content into a graph-backed index and derives query representations from initial retrieval. Adaptive Path Routing preserves exact answering and predicts the relative benefit of Agent over shorter execution paths. Dynamic Agent Execution maintains an evolving workspace and refines Planner proposals to control tool use and termination. Sequential Policy Learning first trains operation control from observed outcomes and then trains path routing using the resulting Agent's performance. Across two benchmarks, RouteDRAG achieves an average accuracy improvement of 3.47 percentage points over shorter-path-only execution while assigning only 79.3% of queries to Agent. Notably, it also surpasses uniform Agent execution on both benchmarks while requiring fewer answering calls. Our code is now available at https://github.com/Ereshkigal1/RouteDRAG.

Tue 27 OctArtificial Intelligence
The gist
Answering questions from long documents with text, tables, and images can be tricky because it requires combining lots of information. The authors found that sometimes a step-by-step agent approach helps, but not always, and using it too much can slow things down or cause errors. They created RouteDRAG, a method that decides when and how to use this agent approach efficiently. This improves accuracy while cutting down unnecessary extra work in answering questions.
Open → 2610.36444v1

Large language models repair web app access errors with growing success

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

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.

Sun 25 OctCryptography and SecurityArtificial IntelligenceSoftware Engineering
The gist
Broken access control is a common and serious security problem in web applications, where users might see or change things they shouldn't. Traditional automated methods struggle to fix these complex logic errors because they require understanding how the app works. The paper’s authors created a benchmark with real-world examples to test how well large language models (LLMs) can fix these errors. They found that LLMs, especially when guided with certain strategies, can fix many access control problems, sometimes even improving on original patches. This shows promise for using AI to help secure web apps better.
Open → 2610.34290v1

Tool converts .NET computational models to run in browsers

Backend-Frontend Converter: Component-Based Conversion of .NET Computational Models to TypeScript

Abstract: Computational models developed in .NET often need to run locally within web applications. We present Backend--Frontend Converter, an architecture for generating TypeScript implementations of component-based models. The converter maps components, connections, aliases, and formula trees to model-specific TypeScript code. Reusable runtime libraries provide numerical integration, data access, and state handling. We evaluate stored generated implementations through four orbital scenarios and a recorded trading-strategy comparison. Orbital calculations execute in a browser and are paired with C\# results by crossing event and timestamp; trading outputs are aligned by date. Analytic scheduler tests and deliberately perturbed outputs assess the validation procedure. Each orbital scenario produces 91 paired events with identical timestamps. Position and velocity differences remain below $(10^{-6}\)~km$ and $(10^{-9}\)~km/s$. All 20 analytic scheduler checks pass, and the comparator detects each of three prescribed state and time perturbations. The trading comparison contains 501 aligned daily records with matching indicator values, positions, and order events. The evaluated implementations preserve the compared outputs across the C#/TypeScript boundary. Component-specific generation and reusable execution libraries provide a practical route from supported .NET computational models to TypeScript applications.

Sat 17 OctComputation and LanguageSoftware Engineering
The gist
Many complex calculations made in .NET need to work inside web browsers, which use a different programming language called TypeScript. The authors built a tool called Backend-Frontend Converter that automatically turns these .NET model parts into TypeScript code so they can run locally in browsers. They tested the converted models on space orbit and trading examples, showing the results matched very closely with the original .NET outputs. This allows web applications to perform heavy calculations without relying on servers.
Open → 2610.24492v1

Matoi improves agent authorization by selectively revalidating evidence

Matoi: Selective Revalidation of Consequence Evidence for Agent Authorization

Abstract: Matoi separates reusable consequence evidence from current execution authority and durable occurrence history. Its finite query-aware contract covers branches, ordered collections and negative lookups. A consumer reuses only its own checked evidence whose observations remain valid; signed requests, live grants, quota and uncertain outcomes remain separate obligations. Conditional correctness arguments distinguish locally serialized claims from nontransactional remote effects. Two studies strengthen cost attribution and domain evaluation. A 1,440-cell matched-wire study repeats 144 authored inputs. With compact input bytes identical, reuse reduces complete lifecycle cost by 3.49 percent in JS and 1.79 percent in Python. Combined representation/reuse reductions against full proof are 10.87 and 16.53 percent; five of twelve family intervals for the matched comparison cross one in each language. A prospectively frozen AgentDojo Banking mapping covers 5/16 user plans and 7/9 attack plans. Both governed strategies preserve five exact benign transfers and refuse 35 reused attack-plan/policy crosses. Pre-satisfied utility predicates are reported separately from completed work. These are original scripted synthetic tools, not autonomous agents or a real bank. Earlier studies retain cheaper protected-cache alternatives, policy-compatible phishing, provider duplication and post-claim revocation. Separate JS/Python consumers establish finite-profile interoperability within the same project; durable recovery rechecks evidence and retains uncertain reservations. The results support a bounded, auditable reuse and execution contract, not a new general incremental algorithm, arbitrary-tool closure, atomic third-party commitment or production superiority.

Thu 15 OctCryptography and SecurityArtificial Intelligence
The gist
When computer programs (called agents) need permission to do things, they prove it with evidence. This paper’s method, Matoi, helps programs safely reuse only the valid parts of this proof, saving effort without risking mistakes. The authors tested Matoi’s efficiency using JavaScript and Python and showed it can reduce costs modestly while keeping authorization accurate. They also tried it on simulated banking scenarios to confirm it stops certain attacks while allowing good transactions.
Open → 2610.21394v1

Case level verification improves false positive reduction in security testing

Case-Level Verification in Scanner-LLM Cascades: Overcoming the Alert Aggregation Bottleneck to Expand the FRR-TPR Trade-off Space

Abstract: Dynamic Application Security Testing (DAST) scanners achieve high recall but also produce a large number of false positives, resulting in substantial manual triage costs. Large Language Models (LLMs), when used for independent detection, achieve extremely high recall (95.4%-100%) but also exhibit prohibitively high false positive rates (49.6%-85.0%), precluding their use as standalone replacements for scanners. A natural solution is a two-stage cascade consisting of scanner detection followed by LLM verification. However, a verification-granularity issue that has long been overlooked in practice creates a structural bottleneck: alert aggregation binds multiple true and false cases into a shared decision unit, such that removing a false positive inevitably eliminates true positives aggregated within the same alert group. This creates a trade-off bottleneck between the False-positive Reduction Rate (FRR) and the True-positive Rate (TPR). We formalize this bottleneck by showing that the alert-level false-positive set is a subset of the case-level false-positive set, and introduce a Case-Level, per-case verification strategy that shifts the decision granularity from the alert level to the instance level, independently replaying HTTP requests and making an independent determination for each detected case. Evaluation on the dual testbeds of Damn Vulnerable Web Application (DVWA) and WebGoat shows that the empirically best Alert-Level operating point achieves FRR=42.86% (TPR=51.7%). The Case-Level Baseline achieves FRR=47.6%, an improvement of 4.7 percentage points (+4.7 pp), while the Case-Focused Evidence Verification Prompt (CEV-Prompt) increases TPR from 55.2% to 62.1% at the same FRR.

Tue 6 OctCryptography and Security
The gist
Security scanners used to find vulnerabilities often report too many false alarms, which wastes time checking them. Large language models (LLMs) can detect almost all real problems but also create many false alarms, so they can’t replace scanners on their own. The authors found that grouping alerts together creates a problem because fixing one false alarm may hide true vulnerabilities. They propose verifying each alert case individually using LLMs, which lets them better separate false alarms from real threats. Their approach improves the balance between catching real issues and reducing false alerts.
Open → 2610.08406v1

WebUIProof evaluates web interface code with interaction tests

WebUIProof: Benchmarking WebUI Code Generators with UI-Agent Execution Harness

Abstract: Evaluating WebUI code generation at scale is difficult: outputs may compile and look plausible yet fail under user interaction, and prior benchmarks largely rely on free-form prompts with static checks (build success, screenshots) that miss functional correctness. We introduce WebUIProof, an execution-oriented benchmark that provides structured specifications and dense, executable interaction tests for WebUI generation across two task families: general WebUIs (e.g., dashboards, game, interactive tools) and 3D interactive simulation (e.g., particle/galaxy systems, physics dynamics). WebUIProof includes a UI-agent harness that runs executable interaction tests in a headless browser using an iterative plan--act--observe loop: it locates DOM elements, performs actions, observes resulting UI/DOM changes, and checks the specified assertions. We evaluate across eight commercial LLMs and observe frequent failures on interaction-based requirements even when pages render successfully, especially on 3D simulation interfaces. Finally, we show the UI-agent harness can provide outcome-level training signals. Training compact models (e.g., Qwen2.5 14B and MIMO 7B) with RL rewards derived from executable interaction tests improves functional completion while reducing build failures.

Fri 2 OctSoftware EngineeringArtificial IntelligenceMultiagent Systems
The gist
Making sure automatically generated website code works right can be tricky because it might look fine but fail when used. This paper presents WebUIProof, a way to test web interfaces by following step-by-step user actions and checking how the page responds. It works for both simple web pages and more complex 3D simulations. The authors tested several AI models and found many still struggle with interactive tasks. They also showed that training models using these interactive tests can help make better working web UIs.
Open → 2610.02617v1

Absentia finds broken access control vulnerabilities in web apps

ABSENTIA: Detecting Broken Access Control Vulnerabilities in Web Applications

Abstract: Broken access control, the failure of authorization, is one of the most prevalent web security risks. Unlike injection, a flow of untrusted input into a dangerous operation, authorization is a relation: who may act on what, not how data moves. Each application decides that relation for itself, so no rule written in advance carries to the next. An LLM agent can infer it from the code, but with no systematic way to cover the application and prioritize what to inspect, its search stays undirected and access-control flaws go undetected. We present ABSENTIA, a security scaffolding that turns general LLM agents into systematic vulnerability detectors for the backend of web applications, run as an audit by the developers and security engineers who maintain the code. Under its direction, the agents build a graph that maps the application's routes to the code behind them. ABSENTIA then works route by route, applying invariant falsification: it infers the properties the code is meant to satisfy, and where one is not enforced, reports the route for maintainer review. We also release BAC-Bench, a benchmark of 30 broken access control advisories across 25 repositories, 3 languages, and 9 frameworks, each published in 2025 or later, verified by a human auditor, and paired with its fixing commit, so credit requires flagging the vulnerable version and not the fixed one. ABSENTIA recalls 19 of them, 17 under paired credit, and an LLM verifier confirms 51% of its findings. CodeQL and Semgrep recall none, and an unstructured agent on the same model recalls 3. In the OWASP Benchmark injection categories, ABSENTIA leads the dedicated analyzers in Python and trails only CodeQL and IRIS in Java.

Thu 1 OctCryptography and SecuritySoftware Engineering
The gist
Web applications need to control who can do what to keep systems safe. Broken access control means some users might do things they shouldn't, risking security. The authors created ABSENTIA, a tool that uses large language models guided to systematically check app backends for access control mistakes. They also made a benchmark dataset to test such tools. ABSENTIA found many real vulnerabilities better than existing tools.
Open → 2610.00977v1

JsVul introduces curated JavaScript and TypeScript vulnerability dataset

A Function-level Dataset of Vulnerable and Fixed Source Code in JavaScript and TypeScript

Abstract: JavaScript and TypeScript are widely used in modern web development, making their security critical; however, automated vulnerability detection is often constrained by the availability of high-quality training data. Here we present JsVul, a dataset curated from seven major sources. Unlike generic multi-language datasets that may retain noise -- such as minified code and cosmetic edits -- JsVul utilizes a language-specific pipeline. We collected pre-fix and post-fix versions of files around security fixes and, by filtering irrelevant artifacts and applying automated syntax normalization, isolated security-related changes. We ensured data integrity through multi-stage deduplication and heuristic-based labeling. Provided in a time-ordered JSONL format, JsVul supports robust model training in the JavaScript and TypeScript ecosystem and demonstrates the importance of language-aware preprocessing in building vulnerability datasets.

Tue 29 SeptCryptography and SecuritySoftware Engineering
The gist
Finding software bugs that cause security problems needs good examples of code before and after fixing those bugs. The authors gathered a large set of JavaScript and TypeScript code with known security fixes, carefully cleaned it to remove confusing or unhelpful parts, and organized it to help teach computers how to spot similar issues automatically. This dataset focuses specifically on these two languages and is ordered by time, making it useful for building better security tools. The work shows that paying attention to language details helps improve the quality of such datasets.
Open → 2609.38012v1