18. AI Security#
AI creates new targets for attackers and new weapons for them. Models can be tricked by hidden instructions, poisoned through their data, or used to write convincing phishing messages and impersonate executives. This chapter explains the threats to and from AI and the defenses organizations use against them.
Threats to AI: Prompt injection, data poisoning, and model theft attack AI systems directly.
AI-Enabled Attacks: Attackers use AI for phishing, deepfake fraud, and faster discovery of weaknesses.
Defenses: Red teaming, access control, and monitoring reduce exposure to both kinds of threat.
Chapter Video
This explainer shows how hidden instructions can hijack an AI system and how organizations defend against them.
What Is a Prompt Injection Attack? (10:57) by IBM Technology
Hosted on YouTube; property of its original creator, embedded here for educational reference only.
Learning Objectives
By the end of this chapter, you will be able to:
Explain prompt injection, poisoning, and model-asset threats.
Identify independent controls for phishing and synthetic-media fraud.
Specify authorized scope and evidence for security testing.
Apply least privilege and connect monitoring to response.
Use a scripted attack suite to compare controls by observed disclosures and tool actions.
Explain how independent verification and external action controls protect financial workflows against persuasive inputs.
Chapter Flow
Concept Map
- Prompt injection
- Poisoning
- Model theft
- Phishing
- Impersonation
- Verification
- Attack testing
- Access controls
- Containment
Glossary
# |
Term |
Explanation |
|---|---|---|
1 |
Threat model |
An account of assets, adversaries, entry points, and consequences. |
2 |
Prompt injection |
An attempt to turn untrusted content into overriding instructions. |
3 |
Indirect injection |
Injection delivered through retrieved content or tool observations. |
4 |
Data poisoning |
Deliberate corruption of training data, labels, or knowledge sources. |
5 |
Model theft |
Unauthorized access to protected model assets or extraction of capabilities. |
6 |
Phishing |
Deceptive communication intended to obtain information or induce action. |
7 |
Deepfake |
Synthetic or manipulated media imitating a person or event. |
8 |
Vulnerability |
A weakness that can enable an unwanted effect. |
9 |
Red teaming |
Authorized adversarial testing to discover failures. |
10 |
Least privilege |
Granting only permissions needed for a legitimate task. |
11 |
Deny by default |
Rejecting operations without explicit permission. |
12 |
Blast radius |
The assets or people a failure can affect. |
13 |
Jailbreak |
A direct attempt to talk a model out of its own safety behavior. |
14 |
Exfiltration |
Moving data out of an organization, for example through a message an assistant is induced to send. |
15 |
Excessive agency |
Giving an assistant more tools or permissions than its task needs. |
16 |
Social engineering |
Manipulating a person into an action or disclosure, as in phishing or voice fraud. |
17 |
Supply chain risk |
Exposure created by vendors, packages, datasets, and plug-in tools the organization depends on. |
18 |
Attack suite |
A set of attack cases with expected safe behavior, rerun after each change. |
19 |
Attack success rate |
Attacks whose harmful effect occurred divided by attacks run, reported with the denominator. |
20 |
Regression case |
A past failure kept in the test set so the repair is checked after every change. |
21 |
Outbound destination |
A system or address to which a tool can send information. |