threat modeling
AI security interview questions tagged threat modeling, across every topic.
28 questions · 5 unlocked for you
Concepts behind "threat modeling"
Explanations of the mechanisms these questions rely on.
Foundational
Trust Boundaries, Assets and AdversariesSecurity reasoning starts with three questions: what is worth protecting, who could want it and with what ability, and where data or control crosses from one level of trust to another. A trust boundary marks a change in authority or trust. Reviewing the checks at those crossings helps explain failures such as SQL injection and prompt injection. Security Foundations
Foundational
Threat Modeling with Data-Flow Diagrams and STRIDEThreat modeling is a structured way to find what can go wrong in a design before it is built. Draw a data-flow diagram, mark the trust boundaries, and walk each element through STRIDE: spoofing, tampering, repudiation, information disclosure, denial of service and elevation of privilege. The output is a list of specific threats, each with a decision: mitigate, accept, transfer or remove the feature. Security Foundations
Foundational
How LLM Applications WorkAn LLM application selects context, invokes a model and routes its output to readers, tools or stores. Review source and processor permissions, application or provider-managed history, and the actual consumers of each result. A model proposal and a completed authorized action are different observations. How LLM Systems Work
Advanced
Threat Modeling AI SystemsThreat modeling an LLM application uses the same data-flow diagram and STRIDE walk as any system, with new elements drawn in: the context assembler, retrieval stores, the tool layer, memory, and the model and its supply chain. Two adjustments make it work. Annotate every input to the context with its author, because any author can steer the model. And classify every control as deterministic or probabilistic, because only deterministic controls can carry a boundary. Security Foundations🔒 Premium