HIPAA Risk Analysis and Large Language Models: What to Scope and Document
Yes, when an LLM, AI assistant, or agent creates, receives, maintains, or transmits ePHI, it belongs in the risk analysis required by 45 CFR 164.308(a)(1)(ii)(A). The analysis should document how ePHI moves through prompts, retrieval sources, tool calls, vendor-hosted inference, outputs, and logs. It should also identify threats and vulnerabilities for each flow and feed documented risk management decisions.
When an LLM falls within the scope of the risk analysis
An LLM, AI assistant, or agent belongs in the risk analysis required by 45 CFR 164.308(a)(1)(ii)(A) when it creates, receives, maintains, or transmits ePHI.
ePHI data flows to document for each LLM deployment
For each deployment, document how ePHI moves through prompts, retrieval sources, tool calls, vendor-hosted inference, outputs, and logs. The table below lists the LLM touchpoints to include in the ePHI inventory.
| Touchpoint | What to document |
|---|---|
| Inputs | Prompts, uploads, and retrieved records that carry ePHI into a model. |
| Processing | Context windows, session memory, and vendor-hosted inference. |
| Actions | Tool calls and agent operations that move ePHI to other systems. |
| Outputs | Generated content that contains or derives from ePHI. |
| Records | Logs, traces, and stored conversations that retain ePHI. |
Identifying threats and vulnerabilities specific to LLM systems
The analysis should identify threats and vulnerabilities for each ePHI flow in the inventory, from inputs through records.
Connecting the analysis to risk management, access, audit, and vendors
The findings should feed documented risk management decisions, including safeguards for access and audit controls, and business associate agreements (BAAs) where vendor-hosted inference is involved.
Evidence that supports the documented safeguards
Retain audit evidence that supports each documented safeguard, so the risk analysis and the risk management decisions it informs can be demonstrated.