Re-identification risk: why HIPAA Safe Harbor is not sufficient for modern AI
HIPAA Safe Harbor removes 18 identifiers from health records, but modern AI can re-identify up to 99.98% of individuals using as few as 15 data attributes. The gap between what Safe Harbor protects and what AI can infer is the most dangerous blind spot in health data governance today.
HIPAA Safe Harbor was designed in 2003 to make health data safe by stripping 18 identifiers from patient records. Twenty-two years later, researchers have demonstrated that machine learning models can re-identify 99.98% of Americans using just 15 demographic attributes from supposedly de-identified datasets. The framework that was supposed to protect patients is now the loophole that exposes them.
This is not a theoretical risk. It is a structural failure in how the healthcare industry thinks about data protection in the age of AI.
What HIPAA Safe Harbor actually removes
The Safe Harbor method, defined under 45 CFR §164.514(b), requires covered entities to remove 18 specific identifiers from protected health information (PHI). These include names, geographic data smaller than a state, dates more specific than a year, phone numbers, email addresses, Social Security numbers, medical record numbers, and several others.
The logic was straightforward: if you remove these 18 fields, the remaining data cannot reasonably be linked back to a specific person. In 2003, that logic held. Data was siloed. Computational power was limited. External data sources were sparse.
None of those conditions exist today.
Why AI breaks the Safe Harbor assumption
Modern AI does not need your name to know who you are. It needs patterns.
A 2019 study published in Nature Communications demonstrated that a machine learning model could correctly re-identify 99.98% of individuals in any dataset using just 15 attributes, including age, gender, marital status, and other non-identifier fields that Safe Harbor explicitly allows to remain in the data.
This is the core problem with re-identification risk in health data: Safe Harbor assumes that removing specific fields makes a record anonymous. AI assumes that any combination of remaining fields can reconstruct identity. AI is correct.
Consider what Safe Harbor leaves intact. Diagnosis codes. Procedure codes. Lab values. Visit frequency. Medication lists. Admission and discharge patterns. These clinical data points, when combined with publicly available information like voter rolls, consumer purchase data, or social media activity, create a fingerprint that is often unique to a single person.
Researchers at Harvard demonstrated this over a decade ago when Latanya Sweeney re-identified the medical records of Massachusetts Governor William Weld using only ZIP code, birth date, and gender, three fields that Safe Harbor's treatment of geographic and date data does not fully eliminate.
What is not a safe harbor when it comes to securing PHI?
The term "safe harbor" implies a zone of legal protection. If you follow the 18-identifier removal process, you are compliant. But compliance and safety are not the same thing.
Safe Harbor does not protect against inference attacks, where AI models derive sensitive information from non-sensitive fields. It does not protect against linkage attacks, where de-identified health data is matched against external datasets. It does not protect against composition attacks, where multiple de-identified datasets are combined to narrow the set of possible individuals.
Safe Harbor also does not account for temporal patterns. A sequence of emergency department visits at specific intervals, combined with a rare diagnosis code and a particular geographic region, can identify a patient even when every one of the 18 identifiers has been removed.
The honest answer is that Safe Harbor is not a safe harbor at all. It is a checklist that predates the technology now used to process the data it was designed to protect.
Why is AI not HIPAA compliant?
HIPAA was written for a world of fax machines and filing cabinets. AI operates in a world of pattern recognition across billions of data points.
AI is not HIPAA compliant by default because HIPAA does not regulate how models learn. It regulates how data is stored, transmitted, and disclosed. An AI model trained on de-identified data may technically comply with HIPAA because the training data passed Safe Harbor review. But that model can still memorize patterns that, when combined with auxiliary data, enable re-identification.
Large language models and deep learning architectures are particularly dangerous in this context. They do not simply process individual records. They learn distributions across entire populations. A model trained on millions of de-identified health records can generate outputs that reveal information about specific individuals, even if no single training record contained a direct identifier.
This is why the question "Is this AI HIPAA compliant?" is the wrong question. The right question is: "Can the outputs of this AI, combined with available external data, re-identify any individual whose data was used in training?"
For most health AI systems today, the answer is yes.
The re-identification risk spectrum
Re-identification risk is not binary. It exists on a spectrum, and the position of any dataset on that spectrum depends on factors that Safe Harbor does not measure.
Population size matters. A de-identified dataset from a large urban hospital system carries lower re-identification risk than one from a rural clinic with 200 patients. When the population is small, even minimal clinical detail can be identifying.
Rarity of conditions matters. A de-identified record showing treatment for a rare neuroendocrine tumor in a specific age bracket and state may describe only one or two people in the entire country. Safe Harbor does not adjust for disease prevalence. For more on the data challenges around rare diagnoses, see Neuroendocrine tumor behavioral intelligence: the data before the rare diagnosis.
Temporal density matters. High-frequency data, such as daily glucose readings from a wearable device or weekly lab results during chemotherapy, creates a temporal fingerprint that is far more identifying than a single snapshot.
None of these risk factors appear in the Safe Harbor standard. The 18-identifier checklist treats a dataset of 10 million urban patients identically to a dataset of 50 rural patients with rare cancers.
Key statistics
Here are the numbers that define the re-identification risk problem in health data today.
How to use AI and be HIPAA compliant
Compliance requires more than Safe Harbor. It requires a framework that accounts for the actual re-identification risk of health data in the context of modern AI.
First, every dataset used for AI training needs a risk score that goes beyond the 18-identifier checklist. That score should account for population size, condition rarity, temporal density, geographic specificity, and the availability of external linkage sources.
Second, consent must be specific to the use case. A patient who consents to their de-identified data being used for quality improvement has not consented to that data training a commercial AI model sold to pharmaceutical companies. Consent governance is a structural requirement, not a one-time checkbox. SuperTruth built ConsentOS specifically for this problem, with five tiers of consent that track purpose, scope, and duration.
Third, data provenance must be auditable. If a regulator or patient asks where a data point came from, how it was transformed, and who accessed it, the system must be able to answer. This is what the HIPAA problem health AI companies are ignoring actually looks like in practice.
Fourth, access controls must be proportional to risk. A dataset with high re-identification risk should require stricter access than one with low risk. Flat access policies, where all de-identified data is treated equally, are an invitation to breach.
What is the HIPAA security rule and AI?
The HIPAA Security Rule (45 CFR Part 160 and Subparts A and C of Part 164) establishes standards for protecting electronic PHI. It requires administrative, physical, and technical safeguards.
But the Security Rule was written for data at rest and data in transit. It was not written for data in computation. When an AI model processes health data during training, that data exists in GPU memory, in gradient calculations, in model weights. The Security Rule does not specify how to protect PHI during matrix multiplication.
The Office for Civil Rights (OCR) has begun signaling that AI systems handling PHI must comply with the Security Rule, but enforcement guidance remains thin. In December 2023, HHS published a concept paper on AI governance that acknowledged the gap between existing HIPAA protections and the risks posed by AI. The paper did not, however, propose specific technical standards.
This regulatory vacuum is precisely why organizations cannot rely on HIPAA alone. The framework tells you what to remove. It does not tell you what remains vulnerable.
Expert determination is not the answer either
HIPAA offers a second de-identification method: Expert Determination under §164.514(a). This requires a qualified statistical expert to certify that the risk of re-identification is "very small."
In theory, Expert Determination is more rigorous than Safe Harbor because it accounts for context. In practice, it is expensive, inconsistent, and often performed using statistical models that predate modern AI. An expert who certifies low re-identification risk based on k-anonymity thresholds may not account for the ability of a transformer model to cross-reference the dataset against publicly available data.
The deeper issue is that Expert Determination is a point-in-time assessment. It certifies risk at the moment of analysis. But re-identification risk changes as new external data becomes available, as computational methods improve, and as datasets are combined with others. A dataset certified as low-risk in 2023 may be high-risk in 2025 without any change to the data itself.
Static certifications do not protect dynamic data. This is why recency is the most underrated dimension in health AI data governance.
What a trust-scored approach looks like
The alternative to Safe Harbor is not a better checklist. It is a continuous scoring system that measures the actual trustworthiness of health data across multiple dimensions, including re-identification risk.
SuperTruth's Data Trust Index (DTI) scores every health data record from 0 to 100 across eight dimensions: Provenance (25%), Consent (20%), Recency (15%), Quality (10%), Concordance (10%), Validation (10%), Breadth (5%), and Stability (5%). Each dimension captures an aspect of data integrity that Safe Harbor ignores.
Provenance answers the question: where did this data come from, and can we prove it? Consent answers: did the patient authorize this specific use? Recency answers: is this data current enough to be clinically or computationally valid?
A record that passes Safe Harbor but has no provenance trail, expired consent, and stale clinical data would score low on the DTI. A record that has been through Safe Harbor and also has verified provenance, active tiered consent, recent validation, and concordance across multiple sources would score high.
The difference is that DTI scoring is continuous, not binary. It does not declare data "safe" or "unsafe." It tells you exactly how much you should trust a record before any AI model touches it. For a deeper look at how this compares to standard compliance approaches, see What HIPAA does not tell you about data trust.
The cost of getting this wrong
The Change Healthcare breach in 2024 exposed the records of over 100 million Americans. The financial impact exceeded $2.4 billion in the first year alone. But the re-identification risk embedded in de-identified health datasets is a slower, less visible threat that may ultimately cause more damage.
When a de-identified dataset is re-identified, the harm is not just a privacy violation. It is a trust violation. Patients who learn that their "anonymous" data was traced back to them will not participate in future research. Health systems that suffer re-identification incidents will face regulatory action, litigation, and reputational damage.
The cost of fragmented, poorly governed health data is already estimated at $3.5 trillion annually. Re-identification risk adds a layer of liability on top of that cost, one that Safe Harbor was never designed to address.
The regulatory direction
Regulators are catching up, slowly. The EU's GDPR already treats re-identification risk as a factor in determining whether data qualifies as anonymous. The proposed EU AI Act classifies health AI as high-risk, requiring conformity assessments that include data governance.
In the U.S., state laws are moving faster than federal guidance. Washington's My Health My Data Act and similar legislation in other states create obligations around health data that go beyond HIPAA. The FDA's evolving guidance on AI as a medical device increasingly references data provenance and training data quality.
The direction is clear: the era of checklist compliance is ending. The era of continuous, scored, auditable data governance is beginning. Organizations that wait for federal mandates to catch up will be playing defense. Those that adopt trust-scored frameworks now will be ahead of the regulatory curve and ahead of the re-identification risk curve.
The DTI Engine scores every health data record 0 to 100 across 8 trust dimensions before your AI model sees it. If your team is evaluating health data for training, compliance, or clinical use and needs to close the gap between Safe Harbor compliance and actual re-identification protection, schedule a conversation with the SuperTruth commercial team or (215) 918-4140.
Further reading:

Jason Alan Snyder
Co-founder of SuperTruth and Artists & Robots, and an inventor on the Data Trust Index patents. Twenty-plus years building technology inside Interpublic Group. He writes here nearly every day on data trust, provenance, and what AI should be allowed to act on, and publishes essays on his Substack.
About SuperTruth · LinkedIn · Substack · jasonalansnyder.com
See it in practice
DTI scores the record, not the patient.
8 dimensions. 0 to 100. Travels with every record permanently.