Foundations, 5 of 5, about 4 h 14 min of reading
Threat Modeling Fundamentals for AI
About 3 h 42 min left
Concept. Threat modeling means asking what can go wrong before an attacker asks it for you. This week you take two classical practices, STRIDE and the OWASP four-question process, and stretch them over the parts of an AI system that break in ways traditional software never did: non-deterministic outputs, tool-calling agents, and instructions that arrive disguised as data. You will map a real app to the OWASP LLM Top 10:2026 and locate its adversary behaviors in MITRE ATLAS. You will also learn where a dedicated agentic framework (MAESTRO) picks up where STRIDE runs out.
🎯 Objectives
By the end of this unit you can:
- Run the OWASP four-question threat-modeling loop on any system and produce a checkable model, not a vague impression.
- Apply STRIDE to an LLM app and explain where classical STRIDE loses nuance for AI (the ASTRIDE mapping).
- Map a real app to all ten OWASP LLM Top 10:2026 categories and place them under the OWASP AI Exchange umbrella alongside the ML Top 10.
- Navigate MITRE ATLAS to name the specific tactics, techniques, and procedures (TTPs) an adversary would use, including the new agent techniques.
- Apply the lethal trifecta test to your own agent setups and score findings with the Agentic AI Vulnerability Scoring System (AIVSS) where the Common Vulnerability Scoring System (CVSS) falls short.
- (Go deeper) Use AI on the defender's side the way SecAI+ domain 3 examines it: AI-enabled tools and their use cases (3.1), AI that automates security tasks (3.3), what the evidence says about LLM alert triage, and why the security operations center's (SOC) own assistant is an attack surface (SecAI+ objectives v4.0).
The big picture: why a new discipline for an old practice
Take a chat assistant that reads your email and can send replies. A classical review would ask who may call its API. It would miss that an email from a stranger is text the model will read as if you had typed it.
Threat modeling itself is not new. OWASP frames the whole practice as four questions: What are we working on? What can go wrong? What are we going to do about it? Did we do a good job? Everything else (STRIDE, attack trees, kill chains) is structured help for question two. What is new is the answer to "what can go wrong" once the system reasons in natural language. A classical app treats code as instructions and user input as data. An LLM collapses that boundary: every byte in the context window is a potential instruction. That single property is why the whole enumeration below exists.
🔑 The rule to carry: in a normal app the trust boundary is the network edge; in an AI app the trust boundary is the context window. Anything that reaches the model (retrieved documents, tool output, a web page) is an instruction until you prove otherwise.
Recall from memory
Not saved. Sign in and this question comes back in Review when you are about to forget it.
STRIDE, and where it bends for AI
The OWASP stack: three lists under one umbrella
How much to trust the ranking: auditing the list against real incidents
The lethal trifecta: a 10-second triage test
MITRE ATLAS: naming the adversary's moves
MAESTRO: when STRIDE runs out of layers
Scoring and evaluating what you find
Offensive depth: red teaming AI and threat modeling for AI-enabled targets
🛡️ OWASP 2026: Hidden Context Exposure (LLM08:2026)
✅ Check yourself
Go deeper: AI-assisted security (SecAI+ domain 3, 24%)
📇 OWASP LLM Top 10:2026 reference
Finish Threat Modeling Fundamentals for AI
About 3 h 42 min left in this unit.
From memory first
Write the main points of this unit, in your own words.
What you set out to be able to do
Check each one against what you can do now.
- Run the OWASP four-question threat-modeling loop on any system and produce a checkable model, not a vague impression.
- Apply STRIDE to an LLM app and explain where classical STRIDE loses nuance for AI (the ASTRIDE mapping).
- Map a real app to all ten OWASP LLM Top 10:2026 categories and place them under the OWASP AI Exchange umbrella alongside the ML Top 10.
- Navigate MITRE ATLAS to name the specific tactics, techniques, and procedures (TTPs) an adversary would use, including the new agent techniques.
- Apply the lethal trifecta test to your own agent setups and score findings with the Agentic AI Vulnerability Scoring System (AIVSS) where the Common Vulnerability Scoring System (CVSS) falls short.
- (Go deeper) Use AI on the defender's side the way SecAI+ domain 3 examines it: AI-enabled tools and their use cases (3.1), AI that automates security tasks (3.3), what the evidence says about LLM alert triage, and why the security operations center's (SOC) own assistant is an attack surface (SecAI+ objectives v4.0).
The unit is done when you have answered the check and marked the required sources.
1 Check yourself
Do the check2 Required sources
Go to the sources
Sources in this unit
- OWASP LLM Top 10 (2025)
- Microsoft: STRIDE Threat Model
- OWASP: Threat Modeling
- MITRE ATLAS Navigator
- OWASP AI Exchange
- CSA: MAESTRO: Agentic AI Threat Modeling Framework
- STRIDE-GPT
- ASTRIDE: Extended STRIDE for AI
- Systematic Threat Modeling of LLM Applications (ACM FSE)
- IBM Technology: OWASP's Top 10 Ways to Attack LLMs
- IBM Technology: LLM Hacking Defense: Strategies for Secure AI
- Black Hat: Practical LLM Security: Takeaways From a Year in the Trenches
- OWASP LLM Top 10 v2025 (PDF)
- OWASP ML Security Top 10 (2023)
- OWASP AIVSS (AI Vulnerability Scoring System)
- OWASP GenAI: LLM Top 10 (2026)
- Invicti: OWASP LLM Top 10 2026: What's New
- Help Net Security: OWASP 2026 LLM Top 10: "the model will be fooled"
- Incident-Data Robustness Analysis of the OWASP Top 10 for LLM (2026): Lambros and Wilson (arXiv:2608.19266)
- Perez and Ribeiro: Ignore Previous Prompt (arXiv:2211.09527)
- SPE-LLM: System Prompt Extraction Attacks and Defenses (arXiv:2505.23817)
- Understanding and Mitigating Prompt Leaking in Real-World LLM Apps (arXiv:2606.18673)
- Whisper Leak: side-channel topic inference on encrypted LLM traffic (arXiv:2511.03675)
- Configuration, Not Conscience: A Large-Scale Empirical Study of LLM System Prompts (Patsakis et al., arXiv 2609.31575)
- MITRE ATLAS Case Study AML.CS0042
- ATLAS Navigator Web App
- ATLAS Navigator Data (STIX 2.1)
- NIST ATLAS Overview (September 2025)
- ATLAS Case Study AML.CS0004: Camera Hijack on Facial Recognition
- ATLAS Case Study AML.CS0024: Morris II RAG-Based Worm
- MITRE AI Incident Sharing and AI Risk Database
- VamiSec: Threat Modeling for Agentic AI with the MAESTRO Framework
- IBM: Mastering AI Risk: NIST's Risk Management Framework
- CPH-SEC AI/LLM Red Team Handbook: Ch.31 AI System Reconnaissance
- LLMmap: Fingerprinting for Large Language Models (arXiv 2407.15847, USENIX Security '25)
- promptfoo: MITRE ATLAS red-team preset
- aiq.hu: Automated Red Teaming with PyRIT, garak and promptfoo
- AVISE Framework: arXiv 2604.20833
- OWASP GenAI: LLM Top 10 2026
- OWASP GenAI: Top 10 for Agentic Applications 2026
- CompTIA SecAI+ CY0-001 exam objectives, v4.0
- Microsoft Security Copilot: what it is
- SIABench: Before You Hand Over the Wheel: arXiv 2603.06422
- CORTEX: Collaborative LLM Agents for High-Stakes Alert Triage: arXiv 2510.00311
- SentinelLABS: LLMs in the SOC (part 1): why benchmarks fail security operations teams
- Project Zero: From Naptime to Big Sleep
- Google: summer 2025 security update: Big Sleep and CVE-2025-6965
- DARPA: AI Cyber Challenge final results
Checklist
It does not count toward done.
- Run the OWASP four-question loop on a real app and write the model down, so another person can check it.
- Apply STRIDE to an LLM app and note, for each class, where it loses nuance for AI (the ASTRIDE mapping).
- Run a STRIDE pass with STRIDE-GPT on one app, then hand-prune its output and keep only the checkable findings. STRIDE surfaced 26 vectors, 19 of them validated, on custom GPTs, so expect real hits.
- Map a real app to all 10 OWASP LLM Top 10:2026 categories and list one finding for each, or why the category does not apply.
- Place the three OWASP lists (ML, LLM, and Agentic) by layer under the AI Exchange umbrella and draw the result.
- Apply the lethal trifecta test (private data, untrusted input, and external communication) to your own agent setups and record which of the three legs each one has.
- Navigate MITRE ATLAS v2026.10 and list the TTPs that apply to your app, including the new agent techniques: AML.T0100 (AI Agent Clickbait), AML.T0110 (AI Agent Tool Poisoning), and AML.T0096 (AI Service API, as a C2 channel). Study case AML.CS0042 (SesameOp).
- Model an agent with MAESTRO's 7 layers and trace one cross-layer threat propagation from start to end.
- Back one enumerated threat with a real ATLAS case study, not just a technique ID: Camera Hijack
AML.CS0004($77M face-ID bypass), Morris IIAML.CS0024(zero-click RAG worm), or ShadowRayAML.CS0023(CVE-2023-48022). Note where you would report a new finding (AI Incident Sharing or the AI Risk Database). - Score a finding with AIVSS and write one sentence on why CVSS under-serves non-deterministic AI bugs.
- Rank by exposure, not headlines: write down why prompt injection is #1 by expert vote but #12 in the incident record (κ about 0.20), because a public CVE database undercounts defended threats (arXiv:2608.19266).
- Skim the AVISE framework (arXiv 2604.20833) and list the multi-turn evaluation patterns you would reuse.
- Print one agent's full system prompt and classify it block by block (tool and protocol instructions against safety policy). Confirm it is mostly operational config (arXiv:2609.31575 found about 58% tool instructions against about 5% safety policy, and strict rules favoring tool safety 11 to 1). Record it as a config or supply-chain exposure (tool scopes, file paths), not an ethics window, and note its "prompt rot" across versions.
- Map your app to the OWASP LLM Top 10 2026 ordering (Excessive Agency now LLM03, Hidden Context Exposure LLM08) and the ranked Agentic ASI01 to ASI10 (ASI01 Goal Hijack). Sort each risk by the triage rule (passive LLM behavior goes on the LLM list, active agent behavior on the ASI list) and flag the net-new agent-only classes ASI07, ASI08, and ASI10.
- Optional, if you plan to sit an external exam such as CompTIA SecAI+: read its current exam objectives and note which of its domains your notes cover.
- (Go deeper) Triage 40 labeled alerts with an LLM, first with alert text only and then with few-shot examples and host context. Report the dismissal rate on the false alerts apart from recall on the true positives, and the analyst-minutes the misses cost. Then have the model propose one Sigma rule and validate it with Atomic Red Team before you would commit it.
Triage ten agent configurations for the lethal trifecta
Attack: Find the tool that gives an agent each leg of the lethal trifecta, the indirect ones included Defend: Remove or restrict one tool so at most two legs remain and the agent's job still works
Nothing to do here yet; the unit is complete without it.
Practise this in the lab, Stop an injected agent from leaking data through its tools.35 min to 1 h 10 min estimate
Practise this in the lab, Scrub the secret before the model learns it.about 20 min (estimate, not yet timed by a first-timer)
Practise this in the lab, Stop a runaway agent: approval, kill switch, circuit breaker.1 h estimate
Practise this in the lab, Capstone: one engagement, replayable findings and a scope log.1 h 40 min estimate
Study notes
None yet
Sign in to take notes.
Your additions
None yet
More for this unit
42 readings
Readings no section cites. They do not count toward the unit.
STRIDE for AI systems2 readings
- github.comtool
An AI-powered threat modeling tool that supports GenAI apps (OWASP LLM01 to LLM10) and agentic systems (OWASP ASI01 to ASI10), and generates attack trees automatically. Use it for a first-draft STRIDE pass that you then prune by hand.
Sign in to mark it done, keep it for later and open its questions.
- dl.acm.orgpaper
The ACM FSE paper that identified 26 attack vectors using the STRIDE framework, 19 of them validated in real-world settings. Read it as the evidence that a STRIDE pass finds real threats in AI apps.
Sign in to mark it done, keep it for later and open its questions.
OWASP LLM and ML Top 104 readings
- youtube.comvideo
A 25-minute walkthrough of the OWASP LLM Top 10 v2025 with attack demos and mitigations. Watch it for a first pass over the categories before the 2026 reordering.
Sign in to mark it done, keep it for later and open its questions.
- youtube.comvideo
The defense companion to the attack walkthrough, covering guardrails, input and output filtering, and red teaming methodology. Watch it after the OWASP videos, when you are choosing mitigations.
Sign in to mark it done, keep it for later and open its questions.
- youtube.comvideo
Real-world lessons from LLM security engagements, with common failure patterns and practical defenses. Watch it when you want to see how the categories show up in practice.
Sign in to mark it done, keep it for later and open its questions.
- owasp.orgpaper
The complete document, with attack scenarios, real-world examples, and mitigations per category. Use it for the attack scenarios behind each category, and check the 2026 number in the chapter's appendix before you cite one.
Sign in to mark it done, keep it for later and open its questions.
OWASP 2026: LLM08 Hidden Context Exposure8 readings
- invicti.compaper
An analysis of the 2026 changes. It frames Hidden Context Exposure as an amplifier (targeted injection, excessive agency, credential disclosure) and walks the severity ladder from informational to critical. Read it after the primary document.
Sign in to mark it done, keep it for later and open its questions.
- helpnetsecurity.compaper
The design philosophy behind 2026: harden the surrounding architecture so a fooled model has contained downstream impact. It makes the case for enforcing boundaries outside the model, so read it before the mitigations.
Sign in to mark it done, keep it for later and open its questions.
- arxiv.orgpaper
The OWASP co-leads test their own expert ranking against 7,714 real incidents (6,639 labeled to the 20-entry taxonomy from CVE, GHSA, OSV, and AIAAIC). Expert and incident rankings agree only weakly: Cohen's κ is 0.20, with a 90% interval of −0.16 to 0.57 that crosses zero. Prompt injection is #1 by expert vote but #12 in the incident record, because it leaves no CVE or advisory a database can index, so the record structurally undercounts it. The 2026 list blends the two at 0.75 expert and 0.25 data. The authors' caveat is that "robust" was only shown for the incident side, not the survey. Read it when you decide how far to trust a ranking.
Sign in to mark it done, keep it for later and open its questions.
- arxiv.orgpaper
The foundational demonstration that GPT-class models leak their system prompt to one-line "print the above" requests, and that naive leak-detection filters do not stop it. Read it for the origin of the extraction attacks in the chapter.
Sign in to mark it done, keep it for later and open its questions.
- arxiv.orgpaper
A systematic benchmark of prompt extraction and reconstruction attacks and their (limited) defenses. Read it to see how reconstruction works when verbatim repetition is blocked.
Sign in to mark it done, keep it for later and open its questions.
- arxiv.orgpaper
An empirical measurement that finds tool-invocation patterns, workflow names, and input and output parameter schemas among leaked content, which exposes the agent's capability map. Read it to see what attackers actually get from a leak.
Sign in to mark it done, keep it for later and open its questions.
- arxiv.orgpaper
Microsoft research showing that the packet size and timing of token-streamed responses leak the conversation topic through TLS. Context can leak through the transport, not just the prompt, so read it when you model the network path.
Sign in to mark it done, keep it for later and open its questions.
- arxiv.orgpaper
The study merges 407 system prompts from 62 vendors (four community collections, 29 near-duplicate clusters) and classifies them block by block. Operational content (tool and protocol instructions) is about 58% of classified words against only about 5% safety policy, and the strictest rule lines guard tool use and file safety over harmful content by 11 to 1. A leaked system prompt is therefore an operational spec or supply-chain artifact, not a window into a model's "values." Read it to reframe LLM08 for threat modeling: treat the prompt as config to protect (tool scopes, file paths, workflow names), and watch "prompt rot," because version chains turn over thousands of words per release.
Sign in to mark it done, keep it for later and open its questions.
MITRE ATLAS7 readings
- atlas.mitre.orgpaper
SesameOp: the OpenAI Assistants API used as a backdoor command-and-control (C2) channel, which illustrates AML.T0096. Read it as the worked example for the agentic cluster of techniques.
Sign in to mark it done, keep it for later and open its questions.
- mitre-atlas.github.iotool
A tool to annotate and customize ATLAS matrices for your threat models, based on the ATT&CK Navigator. Use it when you write up your own system's model.
Sign in to mark it done, keep it for later and open its questions.
- github.compaper
The machine-readable format for ingestion into threat intelligence platforms and SIEMs. Use it when you want ATLAS in your detection pipeline.
Sign in to mark it done, keep it for later and open its questions.
- csrc.nist.govpaper
ATLAS Lead Christina Liaghati's presentation, covering ATLAS's real-world evidence bar (more than 150 organizations engaged), the case-study backbone (Camera Hijack, Morris II, ShadowRay), and the surrounding data-sharing stack (AI Incident Sharing, AI Risk Database, Dioptra, CWE-1426, CWE-77). Read it for the source of the ATLAS ecosystem section.
Sign in to mark it done, keep it for later and open its questions.
- atlas.mitre.orgpaper
A camera hijack defeats the live facial recognition of a Shanghai government tax system, and two people use the access to collect $77 million through fake invoices. It is the nine-figure answer to "why adversarial ML matters."
Sign in to mark it done, keep it for later and open its questions.
- atlas.mitre.orgpaper
The named zero-click, self-replicating prompt-injection worm. It rides RAG email context, exfiltrates personally identifiable information (PII), and re-injects itself through auto-replies to spread from agent to agent. Read it as the evidence behind the worm risk.
Sign in to mark it done, keep it for later and open its questions.
- ai-incidents.mitre.orgreference
A structured, anonymizable AI-incident reporting channel (V1.0, April 2025), plus the VirusTotal-inspired AI Risk Database beta. A threat modeler sources real adversary data here and reports findings, so read it when you want to file or look up an incident.
Sign in to mark it done, keep it for later and open its questions.
Agentic threat modeling and governance2 readings
- youtube.comvideo
A step-by-step MAESTRO walkthrough that bridges STRIDE and ATLAS to agentic systems. Watch it after the MAESTRO reading, before you model an agent.
Sign in to mark it done, keep it for later and open its questions.
- youtube.comvideo
A short video that complements MITRE ATLAS with the NIST AI Risk Management Framework governance angle. Watch it when you need the governance view.
Sign in to mark it done, keep it for later and open its questions.
Red-team recon and tooling (hands-on)4 readings
- cph-sec.gitbook.iopaper
The "nmap phase": concrete fingerprinting probes (refusal style, tokenizer quirks, latency side channel), RAG and orchestrator detection, and system-prompt extraction. Read it before the reconnaissance drill.
Sign in to mark it done, keep it for later and open its questions.
- arxiv.orgpaper
Active fingerprinting identifies 42 LLM versions in as few as 8 queries at more than 95% accuracy, even behind unknown system prompts or RAG. Read it to see how little an attacker needs to identify your model.
Sign in to mark it done, keep it for later and open its questions.
- promptfoo.devtool
Shows how to map an automated red-team run straight onto ATLAS (and the owasp:llm, owasp:agentic, and nist:ai:measure presets) for CI-gated, standards-cited findings. Read it when you wire red teaming into CI.
Sign in to mark it done, keep it for later and open its questions.
- aiq.hupaper
A practical walkthrough that combines the three tools by role, and explains why scanners are a baseline while manual expert red teaming remains essential. Read it before the tooling section.
Sign in to mark it done, keep it for later and open its questions.
Evaluation and scoring2 readings
- arxiv.orgpaper
A modular open-source framework for automated Security Evaluation Tests that complements ATLAS for evaluation instead of enumeration. It found every one of nine recent models vulnerable to a multi-turn "Red Queen" attack. Skim it for multi-turn evaluation patterns.
Sign in to mark it done, keep it for later and open its questions.
- genai.owasp.orgreference
The ranked ASI01 to ASI10 for autonomous agents (December 2025): ASI01 Agent Goal Hijack, ASI02 Tool Misuse, ASI03 Identity and Privilege Abuse, ASI04 Agentic Supply Chain, ASI05 Unexpected Code Execution, ASI06 Memory and Context Poisoning, ASI07 Insecure Inter-Agent Comms, ASI08 Cascading Failures, ASI09 Human-Agent Trust Exploitation, and ASI10 Rogue Agents. Read it with the LLM list to decide which list a finding belongs on.
Sign in to mark it done, keep it for later and open its questions.
Go deeper: AI-assisted security (SecAI+ domain 3)7 readings
- learn.microsoft.comreference
The vendor's own account of an assistant's pipeline: grounding through plugins, the model, post-processing, and review, plus the SOC use cases the exam lists. Read it before the pipeline section of the Go deeper module.
Sign in to mark it done, keep it for later and open its questions.
- arxiv.orgpaper
135 labeled alerts and four models: GPT-5 scores 98%, GPT-4o-mini 75% and 51%. The failures are false alerts left open, so model selection is an operations decision. Read it for the evidence on LLM alert triage.
Sign in to mark it done, keep it for later and open its questions.
- arxiv.orgpaper
Behavior-analysis, evidence-gathering, and reasoning agents produce an auditable decision, and the authors release a dataset of production SOC investigations. Read it as the example of an agent design for triage.
Sign in to mark it done, keep it for later and open its questions.
- sentinelone.compaper
It explains why general benchmarks mislead a SOC: static Q&A tests, no time-to-detect or time-to-contain, and same-vendor judges. It also gives the figures from ExCyTIn-Bench and CyberSOCEval. Read it before you trust a vendor's benchmark.
Sign in to mark it done, keep it for later and open its questions.
- projectzero.googlepaper
An agent's first real-world memory-safety bug (SQLite, announced November 2024), found by variant analysis and fixed before release, with the authors' own caveats. Read it first in the Big Sleep sequence.
Sign in to mark it done, keep it for later and open its questions.
- blog.googlepaper
Threat intelligence and the agent together isolate a zero-day before it is used, and Google says "we believe this is the first time" an AI agent foiled in-the-wild exploitation. Read it after the Project Zero post.
Sign in to mark it done, keep it for later and open its questions.
- darpa.milreference
Seven autonomous systems worked over 54 million lines of code: they found 54 of 63 synthetic vulnerabilities, patched 43, and found 18 real ones. A patch took about 45 minutes and a task cost $152, and all seven systems are to be open-sourced, four on the day. Read it for the at-scale picture.
Sign in to mark it done, keep it for later and open its questions.
🎓 OSAI and AI-300 alignment1 reading
- offsec.comreading
🎓 : This week maps to the OSAI modules Threat Modeling for AI-Enabled Targets (module 10) and Introduction to Red Teaming AI Systems (module 1). The full crosswalk is in the reference page "AI-300 · OSAI".
Sign in to mark it done, keep it for later and open its questions.
📡 From the Resources feed5 readings
- github.comtool
runs a design/plan through Claude, Codex and Gemini in parallel over a 5-failure-dimension frame (hidden assumptions, dependency failures, boundary cases, misuse paths, rollback risks) so one model catches what another misses — a drop-in ~30-line CLAUDE.md threat-modeling review
Sign in to mark it done, keep it for later and open its questions.
- orca.securityreference
a MITRE ATLAS-based framework for scoring AI/ML security tools phase-by-phase, exposing the cloud-infrastructure coverage gap most miss — a checklist lens for threat-modeling your own AI stack
Sign in to mark it done, keep it for later and open its questions.
- github.comreference
258 vulnerabilities across 17 categories for AI-generated / LLM-integrated code, each with detection method + severity, plus an AI-scanning prompt to self-audit a codebase
Sign in to mark it done, keep it for later and open its questions.
- github.comtool
open-source scanner that maps the AI attack surface in a codebase — LLM calls, agents, MCP servers, RAG/vector stores, model gateways, provider keys and the HTTP APIs exposing them
Sign in to mark it done, keep it for later and open its questions.
- github.comtool
a drop-in Claude Code skill (SKILL.md + threat-modeling agents + security references) that runs architectural STRIDE-style threat analysis inside the agent; part of the MIT-licensed claude-code-templates collection (31.7k★) — a stack-native complement to STRIDE-GPT for first-draft AI threat models
Sign in to mark it done, keep it for later and open its questions.
This unit's library holds 6 more readings for readers with access.