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.
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
| Threat | Description | Example control |
|---|---|---|
| Prompt injection | Instructions hidden in content manipulate the model | Input handling, restricted tool permissions |
| Data leakage | Sensitive data revealed through outputs or providers | Data controls, approved tools |
| Data poisoning | Manipulated training data alters behaviour | Data provenance controls |
| Adversarial inputs | Crafted inputs cause wrong outputs | Robustness testing |
| Model theft or misuse | Unauthorised access to models | Access control |
| Supply chain | Compromised third-party models or libraries | Supplier assessment, integrity checks |
Potential AI applications
| Potential application | What AI may do | Technology | Typical data | Decision that remains human |
|---|---|---|---|---|
| Security testing | Testing AI applications against known attack types | Security tooling | AI applications | Remediation decisions |
| Output monitoring | Detecting sensitive data in outputs | NLP | Outputs | Response |
How a use case fits together
- Identify data and actions the AI can access
- Model threats
- Apply least-privilege permissions
- Control inputs and outputs
- Test against AI-specific attacks
- Monitor use
- Respond to incidents
- Reassess after changes
Data requirements
Protect training data, prompts, documents, logs and model artefacts according to their sensitivity.
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
| Risk | Typical control |
|---|---|
| Agents taking harmful actions | Least privilege and approval gates |
| Confidential data exposure | Data controls and monitoring |
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
- What data and actions can the AI reach?
- Which AI-specific threats apply?
- How are permissions limited?
- 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.
