{"repo":"flare-collection/flare-redact","free":true,"listed":false,"github":"https://github.com/flare-collection/flare-redact","clone":"git clone https://github.com/flare-collection/flare-redact.git","description":"Zero-dependency TypeScript secret and PII redaction for any SDK, logs, HTTP, LLM prompts, and scoped MCP tool boundaries.","language":"TypeScript","stars":46,"topics":["data-masking","gdpr","nodejs","pii","privacy","redaction","security","typescript","zero-dependency","ai-privacy"],"license":"MIT","category":"security-tools","readme_excerpt":"flare-redact Hide secrets & PII in logs, prompts, and text — before they leak. 🌐 International by default — 24 languages 🇬🇧 🇨🇳 🇮🇳 🇪🇸 🇸🇦 🇫🇷 🇵🇹 🇷🇺 🇯🇵 🇩🇪 🇰🇷 🇹🇷 🇮🇹 🇮🇷 🇵🇱 🇺🇦 🇳🇱 🇻🇳 🇮🇩 🇹🇭 🇬🇷 🇮🇱 🇦🇿 🇷🇴 Live playground · Practical redaction guides · LLM-friendly API reference --- Every leaked secret has the same origin story: someone logged an object, and a password, token, or API key was sitting inside it. The code looked innocent — logger.info({ user }) — but user carried a session token, and now it's in your log aggregator, your error tracker, and three vendors' systems forever. flare-redact is one function you wrap around that data. It reads the content , not just the field names, so it catches the AWS key someone pasted into a free-text note , the JWT in an Authorization header, the card number in a stack trace — and masks them, keeping just enough of a hint to stay debuggable. Nothing to configure. No list of field paths to maintain. No native build step. The same problem now has a new address: your LLM calls. Wrap your OpenAI or Anthropic client and detected secrets are stripped from prompts and restored in the reply — the model never sees those original values, while references survive. Jump to it ↓ --- --- --- 🔍 Context-aware — spans carry risk and confidence 🔐 Secure vaults — opaque tokens, optional AES-GCM persistence 🎭 Useful test data — keyed pseudonyms and typed surrogates 🔥 FlareFlow agent IFC — source→sink capabilitie","default_branch":null,"files":null,"tree":[],"storefront":"/r/flare-collection","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/flare-collection/flare-redact/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}