- Home
- AI Guardrail Software
- PII Firewall
PII Firewall
What it is
PII Firewall is an open-source, self-hosted tool that intercepts personally identifiable information before it reaches an LLM and restores original values in the response. It is presented for workflows such as clinical language processing, fintech support automation, and legal document review. Built-in profiles cover healthcare, finance, legal, and generic use, with custom profiles also supported. Detection options include regex, Presidio, GLiNER, Transformers, OpenAI Privacy Filter, hybrid configurations, and custom backends. For detected information, users can choose to keep it, pseudonymize it, redact it, generalize it, mask it, or hash it. The product says it supports more than 55 languages with automatic language detection and locale-specific patterns. Integration examples include OpenAI, Anthropic, LangChain, FastAPI, streaming transport, Ollama, LiteLLM, and arbitrary HTTP LLM endpoints. Tenant-scoped token mappings and a forget operation support deletion of vault mappings for a thread or case. Each call produces a trace with detected entity types, confidence scores, and applied replacements. The project uses the Apache 2.0 license and provides a Python package; its regex-only base installation has no ML dependencies.
For and against
For
- Supports six ways to handle detected PII.
- Includes profiles for healthcare, finance, and legal.
- Claims support for more than 55 languages.
- Regex-only base install needs no ML dependencies.
Against
- The HASH action is not used in built-in presets.
- The listed SDK language is Python.
- It is self-hosted for Linux.
The verdict
PII Firewall focuses on intercepting and restoring personal information in LLM workflows, with multiple detection and disposition choices. Its open-source license and regex-only installation are useful considerations, while the maker notes that hashing is not part of built-in presets.
Who it suits
It is suited to teams handling sensitive information in healthcare, finance, or legal workflows that use LLMs. Python users seeking a self-hosted, open-source option may also find its deployment model relevant.
Plans and prices
Open source
Apache 2.0 · Python package · regex-only install needs no ML dependencies
Read 7 Oct 2026 · pii-firewall.com
On the record
- Audit
- Each call produces a trace with detected entity types, confidence scores, and applied replacements.pii-firewall.com · read 7 Oct 2026
- Data controls
- The maker describes tenant-scoped token mappings and a forget operation that deletes vault mappings for a thread or case.pii-firewall.com · read 7 Oct 2026
- Detection
- Detection backends include regex, Presidio, GLiNER, Transformers, OpenAI Privacy Filter, hybrid, and custom options.pii-firewall.com · read 7 Oct 2026
- Domain profiles
- Built-in profiles include healthcare, finance, legal, generic, and custom.pii-firewall.com · read 7 Oct 2026
- Install
- The maker provides a Python package install; the base regex-only install has no ML dependencies.pii-firewall.com · read 7 Oct 2026
- Integrations
- Examples cover OpenAI, Anthropic, LangChain, FastAPI, streaming transport, Ollama, LiteLLM, and arbitrary HTTP LLM endpoints.pii-firewall.com · read 7 Oct 2026
- Intended users
- The maker highlights healthcare, finance, and legal use cases, including clinical NLP, fintech support automation, and legal document review.github.com · read 7 Oct 2026
- Languages
- The product says it supports 55+ languages with automatic language detection and locale-specific patterns.pii-firewall.com · read 7 Oct 2026
- License
- The project is open source under the Apache 2.0 license.pii-firewall.com · read 7 Oct 2026
- Notable limit
- The maker says the HASH action is for analytics workflows and is not used in built-in presets.pii-firewall.com · read 7 Oct 2026
- PII handling
- Six disposition actions are supported: keep, pseudonymize, redact, generalize, mask, and hash.pii-firewall.com · read 7 Oct 2026
- Purpose
- Intercepts and anonymizes PII before it reaches an LLM, then restores original values in the response.pii-firewall.com · read 7 Oct 2026