Is sending PHI in an LLM prompt a HIPAA disclosure?
It can be. When a HIPAA-regulated organization sends PHI to an LLM endpoint operated by a separate party, that transmission is generally a disclosure and must be permitted. Permissibility typically turns on whether the provider acts as a business associate under a signed agreement, whether the data meets the minimum necessary standard, and whether Security Rule safeguards are in place.
Mapping HIPAA terms onto a prompt
The first question is whether a prompt represents a disclosure or a use. The answer depends on where the model runs and who operates it.
| Where the PHI goes | Likely characterization |
|---|---|
| An LLM endpoint operated by a separate party | Generally a disclosure, which must be permitted |
| The organization's own controlled environment, with processing kept entirely inside it | More likely a use |
Where PHI enters the data flow
PHI can reach a model through more than the text a person types. Each of the following paths should be assessed.
| Data path | Description |
|---|---|
| User input | Free text that employees or applications place in a prompt. |
| Retrieved context | Records and documents added by retrieval before the model call. |
| Tool-call payloads | Arguments sent to tools and outputs returned to the model. |
| Provider-side handling | Retention, logging, review, and training terms at the endpoint. |
Conditions that make the disclosure permissible
Permissibility typically turns on three conditions:
- Whether the provider acts as a business associate under a signed agreement.
- Whether the data meets the minimum necessary standard.
- Whether Security Rule safeguards are in place.
Questions to answer before PHI reaches a model endpoint
- Is the model hosted by a separate party, and if so, is there a signed BAA covering the specific endpoint and features in use?
- What are the provider's retention, logging, human-review, and training-use terms for prompts and outputs?
- Which data paths can carry PHI: user input, retrieved context, system prompts, tool-call payloads, tool outputs?
- Can PHI be detected and redacted or blocked at a central control point before any model call?
- Are agent and application permissions limited to the minimum necessary PHI, and is that enforced at runtime?
- Do audit logs record prompts, context, tool calls, and policy decisions, with protected storage and defined retention?
Keep the legal question and the enforcement question separate
Whether a prompt is a permissible disclosure is a legal and compliance determination that counsel should confirm. Runtime controls do not make that determination; they help enforce it consistently once it has been made.
Runtime controls that support the determination
Controls are most useful at a point every model call passes through, such as a gateway, because prompts, retrieved context, and tool-call payloads can all be inspected there. Detection of PHI before transmission allows the system to redact, block, or route the request according to policy. For example, a request containing PHI can be allowed only toward endpoints that your review has found to be covered by a BAA. Detection is imperfect, so it should complement data minimization and not replace it.
Agents need least-privilege access. Each agent or application should have its own identity and permissions scoped to the records and tools its task requires, with sensitive tool calls subject to approval where the risk warrants it. This is how minimum necessary is enforced at runtime instead of asserted in a policy document.
Audit logging ties the pieces together. Logs should capture prompts, retrieved context, tool calls, and policy decisions, and the logs themselves can contain PHI, so they need access control and defined retention. Trussed AI provides runtime governance and security for enterprise AI agents, including runtime policy enforcement, agent permissions, and audit logging. Whatever tooling you choose, evaluate it against the same criteria.