AI Threats, Data Poisoning, Prompt Injection, Model Extraction, AI Identities
AAIA · Lesson 11 of 17 · 1:16:09
YouTube loads only after you press play. This chapter opens at its timestamp in the full course. Watch on YouTube ↗
Learning with these videos? Subscribe for new courses and exam-style questions.
Subscribe on YouTube (opens in a new tab)In this lesson
Prepare for the ISACA AAIA exam, on the current exam content outline. In this lesson: threats across the AI lifecycle, from data poisoning and evasion to model extraction, generative AI and agent threats such as prompt injection, identity and access for AI, and threat and vulnerability management with OWASP and MITRE ATLAS. Includes three original practice questions, with Brambleford Bank, a fictional regional bank, as the example.
Study notes
The text of this lesson, to read at your own pace. Information as of November 2026.
Threats the old controls cannot see
A security researcher shows Brambleford that a few sentences hidden in a web page can make its customer assistant reveal its system prompt. The firewall, the antivirus, and the access reviews all passed their last audit. AI brings threats that classic controls were never designed to see.
Threats across the lifecycle
AI threats target every stage of the lifecycle, not only the running system. Data poisoning corrupts training data, so that the model learns wrong or hidden behaviors. Evasion uses inputs crafted to fool a running model, such as a fraud pattern tuned to slip past it. Model extraction rebuilds a copy of a model from its answers, while model inversion and membership inference pull out information about the training data. And the supply chain adds risk: pre-trained models, data sets, and libraries can carry flaws, or malicious code.
Generative AI and agents
Prompt injection gives a language model instructions it should not follow, either directly from the user, or indirectly, hidden in a document, an email, or a web page that it reads. Generative AI can also leak sensitive data, including its system prompt, or produce outputs that other systems run without checks. Agents add excessive agency: too many tools, too much permission, or too little human approval. The OWASP Top 10 for large language model applications lists these risks, and MITRE ATLAS maps attack techniques against AI. And the bank uses both as checklists, to make sure that its threat model covers AI.
Identity and access for AI
AI systems are identities too: agents and service accounts need owners, least privilege, and regular reviews. Retrieval must apply each user's own permissions, so that the assistant never answers from documents the user could not open. Keys and secrets for AI services are kept in a vault, never in code or in prompts. And access to model weights, training data, and prompts is restricted and logged, like any other sensitive asset.
Threat and vulnerability management
Threat and vulnerability management for AI starts with an inventory of AI assets and their components, such as a bill of materials for models and libraries. Threat modeling is done for each AI system, using the lifecycle threats and the AI checklists. Model files are scanned before use, AI libraries are patched like any software, and red teaming findings are tracked. Threat intelligence includes attacks on AI, and outsiders have a way to report AI flaws to the bank. And the auditor checks that AI vulnerabilities are rated, owned, and closed within agreed times.
Recap
Let's recap. AI threats target the whole lifecycle: poisoning, evasion, extraction, inversion, and membership inference. Prompt injection, data leaks, unsafe outputs, and excessive agency are the main risks of generative AI and agents. The OWASP Top 10 for language model applications and MITRE ATLAS help check that the threat model covers AI. Agents are identities with least privilege, and retrieval applies each user's own permissions. And AI assets are inventoried, scanned, and patched, and their vulnerabilities are closed on time.
Quick checks for this lesson
The 3 questions of this lesson, as plain text. The button above runs them with shuffled choices and the reason behind every choice.
An attacker sends thousands of queries to Brambleford’s credit scoring service, and uses the answers to build a working copy of the model. Which threat is this?
- Data poisoning
- Prompt injection
- Membership inference
- Model extraction
Show the answer
Model extraction
Rebuilding a model from its answers to many queries is model extraction, a theft of intellectual property. “Data poisoning” is wrong, because poisoning corrupts the training data, while this attacker only sends queries. “Prompt injection” is wrong, since prompt injection slips instructions to a language model, and a scoring service follows none. And “Membership inference” is wrong, because membership inference tries to learn whether one person's data was used in training.
The loan file agent reads documents uploaded by applicants. One document hides text telling the agent to mark the file as approved. Which control BEST limits the damage?
- A larger, more capable model
- Encryption of the documents at rest
- An agent with no right to change a file’s status
- A statement certified by each applicant
Show the answer
An agent with no right to change a file’s status
If the agent cannot change a file's status, a hidden instruction has nothing to act on, whatever text it reads. “A larger, more capable model” is wrong, because a larger model can still follow hidden instructions. “Encryption of the documents at rest” is wrong, since encryption at rest protects stored files, not what the agent does with their content. And “A statement certified by each applicant” is wrong, because an attacker would simply certify a false statement.
A critical flaw is found in a popular open-source library that loads AI models. Brambleford’s teams do not know which systems use it. What should the auditor recommend FIRST?
- Inventory AI components to find every use
- Retrain every model that may be affected
- Stop all AI systems at once
- Wait for a vendor to contact the bank
Show the answer
Inventory AI components to find every use
The bank cannot patch what it cannot find, so an inventory of AI components comes first, to locate every system that uses the library. “Retrain every model that may be affected” is wrong, because retraining changes the models, not the flawed library that loads them. “Stop all AI systems at once” is wrong, since stopping every AI system at once is out of proportion, before the bank knows which ones are exposed. And “Wait for a vendor to contact the bank” is wrong, because waiting leaves the flaw open, and open-source libraries often have no vendor to call.