Threat Modeling Compound AI Systems › Limitations of threat modeling for AI systems

Michael BrenndoerferDecember 2, 20263 min read
Language AI HandbookAll chapters
Part 61 of 67Agentic AI and Protocol Security
Chapter 465Threat Modeling Compound AI Systems › Limitations of threat modeling for AI systems
Reading section 12 of 15 · Limitations of threat modeling for AI systems · 3 minSection 12 of 15 · 3 min

Section 12 of 15 · 3 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

Our model specifies one entry, two projections, a read authorization check, and one output route. Systems that use caches or background jobs will need those transfers in the model too. Revisit the relevant boundaries when a new component can receive data or select an operation. The NCSC's secure AI design guidance places threat modeling and mitigations alongside functionality and the deployment environment in design decisions.

Three outcomes remain possible under both designs. The catalog can be stale, the renderer can be unavailable, and control implementation can diverge from the map. The map helps the team name a responsible owner for each outcome and choose an appropriate check. Availability needs a failure-path test. Freshness needs a source owner and evidence about updates. The exposure claim needs inspection of the fields the model receives.

Record uncertainty that can guide later review

What remains after a control is added depends on what that control observes. Removing the title from the model context will not change the room value that the catalog returned. Enforcing a strict display schema prevents arbitrary new fields from appearing through that parser, but a syntactically valid wrong room can still be shown if the application fails to compare it with the available evidence. Report the assumption and the part of the route it governs. Avoid combining those facts into an arbitrary single assurance score.

Real systems may replace the service that retrieves records while leaving the model contract unchanged. A reviewer can ask whether the trust boundary has stayed at the same position even if one service name changed. Perhaps the new retrieval service returns only public fields by default, or perhaps it persists the full record in a temporary cache. Those possibilities imply different data flows regardless of the answer text. Compare the new and old route using the same fixtures before accepting a claim that behavior is equivalent.

Documentation can get out of date incrementally. First someone adds a useful annotation to the response, then a retry is introduced, or a cached result starts being reused by a new view. Record these as changes to crossings when they happen. You need enough detail in the original model to discover which owners should look again, while leaving implementation specifics to verified code and config. A thorough-looking diagram without that update path offers little evidence about the current deployment.

Finally, decide how a reviewer will know that an identified concern was resolved. An impact statement describes what the user or operator would observe. A test measures one or more declared controls. Evidence about the implementation connects the two. In the catalog example, direct inspection of fixture context keys offers evidence against excess model input. A recorded catalog maintenance process supplies different evidence for location freshness. Treat each control as a claim with a scope and an owner.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy