Oubliette Shield
The AI firewall that detects prompt injections, deceives attackers with honeypots, and generates threat intelligence. Pre-filter decisions in under a millisecond (0.006 ms median, 2026-04-22 throughput run).
Three Pillars of AI Defense
Detection alone isn't enough. Oubliette combines detection, deception, and intelligence into a unified platform.
Detection
5-stage tiered ensemble pipeline. The pre-filter blocks obvious attacks in under a millisecond; the LLM judge is reserved for inputs the earlier stages cannot settle.
Deception
Three deception modes turn attacks into intelligence-gathering operations. Honeypot returns fake data, Tarpit wastes attacker time, Redirect steers conversations.
Intelligence
Every detected attack generates structured threat intelligence. STIX 2.1 export, MITRE ATLAS mapping (v2026.06), IOC extraction, CEF logging for SIEM integration.
5-Stage Detection Pipeline
Block obvious attacks in under a millisecond. Reserve expensive LLM calls for the inputs that need them.
Input Sanitizer
<1msStrips 9 types of encoding attacks, Unicode obfuscation, and invisible characters before any analysis begins.
Pre-Filter
<1ms11 pre-filter rules block obvious prompt injections, jailbreaks, and DAN attacks. Sub-millisecond: 0.11 ms mean in the 2026-03-12 comparison run.
ML Classifier
733 featuresServer/demo model: LogisticRegression + TF-IDF with 733 features. Weighted F1 0.98 / ROC-AUC 0.99 on a held-out split of template-generated training data; not yet evaluated on an external dataset. Catches sophisticated attacks the pre-filter misses.
LLM Judge
12 LLM-judge providersOnly inputs the earlier stages cannot settle reach the LLM judge. Supports OpenAI, Anthropic, Azure, Bedrock, Vertex, Ollama, and more.
Session Tracker
multi-turnAccumulates attack signals across conversation turns. Escalates sessions when thresholds are exceeded.
"Most attacks are obvious — a pattern match catches it in under a millisecond. Only the truly ambiguous inputs need the full LLM judge."
ML Classifier Details
A lightweight linear model that runs on every request. Figures below are for the server/demo model.
Architecture
- ModelLogisticRegression
- Feature ExtractionTF-IDF + Structural
- Feature Dimensions733
- Training Samples1,365
- Categories553 benign / 812 malicious
Performance
- Weighted F1 (held-out split)0.98
- ROC-AUC (held-out split)0.99
- False positives0 / 111 benign
- 5-fold CV F10.986
Server/demo model (733 features), not the lighter model bundled with the pip package. Weighted F1 0.98 / ROC-AUC 0.99 on a stratified 20% split (273 samples) of our 1,365-sample template-generated training set; 5-fold CV F1 0.986; 0 false positives on 111 benign messages in that evaluation split. Not yet evaluated on an external dataset.
12 LLM-Judge Providers
Use any of these as your judge backend. Switch with a single config change.
Ollama runs in plain and structured-output modes. The OpenAI-compatible judge is unit-tested with a mocked call; there is no live vLLM, LocalAI or LM Studio test yet, and other OpenAI-compatible endpoints are untested.
Quick Start
Drop-in integration with your existing stack. Choose your framework:
from oubliette_shield import Shield
shield = Shield(provider="openai")
result = shield.analyze("user input here")
if result.blocked:
print("Attack detected!", result.verdict) pip install oubliette-shield[langchain,fastapi,litellm,crewai,haystack] Detection Capabilities
Comprehensive coverage across all known prompt injection categories.
Deploy Anywhere
From cloud to air-gapped SCIF environments. Zero cloud dependencies required.
Cloud
Docker/K8s in front of OpenAI, Anthropic, Azure, or Bedrock
On-Premise
Ollama backend, SQLite storage, zero external dependencies
Air-Gapped
SCIF-ready, no internet required, CEF to local SIEM only
MCP Server Integration
Use Shield as an MCP server in Claude Desktop, Claude Code, or any MCP-compatible client. Every tool call is security-scanned in real time.
analyze
Scan text for prompt injection and jailbreak attacks. Returns verdict, ML score, and MITRE ATLAS mapping (v2026.06).
validate_tool_call
Validate MCP tool arguments for injection attacks, path traversal, SSRF, and credential leaks.
scan_output
Scan LLM output for secrets, PII, suspicious URLs, invisible text, and data leakage.
get_session
Retrieve session state including threat counts, escalation status, and attack pattern history.
list_honey_tools
List available deception tool definitions for injection into MCP server tool lists.
export_threat_intel
Export STIX 2.1 threat intelligence bundle for a session's detected attacks.
MCP servers available on request: contact info@oubliettesecurity.com
Compliance-Ready from Day One
Mapped to every major AI security framework. Audit-ready documentation included.
Start Protecting Your AI Today
Free and open source. Enterprise support available.