Intercept the request
Your SDK sends OpenAI-compatible POST /v1/chat/completions traffic to 127.0.0.1:8787 instead of calling upstream endpoints directly.
Real intelligence. Masked identities.
maskyr runs deterministic regex rules, validators (Luhn, IBAN mod-97, SSN, entropy), context cues, heuristic name and address detection, and a local name gazetteer on your machine to replace names, accounts, and identifiers before prompts leave localhost. Fylume's specialised local detection model is currently in development and not yet integrated (optional external loopback model hooks are off by default).
Listens on http://127.0.0.1:8787 with OpenAI-compatible POST /v1/chat/completions (GET /v1/models, GET /healthz). Anthropic and Gemini route via /v1/chat/completions; native /v1/messages, /v1/responses, and /v1/embeddings return HTTP 501.
Step through a scenario or type your own text to inspect what leaves localhost and how replies restore locally.
Client-side browser simulation: runs illustrative JS scenarios locally in this page without starting the gateway, opening maskyr.vault, or invoking an AI model.
Browser heuristic preview only: uses simplified JS patterns rather than the full CLI rules, validators, context cues, and gazetteer.
| Original (local) | Surrogate (outbound) | Entity kind | State |
|---|
Every request passes through local entity detection, encrypted vault lookup, residual outbound scanning, and local reply restoration.
Your SDK sends OpenAI-compatible POST /v1/chat/completions traffic to 127.0.0.1:8787 instead of calling upstream endpoints directly.
Deterministic regex rules, validators (Luhn, IBAN mod-97, SSN, entropy), context cues, heuristics, and a name gazetteer locate entities, assign surrogates, and persist mappings in maskyr.vault.
maskyr re-scans the masked JSON payload for residual leaks, then translates and forwards surrogate text to OpenAI, Anthropic, or Gemini.
Streaming and non-streaming completions pass back through local process memory so surrogates resolve to original values.
Deterministic validators, regex rules, context cues, heuristics, and a local name gazetteer detect structured identifiers alongside names and organisations (Fylume's specialised model is in development).
Combines regex rules, validators (Luhn, IBAN mod-97, SSN, entropy), context cues, heuristic name/address detection, and a local name gazetteer across people, companies, emails, IBANs, and street addresses; secret tokens block egress by default (action: 'block') and optional loopback model hooks are off by default.
Replaces entities with format-matching surrogates and shifted dates of birth so upstream reasoning and formatting stay coherent.
Deterministic vault scopes via x-maskyr-scope keep surrogate assignments stable across follow-up turns and allowlisted tool-call arguments.
Persists original-to-surrogate pairs encrypted in maskyr.vault on disk while matching active mappings and multi-token aliases in local process memory before replies reach your application.
Point OpenAI-compatible SDKs at http://127.0.0.1:8787 or wrap command-line workflows from your terminal.
POST /v1/chat/completions, GET /v1/models, and GET /healthz on http://127.0.0.1:8787 with optional x-maskyr-scope headers.
POST /v1/chat/completions (maskyr translates upstream). Native /v1/messages, /v1/responses, and /v1/embeddings return HTTP 501.
local.baseUrl for Ollama or llama.cpp when policy routes sensitive kinds locally.
Active mappings persist encrypted in $MASKYR_HOME/maskyr.vault (0600 AES-256-GCM) while active lookups run in local process memory; remote AI endpoints only process deterministic surrogates.
policy.minConfidence; optional external loopback model hooks (off by default via policy.modelDetection) bypass minConfidence when configured.
$MASKYR_HOME/maskyr.vault (0600 AES-256-GCM) while active lookups run in local process memory.
Fylume's specialised local span-recognition model is currently in development and is not yet integrated into this release. Today, maskyr detects entities locally using deterministic regex rules, validators (Luhn, IBAN mod-97, SSN, entropy), context cues, heuristic name and address detection, and a local name gazetteer, with optional external loopback model hooks off by default behind policy.modelDetection. Engineering teams should review active entity policies, allowlists, and attachment rules against their own threat model prior to deployment.
Inspect gateway endpoints, policy schemas, threat model boundaries, and brand assets.
Test custom prompts in the workbench above or follow the quickstart guide to run the proxy locally.