Skip to main content
Runtime Security is a drop‑in firewall for LLM traffic. It scans prompts before they reach the model and responses before they reach the user, catching prompt injection, PII and secret leakage (both structured, like email/IBAN/API keys via regex/entropy, and unstructured, like names/addresses/dates of birth via a zero‑shot NER tier), and dangerous agent tool calls. It’s wire‑compatible with the OpenAI, Anthropic, Gemini, Vertex, and Bedrock SDKs, so most apps integrate by changing one config value.

Three ways to integrate

Pick the mode that matches your stack. They’re not mutually exclusive: most deployments use the reverse proxy for chat traffic and the scan API for batch jobs and agent tool calls. The official @blindsight/security npm package wraps all three behind a typed client (a Python SDK is coming soon); see SDK examples.

Reverse proxy

Wire‑compatible passthrough. No code changes beyond base_url.

Scan API

Explicit scan/input and scan/output calls around your model.

Tool‑call scan

Block dangerous tool invocations before they execute.

Quickstart by mode

That’s it. The proxy scans both directions and either forwards (allow), mutates content (redact), or returns a provider‑shaped error (block).

Authentication

All routes accept any of the following credentials. Use X-API-Key for the scan API. For the proxy routes, Authorization is reserved for the upstream provider, so use X-API-Key (OpenAI clients) or X-Blindsight-Key (Anthropic clients). API keys are issued under Settings → API Keys in the Blindsight dashboard. They scope to a workspace and a permission set; Runtime Security needs:
  • runtime_security.scan to call the scan endpoints.
  • runtime_security.view for analytics and event reads.
  • runtime_security.manage to manage Apps and configuration.

Where to next

Apps

Per‑surface configuration: thresholds, detectors, custom rules, tool policy.

Verdicts

What allow / redact / block mean and how to act on them.

Configuration

Workspace and per‑App settings.

Observability

Analytics, events, drift, streaming.