Legal & Compliance

Auditing Deid Leakage

Adversarially scan already-de-identified clinical text for residual identifiers and emit a leakage report that blocks release on any hit. Use after OpenMed de-identification when the user asks to verify a redaction, prove no PHI/PII leaked, gate a dataset before sharing, or run a second-pass detector. Covers format and checksum detectors (SSN, Luhn for card numbers, MRN/account patterns, emails, phones, dates), entropy heuristics for high-randomness tokens, severity scoring, and a hard block-on-leak rule. This is the verification half of OpenMed's leakage-first ethos. Hand-off: re-run openmed.extract_pii on the de-id output and diff against expectations. License-free, local-first. Pairs after deidentifying-clinical-text.

Publisher / source
maziyarpanahi/openmed (found on GitHub top repositories)
Upstream record
maziyarpanahi/openmed
Version
Version 1
Published
Publication review
Approved for publication · recorded passed scan 2026-11-05
Content fingerprint
87f2dbf5dcf3a2264b4777ede4678d03c84ec6cabe03e02126c8c9b197ad9f91