DOST // DETECT · OBSERVE · SHIELD · TRANSFER INLINE AI DLP & PRIVACY PROXY APPLIANCE

Stateful, Reversible Pseudonymization for Enterprise LLM Traffic.

DOST is a lightweight inline privacy proxy engineered to protect confidential enterprise data when employees and autonomous agents interact with cloud LLMs (ChatGPT, Claude, Cursor, Claude Code)—preserving full model reasoning and code generation integrity.

USER / CODING AGENT .env db.acme.internal sk_live_98a7f "Fix query to db.acme.internal" "Connected to db.acme.internal" DOST SHIELD db.acme.internal ⇄ Host_Alpha sk_live_98a7f ⇄ Secret_01 "Fix query to Host_Alpha" "Connected to Host_Alpha" CLOUD LLM context Host_Alpha Secret_01
01 // Problem & Core Mechanism

Destructive Redaction vs. Reversible Pseudonymization

Conventional DLP gateways replace sensitive strings with static [REDACTED] markers, destroying entity relationships and breaking generated code. DOST substitutes deterministic, type-consistent placeholders on outbound requests and restores original values on the inbound SSE stream.

CONVENTIONAL DLP DESTRUCTIVE MASKING

Collapses distinct identifiers into identical [REDACTED] tokens. The upstream model loses referential context and returns non-functional code or ambiguous analysis.

Outbound Payload to LLM Migrate [REDACTED] records from [REDACTED]
where owner == [REDACTED].
Inbound LLM Response SELECT * FROM [REDACTED] WHERE id = [REDACTED];
// Referential mapping permanently lost
DOST INLINE PROXY STATEFUL REVERSIBLE

Maps sensitive entities (secrets, PII, Person IDs, codenames) to structured pseudonyms in an ephemeral session table, then translates tokens back in real time as SSE chunks arrive.

Outbound Payload to LLM (Sanitized) Migrate Company_Alpha records from Host_DB_01
where owner == Person_ID_01.
Inbound Stream to Client (Re-hydrated) SELECT * FROM kronos_prod.db WHERE id = 'TR-9948102';
// Restored inline with <20ms streaming overhead
02 // Core Capabilities

The Four Pillars of DOST

01 / DETECT
Microsecond 2-Stage Scan

Combines deterministic multi-pattern scanning (Aho-Corasick automata and Google RE2) with GLiNER entity extraction to identify candidate secrets, PII, and internal codenames while eliminating false positives.

Aho-Corasick · Google RE2 · GLiNER
02 / OBSERVE
Contextual ML Triage

Evaluates surrounding semantic context in milliseconds using quantized tiny ML models (GLiNER & GLiClass) to separate public technical terms from confidential enterprise data.

Quantized GLiClass · Context Scoring
03 / SHIELD
Stateful Pseudonymization

Replaces private attributes that must not leave the perimeter—such as Person IDs, credentials, and proprietary codenames—with structured, deterministic placeholders (e.g., Company_Alpha).

Ephemeral Mapping · Type-Preserving
04 / TRANSFER
Sliding-Window SSE Stream

Reconstructs original values on inbound Server-Sent Events traffic via a sub-20ms sliding-window micro-buffer. Provider-agnostic and completely invisible to end users and coding agents.

Sub-20ms SSE · Zero Friction
Stage 1 Detection
Aho-Corasick + RE2 (<50µs)
Stage 2 Context ML
GLiNER + GLiClass (ms)
Inbound Restoration
SSE Sliding Window (<20ms)
Deployment Mode
Transparent Inline Appliance
03 // System Topology

Internal Appliance Pipeline

Detailed internal architecture of the 2-stage detection engine, ephemeral state vault, and inbound SSE stream re-hydration buffer.

ENTERPRISE PERIMETER CLIENT / AGENT Raw Data PROMPT RESTORED 1. DETECT RE2 + Aho-Corasick 2. OBSERVE GLiNER + GLiClass 3. SHIELD Pseudonymize STATE MAP 4. TRANSFER — SLIDING-WINDOW SSE STREAMER (<20MS) Replaces pseudonyms with real values in flight MASKED SSE STREAM CLOUD LLM Pseudonyms Only
FIG 2.0 — INTERNAL 2-STAGE DETECTION & SLIDING-WINDOW SSE RE-HYDRATION ARCHITECTURE LATENCY OVERHEAD: < 20MS END-TO-END