Compliance Guide

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.

LLM touchpoints to include in the ePHI inventory
TouchpointWhat to document
InputsPrompts, uploads, and retrieved records that carry ePHI into a model.
ProcessingContext windows, session memory, and vendor-hosted inference.
ActionsTool calls and agent operations that move ePHI to other systems.
OutputsGenerated content that contains or derives from ePHI.
RecordsLogs, 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.

Build evidence for the safeguards your risk analysis identifies

Talk with Trussed AI about runtime policy enforcement, agent permissions, and audit logging for AI agents that interact with sensitive data.

Talk to an Expert