Blog

The workflow around the model, not the model alone, is the attack surface

How AI threat modeling differs from traditional security reviews: the workflow attack surface, NIST taxonomy, MITRE ATLAS evidence levels and EU AI Act deadlines.

· By

A bright office wall with an ordered series of pinned cards, coloured sticky notes and taut strings running to stacks of printed papers.
An AI system's attack surface spans the whole workflow, from data collection through training, deployment and monitoring, not the model alone.Image: IamVera.ai — original editorial illustration

If a board asked last quarter what your AI system could be tricked into doing, would the answer have come from a threat model or from a demonstration? Most organisations can describe their network perimeter and application attack surface with precision, and can produce a risk register naming owners and dates. Far fewer can say what happens when the attack arrives as a paragraph inside a document the assistant was asked to summarise, or as a hidden instruction in a web page a research tool was pointed at. That gap is the subject here. The argument is that the workflow around the model, not the model alone, is the attack surface: the documents it reads, the sources it retrieves, the tools it can call, the logs it writes and the people who approve its output. And that threats should be ranked by evidence maturity, exposure and impact.

What Is AI Threat Modeling and Why Does It Matter?

AI threat modeling is the structured process of identifying how an AI system can be attacked, misused or made to fail, which assets and trust boundaries sit exposed at each stage, and which controls reduce the risk that remains. Its scope is wider than an application security review, because the model itself, the data it learned from, the prompts and documents it reads, the tools it can call and the outputs people act on all sit inside the boundary. The deliverable isn't a verdict that a system is safe. It's a record of what could go wrong, what evidence exists that it has gone wrong elsewhere, which control sits against each threat, who accepts what's left and when the assessment gets reviewed again.

The work looks familiar to anyone who has sat through a design review, until the model and its supply chain enter the picture.

A building inspector makes the same move. They check the blueprints, the materials the contractors supplied and the way occupants use the rooms, not only whether the front door locks.

The shift from perimeter to lifecycle

The discipline became more formal as researchers and standards bodies moved away from generic cybersecurity frameworks and toward taxonomies designed around machine-learning attack conditions. NIST's adversarial machine-learning taxonomy organizes risk across five dimensions: AI system type, learning method and lifecycle stage, attacker objectives, attacker capabilities, and the attacker's knowledge of the learning process.

The milestone is the shift to lifecycle-based analysis. Threat modeling no longer stops at the software interface or the network perimeter. It evaluates how models are trained, fine-tuned, deployed, queried, monitored and updated. Training-data poisoning, evasion of a deployed model, model extraction, prompt manipulation and attacks on the model or data supply chain don't map cleanly onto an application threat model at all, which is why the lifecycle view became necessary rather than merely fashionable.

The reframed question: not only what an attacker can reach, but what the model knows, how it learned, what output the attacker is seeking and which stage of the lifecycle can be manipulated.

Executives, legal and compliance teams, and security leads all need the same method, because each of them accepts a different slice of the residual risk. The taxonomy gives them a shared vocabulary for mapping threats to controls, assigning responsibility and documenting what remains uncertain, and it supports structured comparison between predictive and generative systems, whose attack surfaces differ substantially.

How Does AI Threat Modeling Differ from Traditional Threat Modeling?

A traditional threat model and an AI threat model answer different questions about the same system, and the difference shows up in what a reviewer does next. Six dimensions carry most of the divergence.

  • Assets in scope — Traditional threat modeling: Applications, networks and data stores; AI threat modeling: Model, training data, prompts, retrieval indexes, tools and outputs
  • Lifecycle coverage — Traditional threat modeling: Design through deployment; AI threat modeling: Training, fine-tuning, deployment, querying, monitoring and updating
  • Attacker goals — Traditional threat modeling: Unauthorised access, data theft, disruption; AI threat modeling: Also steering outputs, extracting model behaviour, inferring training data
  • Attack taxonomy — Traditional threat modeling: STRIDE-style categories; AI threat modeling: NIST dimensions of system type, learning method and stage, objectives, capabilities, knowledge
  • Evidence of threats — Traditional threat modeling: Known vulnerability patterns; AI threat modeling: MITRE ATLAS maturity levels of feasible, demonstrated, realized
  • Mitigation certainty — Traditional threat modeling: Controls often treated as fixed; AI threat modeling: Mitigations have theoretical limits and need validation against their assumptions

Assets and lifecycle change the diagram. A conventional model maps applications, networks and data stores across design, build and deployment. The AI version adds the model, its training data, prompts, retrieval indexes, tools and outputs, and it runs from data collection through fine-tuning, querying, monitoring, retraining and retirement. Run the two exercises separately and the seam between the application and the model ends up owned by nobody.

Goals and taxonomy change the questions asked. Beyond access, theft and disruption, an attacker may want to steer an output, extract model behaviour or infer training data. Those goals need a classification built for them, which is where the five NIST dimensions come in.

Where the difference changes a decision

Two rows in that table alter budgets rather than vocabulary.

  • Evidence. Traditional review reasons from known vulnerability patterns. AI threat catalogues grade each technique by evidence maturity, which lets a reviewer separate a research possibility from an attack observed in a real incident.
  • Mitigation certainty. A patched vulnerability is closed. A control around a probabilistic system is a reduction that holds only while its assumptions hold, and those assumptions are the part most reviews forget to write down.

Practical rule: if a control can't be described together with the assumption it depends on and the test that would show it failing, it belongs in the register as an open item, not in the mitigation column.

The practical consequence is blunt. When the threat sits in the data, the prompt or the output rather than on the network path, a traditional model can miss the attack path entirely and still return a clean result. AI systems need the lifecycle model for the same reason they need logs at all: the failure happens somewhere the old diagram doesn't draw.

Which Threats and Actors Should an AI Threat Model Cover?

Cover seven threat classes across the lifecycle and five kinds of actor, then grade the evidence behind each entry before anyone ranks it.

  • Evasion — Lifecycle stage: Deployed model, at inference; Example: Crafted input produces a wrong output; Typical control: Input validation and output monitoring
  • Data or model poisoning — Lifecycle stage: Training and fine-tuning; Example: Manipulated data changes learned behaviour before deployment; Typical control: Dataset provenance checks and signed artifacts
  • Privacy attack — Lifecycle stage: Training data and query responses; Example: Sensitive data extracted or inferred from outputs; Typical control: Privacy testing and output monitoring
  • Misuse (generative systems) — Lifecycle stage: Querying and deployment; Example: Model used to produce harmful or prohibited content; Typical control: Rate limiting and output monitoring
  • Prompt injection — Lifecycle stage: Retrieval, documents and tools; Example: Hidden instruction in a document triggers disclosure or action; Typical control: Minimum privileges and input sanitising
  • Model extraction — Lifecycle stage: Query interface; Example: Repeated queries reconstruct model behaviour; Typical control: Rate limiting and access controls
  • Supply chain compromise — Lifecycle stage: Sourcing, updates and dependencies; Example: Compromised data source or model artefact enters the pipeline; Typical control: Provenance checks and signed artifacts

The split between predictive and generative systems is the first filter. NIST AI 100-2e2025 treats evasion, data or model poisoning, and privacy attacks as the principal classes for predictive systems, and adds misuse as a distinct class for generative systems. The classification earns its place because it links cause to effect: manipulated training data alters behaviour before deployment, a crafted input induces a wrong output during inference, and a privacy attack extracts or infers sensitive information from data or model responses. NIST also cautions that mitigations have limitations, so each control is validated against the attack assumptions rather than treated as a permanent guarantee.

Prompt injection sits at the retrieval and tool layer rather than in the model weights, and the OWASP Top 10 for LLM applications explained sets out the control patterns for that layer in detail.

The actors and the access they need

  • The external attacker with public or API access. Probes for extraction or evasion and needs little more than a query interface and patience.
  • The author of a document or page the tool will read. The source of indirect prompt injection, and needs no account in your system at all.
  • The employee using an unapproved tool. Shadow AI exposes confidential material with no attack in progress and no alert, because nothing was technically breached.
  • The third-party model or data supplier. Introduces a compromised artefact or a dependency nobody reviewed.
  • The legitimate user who misuses the output. Holds the access and applies it to a prohibited purpose.

Supply-chain exposure rarely stays technical. A supplier outside the EU that processes EU personal data adds a second layer of obligation, which is why teams tracking that exposure keep a reference on EU AI Act compliance for non-EU companies alongside the technical register.

Grade the evidence before you rank anything

MITRE ATLAS catalogues adversarial tactics and techniques involving AI. In the 2026.11 data release cited here, it lists 16 tactics, 137 techniques, 98 sub-techniques, 44 mitigations and 85 case studies. It also classifies technique maturity by evidence level: feasible means demonstrated in research or academic work, demonstrated means shown in a realistic red-team exercise or demonstration, and realized means observed in a real-world incident involving an AI-enabled system.

These levels describe evidence maturity, not likelihood and not business impact. Record the level beside each threat, along with exposure and impact, so a board can see the difference between an attack with a case study behind it and one that exists only on a slide.

Why Do Untrusted Documents and Prompts Change the Attack Surface?

Say a legal team uploads a supplier contract and asks an assistant to summarise the indemnity clause. The document carries a line, invisible in the rendered page but present in the text layer, instructing the assistant to include the client's personal details in its reply. Nothing in the workflow looks like an attack, and nothing in a conventional perimeter review would flag the file.

OWASP defines prompt injection as a vulnerability in which an input changes a large language model's behavior or output in an unintended way. The instruction doesn't have to be readable by a person. Content can be imperceptible to people and still affect the model if the model parses it.

That makes every retrieval path an input path. Systems that retrieve documents, browse websites, process email or call tools carry untrusted content alongside legitimate business data, and the visible chat prompt is one channel among many.

The mitigations that reduce exposure

OWASP's mitigation mechanics are unglamorous and effective when applied together.

  1. Restrict the model's privileges to the minimum the task requires, so a manipulated output can't reach a function the task never needed.
  2. Keep sensitive functions in application code rather than exposing API tokens to the model.
  3. Validate and sanitise inputs on every path, including retrieved content and tool returns.
  4. Prevent sensitive user data from entering training processes, which closes a leak that outlives the session.

Privacy leakage and prompt injection interact badly. NIST's analysis of generative-AI stages notes that current mitigations have theoretical limits, and a malicious instruction embedded in a document can induce disclosure or unauthorised action before a conventional security control notices. What organisations monitor after deployment therefore matters as much as what they test before it: provenance, reviewer behaviour and the independence of the checks, not only model resilience.

Separation of duties is the design answer. One answer passes through every model selected for the session, and each model performs its own role, so a second model can challenge the reasoning while live source verification checks whether claims can be grounded. That supports review and control; it doesn't ensure correctness. The trail has to record what was checked and what stayed uncertain, or a reviewer can't tell a corrected error from an untested assertion.

How Do You Run an AI Threat Model Step by Step?

How can a team turn an AI threat model into decisions that can be reviewed and maintained? Start with one live workflow, then map its components, trust boundaries, plausible attacks and controls. NIST's taxonomy of adversarial machine learning attacks and mitigations frames this work as ongoing risk management, not a one-time defence.

  1. Inventory the workflow. List training sources, fine-tuning pipelines, retrieval indexes, prompts, tools, model endpoints, logs and downstream actions. Include documents and people who can change or approve inputs. A model-only inventory misses the surrounding attack surface.
  2. Mark trust boundaries. Separate user prompts, untrusted documents, retrieved web content, tool outputs, model-generated instructions and final actions. Record where each item enters, changes or leaves the workflow.
  3. Describe attacker access and knowledge. Consider who can provide a document, alter a data source, use a tool or access an account. A document author or insider may have capabilities an outside attacker does not.
  4. Map each threat to a stage and goal. Specify what an attacker could influence and what they might gain, such as disclosure, unauthorised action or corrupted output. A threat without a location or objective is difficult to test.
  5. Rank threats by evidence, exposure and impact. Use high, medium or low ratings, and state what is known, what remains uncertain and what assumptions drive the rating. NIST's AI research, security and resilience programme describes open challenges in AI security and mitigation effectiveness. Avoid false precision when the evidence does not support it.
  6. Assign a testable control to each priority threat. Depending on the workflow, controls may include dataset provenance checks, signed artifacts, input validation, rate limits, output monitoring, privacy testing or incident rollback. Name how the control will be tested and who will review the result.
  7. Test boundary crossings. Check whether attacker-controlled content can influence prompts, retrieved material, tool outputs or downstream actions. Include prompt injection, data poisoning and sensitive-data disclosure where they apply. Record what the test demonstrated, rather than treating a theoretical possibility as a confirmed weakness.
  8. Record residual risk and ownership. Name the person accepting the risk and set a review date. Recording accepted risk with an owner and review date is standard information-security practice, and it transfers directly to AI. Teams seeking a related framework can consult this guide to governing AI risk with the NIST AI RMF.

For teams applying the sequence to a live system, the walkthrough below follows the process from inventory through review.

The final register should connect each priority threat to a workflow stage, a control, evidence of testing and an owner. Reassess it when models, tools, data sources or attacker capabilities change. Recording accepted risks and assigning owners also reflects proportionate risk management for UK charities.

Which EU Deadlines Should Shape Your AI Threat Model?

Which EU AI Act deadlines affect the system you are assessing? The answer depends on its legal classification and on whether your organisation is acting as a provider or deployer. These dates apply to organisations operating in or serving the EU market. The European Commission's AI Act implementation timeline sets out the dates.

  • Provider obligations for general-purpose AI models — Applies from: 2 August 2025; Threat model field: Provider or deployer role
  • High-risk systems listed in Annex III — Applies from: 2 December 2027
  • High-risk systems embedded in Annex I products — Applies from: 2 August 2028
  • Prohibited practices, with fines up to 35 million euros or 7% of worldwide turnover, whichever is higher — Applies from: 2 February 2025; Threat model field: Prohibited-use exposure and financial impact

Classification changes the scope of the threat model. Annex III and Annex I systems have different deadlines, so an assessment that leaves classification unresolved may set the wrong schedule for controls and evidence.

For high-risk systems, the Act's requirements affect control design as well as documentation. They include risk assessment and mitigation, data controls intended to reduce discriminatory outcomes, activity logging, technical documentation for authorities, information for deployers, human oversight, and appropriate resilience, cybersecurity and accuracy measures. The Commission's regulatory framework for AI describes these requirements. Logging and evidence therefore belong in the system design, not only in a later compliance review.

Add five fields to each threat model:

  • Legal classification, including whether the system falls under Annex III or Annex I.
  • Provider or deployer role, since obligations differ.
  • Applicable deadline, based on the relevant category.
  • Prohibited-use exposure, alongside technical attack scenarios.
  • Potential financial impact, including the turnover-based ceiling for prohibited practices.

These fields connect regulatory exposure to risk-treatment priorities before the architecture is fixed. The Act establishes requirements; legal counsel determines how they apply to a specific system. For changes affecting transparency duties, see this analysis of AI Act digital omnibus transparency changes.

What Should a Decision-Maker Ask for Before Approving an AI Workflow?

Approval should depend on what the organization can demonstrate about the workflow, not on how many threats appear in a risk register. Ask for evidence that connects each priority threat to a real component, exposure and potential impact. Defer approval when a material risk has no owner or treatment.

  • A named owner and risk acceptor for the workflow's threat model, with the decision recorded and dated.
  • A component inventory that covers approved systems and tools already in use. Unlisted tools leave gaps in the threat model.
  • Trust boundaries for untrusted documents and retrieved content, including where material enters through retrieval or tools, not only through chat.
  • Threat ratings tied to evidence, with the assessment method and review date stated. Prioritise demonstrated exposures and plausible impact over speculative scenarios.
  • An inspectable evidence trail showing what was checked, where models disagreed and which questions remain unresolved. A multi-model review can reduce the risk of a confident but wrong answer, but it cannot eliminate that risk.
  • A confidentiality gate before an external model receives personal data.
  • Regulatory classification and applicable deadlines for any EU-facing system, with the provider or deployer role and other relevant fields recorded.

State control limits alongside the evidence. For example, model review can expose disagreements and unsupported claims, but the decision-maker still needs to assess whether the evidence is adequate for the workflow's consequences. Certification is one input to governance, not a guarantee of outcomes.

Record one of three decisions: approve, approve with named conditions, or defer until open items are addressed. Apply the checklist to a live workflow and take the documented decision to the next governance review.

That record can help reviewers inspect how an answer was checked; it does not establish that every answer is correct.

More articles on this subject are collected in the AI security overview.

Sources and references

  1. NIST's adversarial machine-learning taxonomyNIST
  2. NIST AI 100-2e2025NIST
  3. NIST's analysis of generative-AI stagesNIST
  4. Adversarial Machine Learning: A Taxonomy and Terminology of Attacks and MitigationsNIST · 2025-03-24
  5. AI Research - Security and ResilienceNIST · 2020-04-20
  6. Timeline for the Implementation of the EU AI ActEuropese Unie
  7. regulatory framework for AIShaping Europe’s digital future
  8. EU AI Act for Non-EU Companies: A Practical Compliance Guide for 2026DilicheckRep · 2026-09-15

Sources: Lifecycle and taxonomy claims are attributed to NIST's adversarial machine-learning taxonomy and NIST AI 100-2e2025, while regulatory deadlines draw on the EU AI Act implementation timeline from the European Union.

← All articles in this topic ← All articles