AI Security in Pharma: Protecting AI Systems from Attack and Misuse

Direct answer

AI security in pharma is the protection of AI systems themselves against threats such as prompt injection, data leakage, training data poisoning, adversarial inputs, model theft and compromised third-party components. It complements general cybersecurity, and is especially important for language model and agent systems that read external content or can take actions.

AI governance frameworkAI governance as an umbrella over distinct components that are not synonyms. Highlighted: Security.AI governancePolicy, inventory, risk classification, roles, lifecycle controlsDatagovernanceModelvalidationSystemvalidationModelmonitoringChangecontrolRiskmanagementHumanoversightExplainabilityBias and dataqualitySecurityPrivacyAuditability
Illustration. All information shown is also available as text on this page.

Executive summary

AI systems create new attack surfaces. A language model that reads documents or emails can be manipulated by hidden instructions; an agent with tool access can be misused. Pharmaceutical intellectual property and patient data make these risks significant.

This page is part of Track A, AI for pharmaceutical manufacturers, within the AI in Pharma section. Statements describe potential applications (claim levels 1 and 2) unless a source is cited.

Definition and scope

This page covers securing AI. Using AI for security operations is covered in AI in pharmaceutical cybersecurity.

The problem and today's process

Security reviews sometimes treat AI applications like ordinary software and miss AI-specific threats.

Threats to AI systems

Security threats to AI systems
ThreatDescriptionExample control
Prompt injectionInstructions hidden in content manipulate the modelInput handling, restricted tool permissions
Data leakageSensitive data revealed through outputs or providersData controls, approved tools
Data poisoningManipulated training data alters behaviourData provenance controls
Adversarial inputsCrafted inputs cause wrong outputsRobustness testing
Model theft or misuseUnauthorised access to modelsAccess control
Supply chainCompromised third-party models or librariesSupplier assessment, integrity checks

Potential AI applications

Potential AI applications in AI security (claim level: potential)
Potential applicationWhat AI may doTechnologyTypical dataDecision that remains human
Security testingTesting AI applications against known attack typesSecurity toolingAI applicationsRemediation decisions
Output monitoringDetecting sensitive data in outputsNLPOutputsResponse

How a use case fits together

  1. Identify data and actions the AI can access
  2. Model threats
  3. Apply least-privilege permissions
  4. Control inputs and outputs
  5. Test against AI-specific attacks
  6. Monitor use
  7. Respond to incidents
  8. Reassess after changes
An illustrative application of Hello Pharma's use case relationship model.

Data requirements

Protect training data, prompts, documents, logs and model artefacts according to their sensitivity.

See pharmaceutical data for AI.

The human role

Security teams assess and test; AI teams implement controls; owners approve residual risk.

Regulatory considerations

Regulatory expectations for AI in medicinal product development and manufacturing are evolving, and differ by jurisdiction and use. This page describes common principles, not regulatory requirements. Organisations should identify the guidance, legislation and standards applicable to their products, markets and uses, and verify their current status.

Applicable regulatory guidance differs by product, market and use; consult current guidance from the relevant authorities and standards bodies.

Limitations

  • Defences against prompt injection are imperfect.
  • Threats evolve quickly.
  • Third-party models limit visibility.

Risks and governance

Risks and typical controls
RiskTypical control
Agents taking harmful actionsLeast privilege and approval gates
Confidential data exposureData controls and monitoring

See AI governance in Pharma.

Measuring whether it helps

Measure a baseline first, then compare. Possible measures:

  • Findings from AI security testing
  • Security incidents involving AI

No specific improvement should be assumed. See AI implementation in Pharma.

Questions to ask before implementation

  1. What data and actions can the AI reach?
  2. Which AI-specific threats apply?
  3. How are permissions limited?
  4. How is testing performed?

Related use cases are listed in the AI use cases in Pharma directory.

Frequently asked questions

What is AI security in pharma?

It is the protection of AI systems themselves against threats such as prompt injection, data leakage, poisoning, adversarial inputs, model theft and supply chain compromise.

What is the difference between AI security and AI for cybersecurity?

AI security protects AI systems. AI for cybersecurity uses AI to protect other systems.

What is prompt injection?

Prompt injection is when content an AI system reads contains instructions that manipulate it into unintended behaviour, such as revealing data or taking actions.

How can AI agents be secured?

By limiting permissions, requiring approval for consequential actions, controlling inputs, logging actions and testing against attacks.