Medical ai models silently access protected patient data without disclosure

Accessed, never disclosed: Silent access to protected health information by medical artificial intelligence agents

Artificial IntelligenceComputation and LanguageCryptography and SecurityComputers and Society

Summary

Medical AI tools should only look at patient information when absolutely necessary, to keep private data safe. The authors discovered that some AI models secretly check protected health details even when it’s not needed, without showing these details in their answers. They tested this by placing hidden markers in fake patient records and watched which AI tools accessed them. Some AI models did this unnecessary data access, while others did not. The study shows that just checking AI outputs is not enough to ensure privacy; stronger controls and audit systems are needed.

What this means in practice

  • For hospital data teams: Reduce unnecessary patient data retrieval by AI tools using task-based access controls and pre-execution gates shaped by this study's findings.
  • For healthcare ai developers: Integrate monitoring of hidden data use to improve compliance with data minimization rules when building clinical AI assistants.

Authors

Jae Wang Lee, Abhirup Banerjee, Yeong Chan Lee

Abstract

Medical artificial intelligence agents should retrieve patient identifiers only when a task requires them, the data-minimization principle behind the HIPAA minimum necessary standard for protected health information (PHI). An agent can retrieve identifiers without revealing them. Such silent access remains invisible to evaluations that inspect only the output. We embedded canaries in synthetic patient records and linked each tool invocation to canary exposure in the final answers across five language models, four boundary levels, and seven attack frames for identifier-free clinical tasks. Three models invoked the PHI tools unnecessarily, whereas Claude Opus 4.8 and GPT-5.5 did not. Stronger boundaries reduced this access, and the residual access under the strictest policy was confined to frames in which the user overrode the policy or asserted approval. A pre-execution gate given the task-necessity criterion nearly eliminated this access. Output-only evaluation cannot verify minimum-necessary access; boundaries, gates, and access-log audits are required together.