Designing and Validating Mitigations
ISC2 AI Security · Lesson 34 of 34 · 4:30:13
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
Lesson 34 of the free ISC2 AI security series (pilot exam, domain 6, AI threats, testing, and lifecycle management). In this lesson: targeted mitigations, runtime controls, prioritizing mitigations, validating mitigations, residual risk, and the mitigation cycle. With three quick checks and a recap, and Ravenmoor Payments, a fictional payment provider, as the running example.
Study notes
The text of this lesson, to read at your own pace. Information as of November 2026.
From findings to fixes
Ravenmoor's findings are triaged and documented. Now each one needs a fix that works, that the business can afford, and that does not break something else. This final lesson covers how to design, prioritize, validate, and monitor mitigations.
Targeted mitigations
Targeted mitigations address the root of a weakness. Adversarial training adds crafted attack examples to the training data, so that the model learns to resist evasion, although it can lower accuracy, and it never covers every attack. Provenance tracking follows every dataset, document, and model back to its source, so that poisoned inputs can be traced and removed. Data validation checks schemas, ranges, repeated rows, and outliers, before data reaches training or the retrieval index. Each mitigation targets a specific finding, and a specific stage of the lifecycle.
Runtime controls
Runtime controls limit what an attack can achieve. Input and output filters block injection patterns, sensitive data, and harmful content, and a sandbox runs code or tools that the model triggers in an isolated environment, with no access to secrets. Rate limiting caps requests and tokens per user, to slow down extraction and exhaustion. Watermarking marks generated content, so that it can be recognized later, and it helps prove where outputs came from.
Prioritizing mitigations
Not every mitigation can ship at once, so prioritize. Start with risk: the severity and exploitability of the finding, and its business impact. Then weigh feasibility: the cost, the effort, the time needed, and the side effects, such as lower accuracy or more refusals. Business context matters too, such as a launch date, a regulatory deadline, or a critical customer. A quick, cheap control that blocks the worst finding often comes first, while a deeper fix, such as retraining, follows.
Validating mitigations
A mitigation is not done until it is validated. Retest the original finding, with the same evidence and steps, to confirm that it no longer works. Run regression testing on the whole system, since a new filter can block legitimate customers, and a retrained model can lose accuracy. Try variations of the attack too, since a narrow fix often stops only the exact prompt that was reported. Keep the results with the finding in the register, and mark it resolved only after a passing retest.
Residual risk
No mitigation removes all risk. Residual risk is what remains after the controls, and an owner must accept it formally, or ask for more controls. Monitor it continuously: alerts on attempts that resemble the finding, guardrail block rates, and new techniques reported by threat intelligence. When monitoring shows that the residual risk grows, reopen the finding, and plan a stronger mitigation. This completes the loop of domain six, from threat modeling and testing, to findings, mitigations, and monitoring.
The mitigation cycle
The mitigation cycle connects everything in this series. Design targeted and runtime controls for each finding. Prioritize by risk, feasibility, and business context, then validate with retests and regression tests. And monitor the residual risk, feeding what you learn back into governance, operations, and the next round of testing.
Recap
Let's recap. Adversarial training, provenance tracking, and data validation target the root of a weakness. Filters, sandboxes, rate limits, and watermarking limit what an attack can achieve at runtime. Mitigations are prioritized by risk, feasibility, and business context, with quick interim controls first. Retests, attack variations, and regression testing validate each fix. And residual risk is accepted by an owner, and monitored continuously.
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.
Ravenmoor’s agent writes and runs small scripts to compute payment plans. A tester made it run a script that opened the server’s credential file. Which control fits best?
- Watermarking its outputs
- A sandbox with no access to secrets
- Adversarial training
- Longer log retention
Show the answer
A sandbox with no access to secrets
A sandbox runs the scripts in an isolated environment, with no access to secrets. “Watermarking its outputs” is wrong, since watermarking marks content, and it does not limit what code can do. “Adversarial training” is wrong, because adversarial training targets evasion, not code execution. And “Longer log retention” is wrong, since keeping logs longer does not prevent access.
Ravenmoor added a filter that blocks the reported injection prompt. The exact prompt now fails, but nobody tested anything else. What is missing?
- A watermark
- A larger model
- A list of threat actors
- Regression tests and variations
Show the answer
Regression tests and variations
Regression tests check that nothing else broke, and attack variations check that the fix is not too narrow. “A watermark” is wrong, since a watermark marks content, and it does not test the fix. “A larger model” is wrong, because a larger model is not a validation step. And “A list of threat actors” is wrong, since a list of threat actors does not test anything.
The full fix for a high-severity finding would take six months, and Ravenmoor’s launch is in three weeks. What should happen first?
- Launch without a control
- Cancel the product
- A quick interim control
- Lower the finding’s severity
Show the answer
A quick interim control
A quick interim control reduces the risk now, while the deeper fix follows. “Launch without a control” is wrong, since launching with no control leaves a severe finding open. “Cancel the product” is wrong, because cancelling is not the only choice, when an interim control exists. And “Lower the finding’s severity” is wrong, since lowering the severity does not change the risk.