Skip to content
mentoor

Topic 1 of 5 · 4 min read

Assets worth protecting in AI systems

Goal: List the assets of an AI feature, including easy-to-miss ones such as spend and agent actions.

A threat model starts with a list of what an attacker would want, and in an AI feature that list is longer than the data in the database. You cannot rank risks until you know what is at stake.

Check yourself · 1 of 3

Which item is most likely to be missed when a team lists the assets of a support chatbot?

Choose one answer

Why it matters

Teams add a chat box or an agent and protect the obvious asset, user records. They miss the others: the API key the agent holds, the bill a looping agent can run up, the trust users place in answers that look official. An attacker who cannot read your data may still make you pay, or make your assistant say something that ends up in a screenshot.

How to do it

Walk through the feature and ask five questions for each item you meet.

  1. Data. What does the model see: retrieved documents, chat history, user profiles, tool results? Which of it is private, regulated or another tenant's?
  2. Credentials. Which keys, tokens and sessions can the model or its tools use? A tool with a database admin token makes the model an admin.
  3. Instructions and IP. System prompts, fine-tuned weights, evaluation sets, proprietary retrieval corpora. Treat a system prompt as findable, not secret, but note what leaking it would cost.
  4. Capacity and money. Token spend, rate limits, GPU time, third-party API quotas. Denial of wallet is a real outcome.
  5. Actions and trust. What can an agent change in the world: send mail, refund, deploy, delete? And what do users believe because your brand is on the answer?

Write each asset with an owner, a rough value and the harm if it is leaked, changed or made unavailable.

Before and after

Weak: "Assets: user data, the model." Fixed:

Asset Harm if abused
Customer tickets in the retrieval index Cross-tenant leak
Support-agent refund tool Money out the door
Monthly model API budget Outage when spent

What goes wrong

  • Listing only data. Spend, actions and reputation never get a mitigation.
  • Listing the model as one asset. Split weights, prompts and API access; they are attacked differently.
  • Forgetting indirect assets. Logs and traces often hold full prompts, including secrets users pasted in.
  • Using one-time inventory. A new tool adds an asset the day it ships.

Examples

A refund agent

A support agent can call issue_refund(order_id, amount). The ticket text is untrusted, yet it can steer that call. The asset is not only the order table; it is the refund tool and the rule that limits it, such as a per-day cap.

Spend as an asset

A public summarizer endpoint has no per-user limit. One user pastes a long document in a loop. Nothing is stolen, but the month's budget is gone by Tuesday. Add a quota per user and an alert on spend.

Key points

  • An AI feature has more assets than its data: credentials, system prompts, weights, spend and agent actions all count.
  • Ask what the model sees, what it can use, what it can change and what it can cost.
  • Give every asset an owner and the harm if it is leaked, altered or unavailable.
  • Denial of wallet, where an attacker burns your token budget, is a real loss even when no data leaks.
  • Logs, traces and caches copy prompts and tool results, so they inherit the sensitivity of what they store.

Common mistakes

  • Writing 'the model' as a single asset instead of weights, prompt, access and spend.
  • Counting only data, and leaving out tools and the actions they allow.
  • Ignoring logs and traces that store full prompts and tool outputs.
  • Doing the inventory once and never updating it when a tool is added.

Check yourself · 2 of 3

An agent holds a token that can delete records. Which asset does the threat model need to list?

Choose one answer

Check yourself · 3 of 3

Why do logs belong in the asset list for an LLM app?

Choose one answer

Practice items, not counted towards your mastery.

Start here

More for this topic