Prompt
AI System Threat Model Prompt
Produces a concrete threat model for an AI system with tool access.
1 min readupdated 2026-08-01
/ quick answer
Run before giving any agent write access to production systems. Produces a concrete threat model for an AI system with tool access.
Produces a concrete threat model for an AI system with tool access. Run before giving any agent write access to production systems. Copy the prompt below, swap the bracketed variables for your own context, and run it in any capable model. This prompt node is part of the Onexial knowledge graph and links to related concepts, workflows and tools below.
Context
Run before giving any agent write access to production systems.
Prompt
Act as a security engineer specialising in AI systems. Threat-model the system below.
Return:
1. ASSETS — what an attacker would want, ranked.
2. ENTRY POINTS — every place untrusted content can reach the model, including retrieved documents and tool output.
3. ATTACKS — for each: injection path, what the model would be made to do, blast radius.
4. CONTROLS — architectural mitigations only. Explicitly reject prompt-based mitigations.
5. RESIDUAL RISK — what remains after the controls, and who accepts it.
6. DETECTION — logs, metrics and alerts that would reveal the attack in progress.
System: {{SYSTEM}}
Tools available to the model: {{TOOLS}}
Data it can reach: {{DATA}}
Users: {{USERS}}Example Output
1. ASSETS — customer PII, outbound email capability, refund authority. 2. ENTRY POINTS — ticket body, attached PDFs...
Related Workflow
Related Tool Stacks
/ frequently asked
What does the AI System Threat Model Prompt prompt do?
Run before giving any agent write access to production systems.
Which AI models work with this prompt?
It is model-agnostic: it works with any capable general model. Replace the bracketed variables with your own context before running it.
What output should I expect?
1. ASSETS — customer PII, outbound email capability, refund authority. 2. ENTRY POINTS — ticket body, attached PDFs...
↳ connected nodes
Workflow↳ linked
Harden an AI System Against Injection and Misuse
Architectural controls that survive a manipulated model.
Tool Stack↳ linked
AI Security Stack
Least-privilege tooling, approval gates and audit trails for agentic systems.
Dictionary↳ linked
AI Security
AI security protects systems where the model is an untrusted decision-maker acting on untrusted input with real tool access.
Dictionary↳ linked
AI Governance
AI governance is the set of policies, records and reviews that make an organisation's AI use accountable and auditable.
Workflow↳ linked
Audit MCP Tool Security
A checklist that catches the failure modes unique to model-driven tool calls.
Prompt↳ linked
Autonomy Boundary Prompt
Defines exactly what an agent may do alone, with approval, or never.