563
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...

/ continue exploring

Related concepts

The vocabulary this page depends on.

  • AI Security

    AI security protects systems where the model is an untrusted decision-maker acting on untrusted input with real tool access.

  • AI Governance

    AI governance is the set of policies, records and reviews that make an organisation's AI use accountable and auditable.

  • Prompt Injection

    An attack where hostile input hijacks the LLM's instructions, causing it to leak data or misbehave.

all dictionary

Related workflows

Turn this into a repeatable process.

all workflows

Related tool stacks

The tools that run it in production.

all tool stacks

Related prompts

Reusable prompts for this job.

all prompts

Comparisons & alternatives

Pick between the options.

all comparisons