PromptDefend Logo Prompt Defend
ENTERPRISE-GRADE SECURITY

Protect Your AI Agents
from prompt injection, jailbreaks, and PII leaks

21-layer input + output guardrails that block jailbreaks, prompt injections, PII leaks, and model-theft attempts in <20ms. Severity-based blocking, monitor mode, and PII redaction. Integrate in two lines of code.

No credit card required · Free 500 requests/month

0.0%
Detection Rate
<0ms
Average Latency
0M+
Prompts Analyzed
0 Min
Integration Time

Everything You Need to Secure Your AI

21 guardrails covering input and output — injections, leaks, theft, and misconfigurations — with severity control and monitor mode for safe rollout.

Prompt Injection Detection

34+ injection patterns plus fuzzy matching for typos like “1gnore”, emoji stripping, 400+ keyword blocklist, and 20+ LLM delimiter checks (ChatML, Llama [INST], Anthropic, XML). Severity-tagged LOW–CRITICAL.

Jailbreaks & Obfuscation Defense

Catches DAN, persona attacks, and hidden payloads: Base64/Hex/URL decoded 3 levels deep, plus Rot13, reversed text, binary strings, homoglyph/leet normalization, and nonce-tagged sandbox wrapping.

PII Leakage Prevention

29 gated patterns — emails, phones, SSN, passports, IBAN, IPs, plus OpenAI/Anthropic/AWS/Stripe/GitHub keys — with Luhn and context checks to cut false positives. BLOCK or REDACT (<EMAIL_REDACTED>) per key. ~0.09ms for 4KB.

Output Validation LIVE

Scans LLM responses before they reach users: system-prompt leakage (20+ patterns), PII in output, suspicious/hallucinated URLs, leaked secrets, jailbreak-success signals, and canary leaks. Via /guardrails/check-output.

Distillation & RAG-Theft Protection

48 patterns across 9 categories block model theft: bulk extraction, training-data elicitation, RAG / knowledge-base dumping, batch generation, and fine-tune dataset theft. Configurable threshold (default 0.6).

Severity, Monitor & Per-Key Control

LOW–CRITICAL severity with min_block_severity, monitor/dry-run mode for safe rollout, atomic rate limits, per-key guardrail scoping, custom rules, competitor blocking, IP allow/block lists, and 16-script language detection.

DEFENSE IN DEPTH

21-Layer Guardrail System

Every prompt runs through 21 input checks plus 5 output sub-checks in ~0.8ms engine time (~6-9ms total API). Monitor mode lets you shadow-test before enforcing.

LAYERS 01-04

Sanitize & Wrap

  • • Input Schema Validation
  • • Text Normalization (NFKC + leet)
  • • Homoglyph + Invisible Char Removal
  • • Nonce Sandbox Wrapping + Length Cap
LAYERS 05-08

Allow / Block Lists

  • • 631 Safe-Phrase Fast-Path Allowlist
  • • 379 Keyword Blocklist (15 cats)
  • • Regex + Fuzzy Match + Emoji Strip
  • • Custom Rules Per Key
LAYERS 09-12

Payload Decoding

  • • Base64/Hex/URL + Rot13/Reversed/Binary
  • • Recursive Decode (3 Levels Deep)
  • • Markdown / Code-Block Exploits
  • • Delimiter Injection (20+ LLM tags)
LAYERS 13-16

Behavior & Secrets

  • • Role-Play / DAN (30+ patterns)
  • • Dual-Layer Shannon Entropy
  • • PII Scan (29 patterns, ~0.09ms)
  • • Canary Tokens (11 + custom)
LAYERS 17-20

Theft & Control

  • • Injection + Distillation (48 pats)
  • • RAG / Fine-Tune Theft Blocking
  • • Sandbox Escape Detection
  • • Language Check (16 scripts)
LAYER 21 + SEVERITY

Output + Enforcement

  • • Output: Leak / PII / URLs / Secrets
  • • LOW–CRITICAL Severity Threshold
  • • Monitor / Dry-Run Shadow Mode
  • • BLOCK or REDACT Handling

Zero-In Retention

Never train on your data. Excerpts auto-delete after 90 days, IPs anonymised after 30 days — clear anytime.

Stateless Architecture

In-memory analysis, background logging, per-key toggles (ALL / BLOCKED_ONLY / NONE). SOC 2 Roadmap.

Global Low-Latency

~0.8ms engine, ~6-9ms total API (<20ms budget). Python, Node, REST, and MCP for agents.

ROADMAP

Coming Soon

We ship what buyers ask for. Next up — no timelines promised, but actively explored.

Hallucination Detection

Coming Soon

Flag fabricated citations, diagnoses, and facts in LLM outputs before they reach users. Future idea — tell us your use case via feedback.

Semantic Similarity Detection

Exploring

Embedding-based catching of paraphrased injections that evade pattern matching.

TWO-LINE INTEGRATION

Scan Prompts in Under 5 Minutes

Python SDK, Node.js SDK, or plain REST — plus MCP servers for Claude Desktop and agents. Full reference in GitHub.

Python

pip install promptdefend

from promptdefend import PromptDefend
client = PromptDefend(api_key="...")
result = client.scan("...")  # result.safe

Node.js

npm install promptdefend

const client = new PromptDefend({apiKey});
await client.scan("...");  // {safe}

REST

POST /api/v1/guardrails/check
X-API-Key: ...

prompt → status: SAFE / 403
Output: POST /api/v1/guardrails/check-output

Simple, Transparent Pricing

Start for free, scale with security. No hidden fees.

Free

$0

/month

Perfect for hobbyists and learning.

  • ✓ 1 API Key
  • ✓ 10 req/min · 500 req/month
  • ✓ Core Guardrails + Playground
  • ✓ 1 Day Logs
POPULAR
Pro

$49

/month

For developers and small teams.

  • ✓ 5 API Keys
  • ✓ 300 req/min · 10,000 req/month
  • ✓ All 21 Guardrails + Output Check
  • ✓ PII Redaction
  • ✓ Audit Logs
  • ✓ 30 Day Logs
Enterprise

Custom

/annual

For large scale organizations.

  • ✓ Unlimited Keys
  • ✓ Custom Limits
  • ✓ Dedicated Support
  • ✓ SSO & SLAs
GOT QUESTIONS?

Frequently Asked Questions

Everything you need to know about securing your AI applications with PromptDefend.

Still have questions? Get in touch

✓ Founded by Agentic System Experts
✓ Data Breach Prevention
✓ High uptime SLA
✓ SOC & ISO 27001 Certifications in progress

Ready to Secure Your AI?

See why teams are switching · Take the first step