Back to browse
NoPII – One line of code to protect PII before it hits your LLM

NoPII – One line of code to protect PII before it hits your LLM

by mroling·Apr 16, 2026·2 points·5 comments

AI Analysis

●●SolidSolve My ProblemSlick

Change one base_url to tokenize PII — blocks requests if the service is unreachable.

Strengths
  • Reverse proxy approach requires zero SDK changes — just swap the OpenAI base_url
  • Fail-safe design blocks requests rather than leaking PII when service is unavailable
  • Full audit trail logs what was detected, tokenized, and forwarded for compliance
Weaknesses
  • PII detection for APIs already exists — Nightfall and Microsoft Purview cover similar ground
  • Adds latency to every LLM call; tokenization round-trip isn't free
Category
Target Audience

Enterprise developers, compliance teams, healthcare and finance apps

Similar To

Nightfall · Microsoft Purview · Private AI

Similar Projects

Developer Tools●●Solid

Personal AI gateway for OpenClaw – tokenomics

OpenAI-compatible proxy with PII masking and token budgets—but LiteLLM, Helicone already do this.

Solve My ProblemBig Brain
crawdog
203mo ago
Developer Tools●●Solid

Agent Firewall – Go proxy to kill LLM death spirals

Wire-protocol circuit breaker for agents when LangSmith costs too much.

Solve My ProblemShip It
wuweiaxin
213mo ago