All Tags
Tag
#security
2 pieces of content
case-studyMar 2026articleMar 2026
Building a Local PII Privacy Gate for AI Coding Assistants
How I built a hybrid regex + on-device LLM scanner that blocks prompts containing PII before they reach cloud APIs — zero data leaves the device.
Regex vs On-Device LLM for PII Detection: A 25-Case Benchmark
A comprehensive benchmark comparing regex pattern matching against Apple's on-device Foundation Models for PII detection — 52% F1 vs 100% F1, and why binary classification beats extraction.