Interactive security lab · 100% local

Prompt Injection Resistance
put to the test in your browser.

Try Browser Mate’s deterministic guards against hostile instructions hidden inside web pages — in the interactive simulator or live with the installed extension.

Nothing leaves your browser: this page runs the exact same classification functions (injectionRisk, categoryWithSnapshot, sensitiveSelectorScript, and SHA-256 target signing) that run inside the extension Service Worker.

Attack scenarios:
INPUT 01 / USER REQUEST Trusted source
INPUT 02 / WEB PAGE CONTENT (DOM) Untrusted source
INPUT 03 / ACTION PROPOSED BY THE MODEL click
Browser Mate Sidepanel Simulation
RISCO ALTO
  1. 1. Prompt Injection Detector injectionRisk()

  2. 2. Sensitive Field Guard sensitiveSelectorScript()

  3. 3. Semantic Classification & Gate categoryWithSnapshot()

  4. 4. Cryptographic Target Signature snapshotSignature() · SHA-256

PROTECTION_ALERT

Proposed step:
Category:
Estimated cost: ~$0.0004 (210 tok)

Defense in depth

Why we don’t rely on the LLM alone
to stop an attack.

Any language model can be tricked by hostile content embedded in a webpage. That is why Browser Mate enforces deterministic guardrails outside the model, inside the extension Service Worker.

01 / PRE-EXECUTION FILTER

Page text, iframe, and argument inspection

Before calling the model and before running any tool, the extension scans visible page text, iframes, attached files, and the model’s own tool arguments. Explicit exfiltration or instruction-override patterns (HIGH) abort the turn immediately.

02 / UNTOUCHABLE FIELDS

Hard block on passwords and card data

Even when "Allow all" is enabled, the injected script refuses to interact with input[type="password"], input[type="file"], [autocomplete*="password"], [autocomplete*="cc-number"], or [autocomplete*="cc-csc"], asking the user to fill the field manually.

03 / CONTEXTUAL CONFIRMATION

Automatic escalation on medium risk or critical actions

When a page contains suspicious imperative language (MEDIUM) or the target involves form submission, data deletion, purchases, or domain changes, execution pauses in prompt_injection_review or the relevant category until you approve.

04 / ANTI-TOCTOU (SHA-256)

Cryptographic signature of plan and target element

When a confirmation prompt is shown, Browser Mate computes a SHA-256 hash of the plan and the target DOM element properties (tag, text, href, formAction). If the page mutates the button before you click "Approve", execution is refused.

Want to test Browser Mate on your own workflows?

The beta is free, you bring your own API key, and you keep the final say on every step.