Security

Security is the product.

Every request inspected at the edge.
No data stored. No exceptions.

HIPAA
Ready
GDPR
Compliant
PCI DSS
Ready
SOC 2
Roadmap
We do not store your prompts.
Processed in-memory. Zero writes to storage.
We do not train on your data.
Your requests are never used to improve models.
You can self-host.
All code is MIT. Deploy on your own Cloudflare account.
Detection

How we detect PII.

v1 uses a fast regex-based scanner. v2 (Pro) adds a named-entity recognition model running directly on Workers AI — no external API calls.

TypeExampleAvailable in
US SSN 123-45-6789 Free · Pro
ES DNI / NIE 53412987Z / X1234567L Free · Pro
IBAN ES91 2100 0418 45•• Free · Pro
Email address [email protected] Free · Pro
Phone number +1 555 203 9981 Free · Pro
Credit card number 4716 •••• •••• 9012 Free · Pro
Medical terms diagnosis · dosage · patient Free · Pro
Custom rules (regex / keywords) your own patterns Pro · Enterprise
Routing

Edge vs cloud — the decision.

Every prompt is scanned before a single token is sent anywhere. The routing decision happens in milliseconds, at the node closest to your user.

PII detected → Edge
  • → Answered by Llama 3.2 1B on the local node
  • → Data never leaves the Cloudflare PoP
  • → 200+ nodes globally, ~130ms typical latency
  • → HIPAA-safe by architecture
No PII → Cloud
  • → Pass-through to OpenAI / Anthropic
  • → Zero added latency
  • → Full capability of frontier models
  • → Your existing API key, unchanged
Anonymization

PII is detected, anonymized, and restored — all at the edge.

Pro tier. The cloud model receives a clean prompt. The response is de-anonymized before it reaches your users. GPT-4 only sees clean prompts. Always.

1
Detect "Patient Maria Ortega, DNI 53412987Z diagnosed with diabetes"
2
Anonymize "Patient <PERSON_1>, DNI <DNI_1> diagnosed with <CONDITION_1>"
3
Send to cloud GPT-4 receives clean prompt — no real data
4
De-anonymize Response tokens replaced back → "Maria Ortega should…"
Compliance

What we cover — and what we don't.

HIPAA Ready

PHI (Protected Health Information) is detected and never transmitted to third-party APIs. Edge routing ensures US health data stays on the local node. DPA available for Enterprise.

Full HIPAA compliance requires a signed BAA with Privedge (Enterprise tier).

GDPR Compliant

EU personal data (names, emails, IBAN, DNI) is detected and kept within the EU processing region. Data residency guarantee available (Enterprise). No data stored after request completion.

Data residency (EU-only workers) requires Enterprise tier with custom Cloudflare account config.

PCI DSS Ready

Credit card numbers (all major formats) are detected and never sent to cloud APIs. Edge-only routing for any prompt containing card data.

Privedge does not store or process card data — it prevents it from reaching AI providers.

SOC 2 Type II Roadmap

Audit controls, access logging, and incident response procedures are being documented for SOC 2 Type II certification.

Certification expected Phase 5 (6-12 months). Enterprise contracts available now.

Audit Logs

Immutable audit trail — Enterprise.

Every request logged with timestamp, API key, routing decision, PII types detected, and latency. Stored in Cloudflare R2 (append-only). Never modified, never deleted without your consent.

audit-log entry (JSON)
{
  "ts":         "2026-06-01T12:34:56Z",
  "key_id":     "key_abc123",
  "routed_to":  "edge",
  "pii_types":  ["ssn", "email"],
  "latency_ms": 143,
  "model":      "@cf/meta/llama-3.2-1b-instruct",
  "compliance": "hipaa"
  // prompt content is NEVER stored
}
Infrastructure

Powered by Cloudflare Workers.

200+ Points of Presence globally. No single point of failure. 99.99% uptime on the Cloudflare network.

Cloudflare Workers

Edge runtime for the proxy. Runs at the PoP closest to the user.

Workers AI

Llama 3.2 1B runs natively on the node. Data never leaves to an external API.

Cloudflare R2

Object storage for audit logs. S3-compatible, no egress fees, immutable writes.

Need a DPA or custom compliance report?

We'll send you audit documentation, sign a DPA, and walk your security team through the architecture.

Talk to us →