Threat Modeling Context-Aware AI: A STRIDE Walkthrough
Context-aware AI has become the default architecture for grounding Large Language Models (LLMs) in private, enterprise data. It is also quietly one of the most attack-rich architectures to reach production in years: it combines untrusted user input, untrusted document content, a probabilistic model that follows instructions from both, and privileged access to internal data stores. Most teams threat model their APIs and their infrastructure. Very few threat model the AI context pipeline itself. This walkthrough does exactly that: it takes a realistic reference architecture, walks it through STRIDE, and ends with a prioritized mitigation list you can apply to your own system