# Prismata: Stopping Cross-Site Prompt Injection in Web Agents

Original title: Prismata: Confining cross-site prompt injection in web agents

> Hacker News story 48865238 · language: en · submitted 2026-07-10
> Web version: https://zeli.app/story/48865238
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 6 · by [zhinit](<https://news.ycombinator.com/user?id=zhinit>) · 💬 0
[original](<https://arxiv.org/abs/2607.08147>) · [HN discussion](<https://news.ycombinator.com/item?id=48865238>)

## Summary

Autonomous web agents face a critical risk where malicious content can hijack their instructions through prompt injection. We present Prismata, a defense system that enforces contextual least privilege without needing developer annotations. By dynamically labeling page content and restricting agent capabilities, Prismata substantially reduces attack success while preserving the utility of benign tasks across the long tail of websites.

## Key quote

> Cross-Site Scripting proved that mixing trusted and untrusted content is dangerous, even on benign pages.

---

## Cite

- Page: https://zeli.app/story/48865238
- Date: 2026-07-10
- Source: arxiv.org (https://arxiv.org/abs/2607.08147)
- Hacker News: https://news.ycombinator.com/item?id=48865238

## Other languages

- zh: https://zeli.app/zh/story/48865238 · markdown: https://zeli.app/zh/story/48865238.md
- ja: https://zeli.app/ja/story/48865238 · markdown: https://zeli.app/ja/story/48865238.md
- ko: https://zeli.app/ko/story/48865238 · markdown: https://zeli.app/ko/story/48865238.md
- de: https://zeli.app/de/story/48865238 · markdown: https://zeli.app/de/story/48865238.md
- es: https://zeli.app/es/story/48865238 · markdown: https://zeli.app/es/story/48865238.md
