Back to all articles
AI in HealthcareHealthcare ComplianceAI Governance

Securing AI Systems in Healthcare: Controls That Matter

Stephanie CornelissenJuly 11, 20264 min read

Security controls for AI systems in regulated healthcare environments.

Securing AI Systems in Healthcare: Controls That Matter

AI systems in healthcare handle protected health information, connect to clinical systems and, with large language models, accept free text from users and documents. That creates security risks that traditional application controls do not fully cover. This guide sets out the security controls a regulated healthcare organization should put around AI systems, from data access to prompt injection and vendor contracts. For the wider risk process, see AI risk management framework for healthcare; for HIPAA specifics, see HIPAA-compliant AI.

The rules that apply

  • HIPAA Security Rule: administrative, physical and technical safeguards for electronic protected health information, including risk analysis, access control, audit controls and transmission security (HHS Security Rule). HHS has also proposed updates to strengthen the rule; check the current status before planning.
  • Business associate agreements: any AI vendor that creates, receives, stores or transmits PHI on your behalf needs a BAA (HHS sample BAA provisions).
  • Industry practices: the HHS 405(d) program publishes Health Industry Cybersecurity Practices for organizations of all sizes (HHS 405(d)).
  • AI risk: the NIST AI Risk Management Framework covers security and resilience as part of trustworthy AI (NIST AI RMF).

Security controls for healthcare AI

AreaRiskControls
Data accessThe AI reads more PHI than it needsMinimum necessary access, scoped service accounts, row- and field-level permissions
User accessUsers see data through the AI they could not see directlyEnforce the user's own EHR permissions on every retrieval; single sign-on and MFA
Prompt injectionText in documents or messages changes the model's behaviorTreat retrieved content as data, limit tool permissions, require confirmation for actions, test with attack cases
Data leakagePHI appears in outputs, logs or vendor training dataOutput filtering, no-training terms in contracts, controlled log retention
Logging and auditNo record of who asked what and what the AI returnedLog inputs, outputs, sources, user and model version; protect and review logs
VendorsUnknown subprocessors and data locationsBAA, security review, subprocessor list, data residency and deletion terms
Model and supply chainTampered models, libraries or datasetsApproved sources, version pinning, integrity checks, dependency scanning
AvailabilityClinical workflow stops when the AI failsFallback workflows, rate limits, monitoring and incident response

LLM-specific risks

The OWASP Top 10 for LLM Applications lists risks such as prompt injection, sensitive information disclosure, supply chain issues, excessive agency and improper output handling. In healthcare, the most important controls are keeping the model's permissions narrow, never letting it act on records without human confirmation, and checking outputs before they reach the chart or the patient. For agents that call tools, see building secure healthcare AI solutions.

Security across the lifecycle

  • Design: threat model the system, including data flows to every vendor.
  • Build: secure coding, secrets management, dependency scanning.
  • Test: penetration testing and adversarial prompt testing before go-live.
  • Operate: monitoring, log review, access reviews and incident response.
  • Change: security review for model updates and new data sources. See AI lifecycle management.

Organizations deploying AI with PHI can see how we build secure systems on our AI implementation support page. For compliance more broadly, see healthcare AI compliance framework.

This article is part of our HealthTech Security and Compliance: A Complete Guide, which covers HIPAA, business associate agreements, safe data handling, and SOC 2 and HITRUST in one place.

In the EU, health software may also fall under the Cyber Resilience Act; MedQAIR explains what the CRA means for health software.

Conclusion

Securing AI in healthcare starts with the HIPAA Security Rule and business associate agreements, then adds controls for AI-specific risks: user-level access enforcement, prompt injection, data leakage, logging, vendor and supply chain review, and fallback plans. Build security into each stage of the lifecycle rather than adding it at the end.

For an overview of governance models, risk management and the rules that apply, see our complete guide to healthcare AI governance and compliance.

If you need a secure AI deployment in a regulated environment, talk to Ekipa's HealthTech engineers.

Frequently asked questions

Does HIPAA apply to AI systems?

Yes, when an AI system creates, receives, stores or transmits electronic PHI for a covered entity or business associate, the Security Rule's safeguards apply.

Do AI vendors need a business associate agreement?

Yes, if they handle PHI on your behalf. Also check their terms on data retention, model training and subprocessors.

What is prompt injection?

An attack where text in a message or document changes how a language model behaves, for example making it reveal data or take an unintended action.

How do you stop AI from showing users data they should not see?

Enforce the user's own access permissions on every data retrieval, rather than giving the AI broad access.

What should AI systems log?

Inputs, outputs, sources used, the user, the model version and any actions taken, with logs protected and reviewed.

Secure AI Deployment
Share:

Related Articles

Ready to Work with Our Team?

Connect with our team to explore how AI expertise can transform your business.