Threat Modeling Compound AI Systems › Step 1: Enumerate assets and actors

Michael BrenndoerferDecember 2, 20263 min read
Language AI HandbookAll chapters
Part 61 of 67Agentic AI and Protocol Security
Chapter 465Threat Modeling Compound AI Systems › Step 1: Enumerate assets and actors
Reading section 5 of 15 · Step 1: Enumerate assets and actors · 3 minSection 5 of 15 · 3 min

Section 5 of 15 · 3 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

Start with the assets affected by the request. The reader is entitled to the three public fields for this entry. Catalog operators retain the authority to change records. The model's request context and the renderable answer contain copies or transformations of whatever the preceding components hand them. Identify who can see each representation, including telemetry if it retains any of the same information.

The table below uses actor for a human or component with a defined role. A model can affect the displayed wording because the renderer consumes its proposal. The application still owns the choice of resource and audience. Mapping both responsibilities makes it possible to check which component to change if a test fails.

PythonIn [4]
CollapseExpand
actors = {
    "Reader": "Ask for a visible entry",
    "Application": "Check authorization and select a response route",
    "Retrieval service": "Read the requested catalog record",
    "Answer model": "Propose wording for the selected data",
    "Renderer": "Display the result in the current session",
    "Catalog operator": "Maintain catalog fields and visibility labels",
}
for actor, responsibility in actors.items():
    print(f"{actor} — {responsibility}")
ConsoleOut [4]
CollapseExpand
Reader — Ask for a visible entry
Application — Check authorization and select a response route
Retrieval service — Read the requested catalog record
Answer model — Propose wording for the selected data
Renderer — Display the result in the current session
Catalog operator — Maintain catalog fields and visibility labels

After the first inventory, read each row as a scenario with an owner. For the requester, the main asset is usable approved information. Their test should observe location, identity binding, and understandable refusal or unavailability. For the operator, it is record integrity and the ability to correct it in the proper administrative interface. Their test can follow a benign location change through the date of last verification and into use by the read-only route. For the application owner, it is dependable enforcement. Their tests should inspect traffic at the visibility and field-selection boundaries using fixtures.

A short worksheet can stop two owners from assuming that the other one checks a field. Include the field and its expected owner along with the component where it is checked. For our staff note, the catalog team owns the data's sensitivity label, and the application team owns its exclusion from the model. For the checked location, the catalog team owns the physical location and the renderer owner owns agreement between the record and the displayed values. Responsibility can cross a team boundary with the data, but the two check results remain distinct.

Keep non-human services in the inventory wherever they handle a copy. The assistant's application may need access to the record that contains a staff note, even if it never gives the note to the answer model. A reviewer then asks whether the authorized retrieval could return a smaller record in advance. Placing projection earlier would remove the need for this application stage to handle the note. This is a new architecture, so it should get a new matrix row or version rather than a claim that an existing projection already provides that behavior.

During a read-only review, include background data stores that exist in your design, including any store that only helps operators. A redacted diagnostic record is still an asset if staff can correlate it with reader sessions. Ask the operator what decision they need to investigate. Use that requirement to decide which attributes need to cross this boundary. Besides a store's contents, capture who can read it and what deletion or retention rules it follows.

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