News for hackers. Stuff that matters.

dilawargopang

Re:Nietzschian Debugger on Monday October 26, 2026 @03:21PM (#50249499)
Sure
Re:Nietzschian Debugger on Monday October 26, 2026 @03:06PM (#50249292)
Glad it gave you a good laugh!
Re:Nietzschian Debugger on Monday October 26, 2026 @02:51PM (#50249013)
I hope to get laid off soon, so I will improve on it :-)
Re:Nietzschian Debugger on Monday October 26, 2026 @02:50PM (#50248991)
Your comment is bliss to a half hearted junior dev and full time lazy philosopher like me. thank you
Hey HN,

phi-redactor is a reverse proxy that sits between your app and OpenAI/Anthropic, automatically detecting and masking all 18 HIPAA Safe Harbor identifiers before they leave your network.

How it works: - Request hits the proxy → Presidio + spaCy detect PHI (names, SSNs, MRNs, dates, etc.) - PHI replaced with clinically coherent fakes (John Smith → Robert Chen, not [REDACTED]) - Sanitized request forwarded to the LLM - Response comes back → synthetic tokens rehydrated to originals - Your app sees the real data, the LLM never does

Technical details: - 10 custom Presidio recognizers including FHIR/HL7v2 support - Fernet-encrypted SQLite vault for mapping persistence - SSE streaming with buffer-based rehydration - Tamper-evident hash-chain audit trail - 256 tests passing

Apache-2.0. Feedback welcome — especially from anyone doing healthcare AI in production.