Skip to content
Preprint

Prismata: Confining Cross-Site Prompt Injection in Web Agents

Jul 2026 · 1 citation · 94 references
Computer Science

TL;DR

Prismata is presented, a defense enforcing contextual least privilege for web agents, constraining both what the agent sees and what it can do, and substantially reduces attack success while preserving benign task utility.

Abstract

Autonomous web agents promise to automate everyday browsing tasks, but inherit one of the web's oldest attack surfaces. Cross-Site Scripting proved that mixing trusted and untrusted content is dangerous, even on benign pages. Agents resurface this risk by interpreting natural language as instructions, allowing third-party and user-generated content to hijack the agent via prompt injection. The core challenge is that deriving a task-specific security policy requires reasoning over page structure that is entangled with the attacker's content. We present Prismata, a defense enforcing contextual least privilege for web agents, constraining both what the agent sees and what it can do. Prismata's dynamic trust derivation produces permission labels for page content, with structural confinement guarantees, inspired by classical integrity models, that bound any labeling errors so that labels can only decrease in privilege and mislabelings are bounded. Prismata's mechanical confinement enforces these labels by redacting content and restricting agent capabilities. Importantly, these mechanisms require no developer annotations, so Prismata supports the long tail of websites. Across recent published web agent attacks, including adaptive variants, Prismata substantially reduces attack success while preserving benign task utility.

View source

Similar papers

Jul 2026

Untrusted Content Masking for Web Agents with Security Guarantees

This paper presents Untrusted Content Masking (UCM), a simple and effective approach that restores the trust boundary in web environments by leveraging a key structural insight: a webpage's Document Object Model encodes sufficient information to distinguish trusted from untrusted regions without reading their content.

Kristina Nikoli'c, Egor Zverev, Javier Rando et al. · 2 citations
Preprint Aug 2026

Breadcrumbing Search Agents

This work studies the channel delivering search and page observations is a fragile security boundary and introduces Authority-Chain Hijack (ACH), an expert-refined strategy that turns isolated search-result and page-content manipulations into a coherent evidence chain across seemingly corroborating sources.

Xuebin Li, Han-Qing Zhao, Si-Yuan Liang et al. · 0 citations
#large language models Preprint Jul 2026

From Blind Edits to Verified Repair: Building Trustworthy User-Side LLM Agents for Web Accessibility

Three building blocks toward a complete, privacy-preserving browser agent, a verified repair instrument pairing a trilingual seeded-violation benchmark with an audit-inject-verify loop, and a dual-condition protocol that measures harm as carefully as benefit are contributed.

Lily Bundgaard Wanscher, Markus Heidemann Lorensen, Mohammed Ammad Shafiq et al. · 0 citations
Preprint Aug 2026

WebMCP-Phalanx: Enforcing and Characterizing Trust Boundaries for Browser-Integrated LLM Agents

This work proposes WebMCP-Phalanx, a dual-layer agent runtime architecture that provides a browser-native trust anchor that binds each tool to its registering principal through cryptographically protected capability credentials and propagates provenance labels throughout the tool lifecycle.

Lin-Fa Lee, Yi-Yu Chang, Kuo-Hui Yeh · 0 citations
Jul 2026

ToolGuardian: Declarative Security for AI Agent-Tool Interactions

This paper presents ToolGuardian, a policy-driven framework for securing agent-tool interactions through pre-admission vetting and task-aware runtime authorization, and compares ASP against heuristic and LLM-based policy realizations using identical inputs and output contracts.

Arun Ravindran, Saurabh Deochake · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.