Common signs include health-related notes appearing in assistant prompts, model outputs repeating customer intake details, logs capturing sensitive order text, and staff using the same browser session to move between source systems and AI tools. If the organisation cannot prove where the data went, it cannot prove that the boundary held.
What the signs actually tell you
The signals are strongest when they show a boundary problem, not just a one-off mistake. If PHI appears in prompts, outputs, logs, or shared browser sessions, the important question is whether the regulated workflow still controls where the data enters, how long it stays visible, and whether it can be reproduced outside the approved system. That is a data-handling failure with governance and audit consequences, not just a user-training issue.
Look for repeated leakage patterns across the same workflow step. One health note in an assistant prompt may be accidental; the same note reappearing in model output, chat history, browser autofill, export logs, or downstream tickets suggests the workflow is copying regulated data into tools that were not designed to receive it. At that point, the issue is usually not content alone, but a weak boundary between source system, user session, and AI tool.
Indicators become more credible when you can trace them back to a specific handoff. If a staff member can move from a source application into an AI tool without a fresh session, fresh approval, or clear redaction step, the workflow is prone to invisible PHI propagation. The practical sign is not just exposure, it is loss of provenance: the organisation can no longer show which system handled the data first, where it was transformed, or whether it was sent onward.
Where PHI escape usually shows up in practice
The most common failure mode is reuse of the same browser or SSO session across systems with different handling rules. A clinician, operator, or support worker may paste PHI from a regulated system into an AI assistant, then continue working as if the context were isolated. When that happens, the same content can surface in autocomplete, prompt history, cached pages, or model logs, even if nobody intended to create a copy.
Another common sign is unexpected echoing. If an assistant starts repeating intake details, order text, medication notes, or patient identifiers that should only exist in the source workflow, that is evidence the tool is ingesting more than the user expected. Repetition matters because it often reveals that the tool retained or exposed sensitive data in a way the operator did not see. For the broader risk pattern, see Shadow AI and AI Agent Discovery Guide, which helps teams find unsanctioned AI paths that bypass normal governance.
Logs and telemetry can also be a red flag. If application logs, browser history, prompt logs, audit trails, or support exports contain health-related text that never belonged there, the workflow is leaking beyond the intended processing boundary. A sensitive field in a log is especially important because logs are often copied into monitoring, troubleshooting, and retention systems that were never part of the regulated workflow. In AI-heavy environments, uncontrolled tool use and overexposed credentials can turn a convenience shortcut into a wider exposure path, as shown by Gemini CLI prompt injection flaw 2025 and Replit AI agent database deletion 2025.
What to verify before you call it contained
First verify whether the organisation can reconstruct the data path end to end. You need to know where PHI entered the AI workflow, whether it was redacted or transformed, which account or browser session carried it, and what systems retained copies. If any of those questions cannot be answered, the boundary should be treated as unproven.
Then verify whether the tool chain has clear separation between source records and AI interactions. The most useful test is simple: could the same user, in the same session, move from regulated data into an AI tool without triggering a fresh control point? If yes, the workflow likely allows silent escape. Teams should also check whether prompt logs, transcript exports, browser caches, and ticketing integrations are retaining content longer than the source workflow intends. For AI tool discovery and containment, Shadow AI and AI Agent Discovery Guide is a useful navigation point.
Finally, verify whether staff are using AI tools as a parallel processing lane for regulated work. If the assistant is being asked to summarise, classify, draft, or triage PHI outside the approved system, the organisation should assume the AI tool has become part of the regulated workflow whether or not it was formally approved. That is where leakage often starts: not with a malicious actor, but with an informal workflow that outpaces policy.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP API Security Top 10 addresses the attack surface, NIST SP 800-53 Rev 5 sets the technical controls, and ISO/IEC 27001:2022 defines the regulatory obligations.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP API Security Top 10 | API2 — Broken Authentication | AI tool sessions can expose PHI when auth boundaries are reused across systems. |
| Recommendation — Enforce strong authentication boundaries before PHI can move into AI tools. | ||
| NIST SP 800-53 Rev 5 | AU-2 — Audit Events | Prompt, transcript, and export logs must record PHI handling for traceability. |
| AC-6 — Least Privilege | Overbroad access lets users or tools move PHI beyond the regulated workflow. | |
| Recommendation — Log PHI-related AI interactions so data movement can be reconstructed. Limit AI tool and data access to the minimum required for the task. | ||
| ISO/IEC 27001:2022 | A.8.15 — Logging | Logging controls are central when PHI may appear in prompts, outputs, or exports. |
| A.5.15 — Access control | Access control determines whether AI tools can receive regulated data at all. | |
| Recommendation — Control and review logs so PHI does not leak into unintended records. Restrict who can send PHI into AI-enabled workflows. | ||
Practitioner Guidance
What to prioritise: Start with the points where PHI crosses from a controlled system into an AI tool, because those are the places where leakage is easiest to prove or disprove. Browser session reuse, copy-paste behaviour, and hidden logging paths usually matter more than the model itself.
What to verify: Confirm whether your team can produce a defensible data trail for the exact item of PHI in question, including origin, transformation, session context, and retention. If you cannot prove the trail, treat the workflow as uncontrolled until you can.
Common mistake: Treating visible prompt content as the only issue. In practice, the bigger risk is often the silent copy, the saved transcript, or the export that moves PHI into a system with broader retention and access.
Practitioner takeaway: A workflow is only controlled if you can show where regulated data went, who could see it, and what systems kept it; if that proof is missing, assume the boundary failed.
Related resources from NHI Mgmt Group
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on October 12, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org