Blade 01 / LLM SECURITY
84% of prompt-injection attacks caught.
Bulwark · 0.4% false positives, ~3,000 public and hand-written prompts, CPU only

A drop-in proxy that sits in front of LLM APIs, blocks prompt injection, redacts PII, and shows exactly what happened to every request, with a playground where visitors can try to break it.
- Layered detection: regex rules (~0.1 ms), then a DeBERTa-v3 classifier on ONNX Runtime (CPU), then Presidio PII redaction on the prompt and the answer. Blocked requests never reach the model, so they cost nothing.
- Measured, not claimed: ablation across 4 datasets plus a hand-written holdout, a threshold sweep, per-layer latency, and cost per 1K requests, all regenerated by
make eval. - Production-shaped: OpenAI-compatible API, an OpenTelemetry trace per request with a span per guard, Prometheus metrics with a Grafana dashboard. A Locust load test found that the guards blocked the event loop; fixing it nearly doubled capacity (19 to 36 req/s).
Beyond the benchmark: 93% recall on 30 hand-written attacks that are in no dataset, and it runs fully offline on CPU, so anyone can clone it and see every guard work.
- false positives
- 0.4%
- on 1,400 benign prompts
- median latency added
- +36 ms
- all guards on CPU (294 ms p95 for long prompts)
- recall on unseen attacks
- 93%
- 30 hand-written attacks not in any dataset



