← Files LLM & Agent Builder CopilotARCHIVED FILE

references/security-threat-model.md

935 Bytes · Nov 22, 2026 · 18:40 UTC

↓ Download file

See the change to this file →

# Agent threat modeling
Entry points: user text, retrieved documents, repository instructions, web pages, model-generated tool arguments, third-party tool responses and nested agent outputs. Boundaries: instruction priority, tenant/user permissions, network destinations, filesystem, credentials and external side effects.

Threats: prompt injection, exfiltration via URLs/tools, confused deputy, credential echo, overbroad scopes, cross-tenant leakage, unsafe code execution, SSRF, inadequate audit. Mitigations: input isolation, content labeling, least privilege, deterministic resource auth, network allowlists, sandboxing, result filtering, output validation, approval and idempotency.

Model refusals and prompt warnings are not access controls. Tests must use untrusted malicious content and verify the **actual blocked tool call**, not just the model's polite refusal. Use `templates/threat-model.md`; keep test data synthetic.

SHA-256: 40b226f2f897019b75db7704e9daf43c8d0c63fa827183cb0cce2def39735887