How a redaction proxy keeps LLM providers from seeing your secrets, and where that promise breaks
Wilfried Roset and Elena Luoto describe Pookie's architecture in an OVHcloud engineering blog post: keyed HMAC placeholders that preserve model reasoning, per-user namespace isolation blocking cross-session leaks, fail-closed outbound behavior, and a candid list of cases where the proxy still lets a secret through.
A redaction proxy sits between your application and a model provider, promising two things at once: the provider never sees your secrets, and you never notice the proxy is there. Wilfried Roset and Elena Luoto, authors of an OVHcloud engineering design post, argue that keeping that promise requires more than a list of regular expressions. What it requires is a set of architectural decisions, each carrying a specific tradeoff, and an honest inventory of where those decisions still fail. Roset states that he built the first working version in two weeks with AI agents.
The first decision concerns placeholders. When Pookie detects a secret in a prompt, it replaces the value with a token like PK_PRIVIP_fe44bc609bf6. The token is derived from the original value using a keyed HMAC — a cryptographic function that turns a value and a secret key into a fixed-length fingerprint. Without the key, the fingerprint reveals nothing about the value and cannot be reversed. With the key, the same value always produces the same fingerprint. That determinism is what lets the model reason: a server referenced as server A in one message stays server A across a whole conversation. The placeholder itself contains no data; it is only a reference to a value held in Pookie's cache, so a third-party provider that stores, logs, or analyses it gets nothing it can use.
Detection runs in two layers. Pattern matching catches values with a known shape: IP addresses, hostnames in configured zones, tokens, keys, IBANs, card numbers, and customer account IDs. An entropy check then catches strings that look random, which is how a generated password with no recognizable format still gets hidden. Encoded content is decoded and scanned again. The authors are explicit that detection is tuned for recall rather than precision: Pookie would rather replace a harmless value than miss a real one. In a code-review scanner, a false alarm costs time. In a proxy, a false positive costs a little context, while a false negative leaks a secret.