Papers for

web security engineers

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.

How AI agents change exploiting web security weaknesses

The Agent in the Middle: How AI-Mediated Access Reshapes Web Vulnerability Exploitation

Abstract: Web services increasingly expose backend interfaces that let users delegate tasks to AI agents, which invoke service operations directly without navigating websites. This shift changes how existing Web vulnerabilities can be exploited. We investigate these changes through VELA, an executable benchmark covering 44 vulnerabilities across twelve Web application families. The benchmark preserves vulnerable backends and derives agent-facing interfaces from legitimate workflows. We evaluate three commercial agents across multiple interface configurations, using controlled comparisons to separate interface effects from agent behavior and independent oracles to verify attack outcomes. Our results show that the agent realizes every attack that direct interface invocation realizes in the reference configuration, so exploitability is set mainly by the interface: 91% of vulnerabilities remain exploitable under the reference design. Interface restrictions prevent some attacks by removing required operations or limiting input control, while retention remains high across vulnerability classes. No case-level loss in the reference configuration is attributed to agent refusal or input normalization, and in one case the agent completed an attack by supplying calls the attacker omitted. Across the tested configurations, interface design affects exploitability more than agent choice, moving retention from 39% to 95% against at most 4.5 points across agents, but some restrictive interfaces also limit legitimate workflows. Our study provides a systematic empirical account of how agent-mediated access reshapes existing Web vulnerabilities, grounding future Web architecture design in measured security outcomes and trade-offs between reducing attack exposure and preserving legitimate functionality in agent-facing services.

Mon 26 OctCryptography and SecurityArtificial IntelligenceSoftware Engineering
The gist
Websites now let AI agents perform actions directly through their backend systems instead of users clicking around. This change affects how attackers can exploit security flaws in these websites. The authors built a test set called VELA to check vulnerabilities when AI agents interact with web backends, finding that most vulnerabilities remain exploitable depending mostly on the design of the AI-facing interface. Restricting these interfaces can block some attacks but may also limit normal tasks users want to do. Overall, the interface design matters more for security than the choice of AI agent.
Open → 2610.35541v1

Janus automates layered web defenses against complex deserialization attacks

JANUS: Synthesizing Cross-Layer Defenses Against Web Deserialization Attacks

Abstract: Unsafe deserialization turns untrusted data into attacker-controlled execution, and a single vulnerability can admit diverse exploit variants that evade defenses tailored to a known exploit. Existing defenses typically operate at a single enforcement point with limited visibility into the full attack. Combining controls across layers offers complementary protection, but coordinating them to preserve legitimate functionality and adapting them to new variants requires substantial expert effort. We propose JANUS, a red-blue adversarial framework for automated cross-layer defense synthesis. Starting from a known exploit, \sys iteratively refines deployment-specific policies in an isolated offline environment. A black-box attacker probes the current policy for exploit variants using only externally observable feedback. The defender summarizes each verified variant into its security-relevant effects, uses counterfactual replay to separate complementary coverage from redundant enforcement, and jointly selects and scopes controls across layers. Each candidate policy is validated against accumulated exploits and benign workflows. We evaluate JANUS on sixteen vulnerability deployments across six Java and PHP applications against gateway, application, system, and cross-layer defenses. JANUS reduces held-out attack success to 6.2%, compared with 18.8-55.0% for the baselines, fully mitigates 13 of 16 deployments, and preserves 98.4% of benign functionality tests at a 6.9% targeted P95 latency increase.

Mon 26 OctCryptography and SecurityArtificial IntelligenceSoftware Engineering
The gist
Unsafely turning stored data back into running programs can let hackers take control. The authors introduce Janus, a system that automatically builds protections spread out across multiple parts of a web application. Starting from a known hacking method, Janus learns to spot and block related attacks while still letting normal users do their work. This makes it harder for hackers to slip through defenses that only watch one part of the system.
Open → 2610.35532v1

New method protects AI agents from malicious web content

What It Is, Not What It Says: Securing Agentic Browsing Interactions with Web Semantics

Abstract: AI agents increasingly browse the web on users' behalf, yet they consume webpages as screenshots or text, exposing their LLMs to unvetted third-party content. Browsers enforce semantics under which what an element can do depends on what it is and where it comes from, not on what it says. Agents flatten these semantics, so injected text can persuade the LLM to exercise the user's authority for content that has none. As LLMs remain easy to persuade, the agent's interface to the web must itself ensure the integrity of what the agent reads, interprets, and does. We propose Intact, which runs on an unmodified browser. Intact builds GenTree, a bespoke representation that captures provenance and web semantics. Intact passes the page via GenTree to the LLM one element at a time, so the LLM decides on each element without any other element's text. Its harness executes each step only within the capabilities of the step's element and asks the user before acting on third-party content. On 1,270 real webpages, GenTree attributes 2.3x as many elements to third parties as the browser, which misattributes 58.7% of them to the first party. On 1,091 of these webpages with injected attacks, only 12.8% of attacks get through Intact's planner, each at most as a consent request, against 73.1% for a conventional planner. Isolation disrupts functionality on only 3.7% of tasks, and a parallel schedule could remove most of its added latency.

Thu 15 OctCryptography and Security
The gist
AI programs that browse the web for users can be tricked by fake or harmful text on webpages, causing them to do things they shouldn’t. The authors show that this happens because AI agents treat all web content the same way, ignoring important rules websites use to keep users safe. They created a tool called Intact that helps AI agents understand where web content really comes from and treats each webpage piece carefully. This reduces risks by asking users before acting on doubtful content and stopping most attacks, without much trouble to the webpage’s normal use.
Open → 2610.22697v1

Fetch Metadata headers improve web request security understanding

Fetch Me If You Can: A Comprehensive Analysis of Fetch Metadata

Abstract: Effective server-side defenses against cross-site attacks depend on understanding the context in which browser requests are generated. However, servers often lack the information needed to distinguish legitimate requests from potentially malicious cross-site interactions. Fetch Metadata, a security mechanism introduced in 2019, addresses this limitation by adding a set of HTTP headers to outgoing browser requests. These headers provide servers with information about a request's context and provenance, enabling them to enforce request isolation policies accordingly. However, the extent of Fetch Metadata's real-world adoption and its interaction with existing security mechanisms remain largely unexplored. In this paper, we present the first large-scale measurement study of Fetch Metadata adoption. We analyze the top 1M websites in the Tranco list to detect deployments of Fetch Metadata isolation policies and identify custom policies used in the wild. We then examine how these policies address cross-site threats and assess their security coverage. Finally, we provide the first systematic comparison of Fetch Metadata with existing client-side security mechanisms, revealing security gaps that arise from differences between client-side and server-side enforcement.

Sun 11 OctCryptography and Security
The gist
Web servers try to stop bad cross-site attacks by knowing where browser requests come from, but they often do not have enough information. The authors study Fetch Metadata, a security feature added to browsers that sends extra details with web requests to help servers tell if requests come from safe sources or not. They analyze how widely Fetch Metadata is used on popular websites and how its protections compare to other security methods on the client side. Their work reveals differences between these approaches and highlights some security gaps.
Open → 2610.15541v1