1:1 mentoring with Big Tech AI engineers
System Design

Security Overview

A system-level threat model for an agent: draw the trust boundaries, run STRIDE on each crossing, name the 2026 OWASP risks, put each control on the boundary where it runs, and state what the provider keeps.

Last updated

Production10 min readFirst readAgent Failure ModesGrounded Answers

After this section you can

  • Draw the trust boundaries of an agent and name the control that runs at each one
  • Run STRIDE on each crossing and map every risk to its 2026 OWASP ID
  • State what a model provider keeps, and name the owner of each residual risk
11

Security Overview

Draw the trust boundaries, run STRIDE on each crossing, name the 2026 OWASP risks, and state what the provider keeps.

Key idea

A fooled model is survivable only when code outside it bounds what it can do. Name each trust boundary, the control that runs there, and the owner who answers for it.

Every crossing has one control and one owner
reply User App Retrieval Model Tools PII redaction tenant filter screened retrieval tools act as the caller render gate retention terms immutable log Provider Audit record PII DetectionMulti-Tenant IsolationPrompt Injection DefenseGuardrails & SafetyGuardrails & SafetyThis section, step 05Audit & Compliance

Dashed teal rules are trust boundaries; each chip names the control that runs there and the section that owns it.

Related

More in System Design

Get full access to all 149 sections with code examples, diagrams, and interactive animations.

Unlock Premium