Deterministic Security

Gateway Scrubber™
Demo

See how a Gateway Scrubber removes personally identifiable data before it is sent to a language model. Deterministic — not probabilistic.

Everything runs in your browser. No data leaves your machine.

How it works

Click a step to see the detail

Backend vs. Frontend

FRONTEND = COSMETIC

Masking happens in the user's browser. An attacker — or a malicious agent — can bypass it by talking directly to the API. The national ID still leaves your network.

Data still leaves your network unfiltered.

BACKEND = SECURITY

The scrubber sits in your backend proxy, before the API call to the LLM. The user has no access to the code. Data is sanitised on the server.

Data is filtered before it ever leaves your network.

The three security layers

A Gateway Scrubber filters three types of data before they leave your network: personal data, credentials and topics your AI must not address.

PII Protection

Automatic filters for national IDs, phone numbers, emails and names. Maps directly to GDPR Art. 9 and EU AI Act Art. 10.

Credential Stripping

Prevents users and agents from leaking API keys, passwords or tokens in the prompt. Blocks at the source.

Domain Boundary

Blocks specific topics your chatbot must never address — financial advice, medical diagnoses, internal project names.

System Prompt vs. Gateway Scrubber

PROBABILISTIC

System Prompt

"You must not repeat personally identifiable information. If the user shares a national ID, you must ignore it."
  • Based on statistical prediction
  • Can be bypassed with prompt injection
  • Data is still sent to cloud provider
  • No audit trail
DETERMINISTIC

Gateway Scrubber™

Input: "CPR: 120384-1234"
Output: "CPR: [CPR_MASKED]"
  • Pattern-based filtering — deterministic match
  • Cannot be bypassed — runs in your backend
  • PII never leaves your network
  • Full audit trail per request

Try it yourself

Enter text containing personally identifiable data and watch the scrubber work in real time.

Input
Analysis

Enter text in the left field or click "Load sample"

Where Gateway Scrubber fits in DARMA

DARMA is FluxAI's governance framework for agentic AI. Five layers: Delegation, Authorization, Runtime, Model Integrity, Accountability. Gateway Scrubber is not a standalone product — it is one layer in that architecture.

DelegationPolicy Config
AuthorizationGateway Scrubber™
RuntimeGateway Scrubber™
Model IntegrityBehavioral Baseline
AccountabilityAudit Trail

Regulatory Mapping

GDPR Art. 5(1)(f)

Integrity and Confidentiality

Personal data must be processed in a manner that ensures appropriate security. A Gateway Scrubber prevents PII from being sent to third parties.

GDPR Art. 9

Special Categories

Health data, biometric data and national IDs require heightened protection. The scrubber blocks them deterministically.

GDPR Art. 25

Data Protection by Design

Data protection must be built into the system architecture. A system prompt is an instruction to the model — it can be bypassed and leaves no log. A Gateway Scrubber is an infrastructure control that runs before the API call. Art. 25 requires the latter.

GDPR Art. 32

Processing Security

Art. 32 requires technical measures proportionate to the risk. When an agent sends free-text prompts to an external LLM, the risk is data disclosure. The measure is a proxy that sanitises before sending — not an instruction asking the model to refrain.

EU AI Act Art. 10

Data Governance

Art. 10 requires data governance over what is sent into the AI system. A Gateway Scrubber enforces this at the source — it sanitises input deterministically before it becomes part of the model's context.

EU AI Act Art. 15

Accuracy and Robustness

Art. 15 requires robustness against attempts to compromise the system. A system prompt can be manipulated via prompt injection. A backend scrubber operates outside the model's context window — it is not accessible to attacks via input.

Ready to protect your AI integrations?

A Gateway Scrubber requires backend access, not a browser demo. Book a session and get an assessment of where it fits in your architecture.

Write to info@fluxai.dk

Not sure if it's relevant? Take the quiz first