Abstract AI assistant threat-model architecture

Scenario

You are reviewing an AI assistant that can search an internal knowledge base and call a ticketing tool. Your job is to identify assets, trust boundaries, attack paths, and controls before it goes live.

Learning outcomes

  • Map the model, prompt, retrieval, identity, data, and tool boundaries in an AI application.
  • Identify direct and indirect prompt injection, data poisoning, excessive agency, and sensitive-data exposure.
  • Propose layered controls: least privilege, input handling, output validation, logging, testing, and human approval.

Watch: attack and defence perspectives

Read: practical threat-modelling references

Book shelf

  • Threat Modeling, Adam Shostack — apply its structured questions to models, data stores, and tools.
  • AI Engineering, Chip Huyen — useful background on designing production foundation-model applications.