Prompt Firewall
Real-time inline security for AI applications. Inspect, filter, and enforce policies on every prompt and response flowing between users and LLMs.
Schedule a Demo
How The Prompt Firewall Works
A transparent proxy that inspects every prompt and response against your configured policies before allowing them through.

Traffic Controller
The transparent proxy entry point. Users never talk directly to the LLM — all traffic routes through AccuKnox first.
User prompt → scan against policies
LLM response → validate before delivery
Block · Sanitize · Monitor
Policy Governance
Evaluates every prompt and response against your configured policies. Customizable per application.
14 built-in policy types
Custom regex + domain-specific rules
Global or per-app policy scope
Audit & Compliance
Every request and response is recorded for compliance, investigation, and forensic analysis.
Full conversation history
Per-policy risk scores
Block/monitor/pass status + threshold
What The Firewall Filters
Input policies inspect prompts before the LLM. Output policies inspect responses before the user. Both directions, every interaction.
Anonymize
Detect and mask PII/PHI — names, SSNs, emails, credit cards, medical records.
"My SSN is 123-45-6789" → "My SSN is [REDACTED]"
Ban Code
Block programming constructs, code snippets, and scripts in any language.
print("Hello") or C++ snippet → blocked
Prompt Injection
ML-based detection of instruction overrides, role-play exploits, and jailbreaks.
"Ignore all previous instructions…" → blocked
Toxicity
RoBERTa classifier + Perspective API for hate speech, threats, explicit content.
Racial slurs, death threats → blocked
Secrets
Detect API keys, tokens, passwords, and credentials before they reach the LLM.
"sk-12345abcde…" → blocked
Gibberish
Language model scoring to identify nonsensical, random, or garbled text inputs.
"asdf jkl; %$#@" → blocked
Sentiment
Sentiment analysis with configurable thresholds for aggressive or hostile inputs.
Extremely hostile message → flagged
Ban Topics
Topic classification against restricted topic lists per application scope.
Finance bot asked for medical advice → blocked
Ban Competitors
Context-aware detection of competing products and companies.
"How is [Competitor] better?" → handled
Language
Enforce approved language lists on prompts and responses.
French query to English-only bot → blocked
Regex
Custom pattern matching — SSNs, credit cards, internal IDs, any format.
Credit card pattern → masked or blocked
Token Limit
Prevent excessively long inputs that could cause DoS or cost explosion.
50-page document paste → blocked
Relevance
Semantic similarity scoring against the application's defined scope.
Banking bot asked "How to bake a cake?" → blocked
Code (Allow)
Restrict code to specific programming languages only via whitelist.
Only SQL allowed but Python submitted → blocked
Integrate In Minutes
Wrap your existing LLM calls with prompt and response scanning. One import, two function calls.
- pip install accuknox-llm-defense
- Session linking for full audit trails
- BLOCK, MONITOR, PASS, or SANITIZE responses
- Per-policy risk scores for debugging
Every Model. Every Platform.
Cloud, managed, or self-hosted — the Prompt Firewall works with your stack.
CLOUD LLM PROVIDERS

MANAGED AI SERVICES

ON-PREMISE MODELS

ENTERPRISE

Set Up In Five Steps
From onboarding your application to monitoring violations in real time.
Add Your Application
Navigate to AI/ML → Applications → Add Application. Name and tag your AI app.
Configure Policies
Apply global policies for org-wide rules or local policies per application. Choose Block, Monitor, or Allow.
Set Policy Scope
Global policies apply to all apps. Local policies let you customize — ban code in support bots but allow it in dev assistants.
Monitor the Dashboard
Real-time visibility into total queries, policy violations, and active enforcement.
Investigate & Audit
Click any violation for full conversation history, per-policy risk scores, and block/monitor status.
Prompt Firewall + Red Teaming
Red teaming finds the gaps. The Prompt Firewall enforces the rules to close them. Both work together.
| CAPABILITY | RED TEAMING | PROMPT FIREWALL |
|---|---|---|
| When | ||
| What it does | ||
| Action | ||
| Purpose | ||
| Coverage | ||
| PII protection | ||
| Prompt injection defense | ||
| Compliance |
See The Firewall In Action
From policy configuration to violation forensics — everything in one dashboard.
-
AI-Security Dashboard
Query volumes, violations, and active policies at a glance.
-
Policy Configuration
Add and customize local policies per application.
-
Applied Policies
View all active policies enforcing on an application.
-
Violation Analysis
Breakdown by policy type with severity and action taken.




Get a LIVE Tour
Ready For A Personalized Security Assessment?
“Choosing AccuKnox was driven by opensource KubeArmor’s novel use of eBPF and LSM technologies, delivering runtime security”

Golan Ben-Oni
Chief Information Officer
“At Prudent, we advocate for a comprehensive end-to-end methodology in application and cloud security. AccuKnox excelled in all areas in our in depth evaluation.”

Manoj Kern
CIO
“Tible is committed to delivering comprehensive security, compliance, and governance for all of its stakeholders.”

Merijn Boom
Managing Director

