cd /news/ai-safety/prismata-stopping-cross-site-prompt-… · home topics ai-safety article
[ARTICLE · art-70743] src=promptcube3.com ↗ pub= topic=ai-safety verified=true sentiment=· neutral

Prismata: Stopping Cross-Site Prompt Injection

A new paper introduces Prismata, a confinement layer that prevents cross-site prompt injection attacks on LLM agents by validating instructions from webpages before executing actions. The system implements context separation, capability gating, and a verification loop to distinguish user intent from malicious prompts embedded in external sites. The approach is presented as more robust than prompt engineering for securing AI agents that interact with the open web.

read1 min views1 publishedJul 23, 2026
Prismata: Stopping Cross-Site Prompt Injection
Image: Promptcube3 (auto-discovered)

[email protected]," the LLM often just obeys. This is the core of cross-site prompt injection. The Prismata paper tackles this by introducing a confinement layer. Instead of letting the LLM have raw, unfettered access to the agent's capabilities, Prismata acts as a mediator that validates whether the "instruction" coming from a webpage is actually a legitimate request or a malicious injection.

How the Confinement Works #

The system doesn't just rely on better prompting (which is easily bypassed). Instead, it implements a structural boundary:

  1. Context Separation: It distinguishes between the user's intent and the data retrieved from the external site.

  2. Capability Gating: Before an action is executed (like sending an email or deleting a file), Prismata checks if that action was triggered by the user's original goal or by a prompt found on the page.

  3. Verification Loop: It forces a verification step for high-risk actions, ensuring the "instruction" didn't originate from an untrusted DOM element.

This is a much more robust approach than trying to "prompt engineer" the safety out of the model. In a real-world AI workflow, you can't trust any HTML you scrape. Treating every external page as a potential adversary is the only way to deploy these agents safely.

For anyone building LLM agents that interact with the open web, this paper is a solid deep dive into why traditional sandboxing isn't enough for prompt-based logic. https://arxiv.org/abs/2607.08147

Next DNS Exfiltration via macOS Terminal ANSI Codes →

All Replies (0) #

No replies yet — be the first!

── more in #ai-safety 4 stories · sorted by recency
── more on @prismata 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/prismata-stopping-cr…] indexed:0 read:1min 2026-07-23 ·