vadimall.com logo

vadimall.com

Archives
Log in
Subscribe
June 3, 2026

PII Redaction Middleware: Strip Sensitive Data Before It Reaches the LLM

Build TypeScript middleware that redacts PII before it reaches the LLM, then re-hydrates the response - reversible redaction, audit logging, and a test suite.

Read the full post

Don't miss what's next. Subscribe to vadimall.com:
← Newer Hybrid Search That Actually Works: BM25 + Embeddings + Reranking in TypeScript Older → Build an AI Eval Suite with Promptfoo: Catch Prompt Regressions Before Production
Powered by Buttondown, the easiest way to start and grow your newsletter.