Self-hosted PII detection API. Intercept sensitive data before it reaches LLMs.
1.2K
Self-hosted API that detects and redacts PII before it reaches any LLM or external service.
docker run -d \
-p 3000:3000 \
-e LICENSE_KEY=YOUR-KEY \
-v blackshield_data:/data \
blackflagdesignteam/blackshield
Then visit http://localhost:3000 for the interactive demo.
The built-in demo lets you paste real content, toggle 25 detection types, test custom patterns, and copy ready-to-use API snippets. Enable or disable it with:
-e SHOW_DEMO=true # default — demo available at /
-e SHOW_DEMO=false # API-only, no demo UI
| Variable | Default | Description |
|---|---|---|
LICENSE_KEY | (required) | Gumroad license key |
SHOW_DEMO | true | Show interactive demo at / and /demo |
API_KEY | none | Require API key for /v1/detect |
PORT | 3000 | Server port |
curl -X POST http://localhost:3000/v1/detect \
-H "Content-Type: application/json" \
-d '{"text": "Contact John Smith at [email protected]"}'
$99 one-time — Buy on Gumroad
Content type
Image
Digest
sha256:f9dfed880…
Size
228.4 MB
Last updated
7 months ago
docker pull blackflagdesignteam/blackshield