Tools/Firewall
Live Demo · Open Source

Prompt Firewall

A guardrail that decides whether text should be allowed, flagged, or blocked before it reaches an LLM — combining injection detection, secret detection, and PII redaction under a policy you control.

100% client-side · a demonstration of middleware guardrails

0 chars

Policy

Try a sample

The firewall decision, the rules that triggered it, and a sanitized version of your text will appear here.

How it works

The firewall runs two engines over your text — the prompt-injection scanner and the PII & secrets scanner — then applies your policy: injection or secrets trigger a block, PII is redacted and flagged. This is the same logic a production middleware would run on both inputs and model outputs.