Skip to content
Back to skills

Agent Threat Model

ASecurity

Use when starting or substantially changing a system that contains an AI model or agent, before it is connected to real data, tools or users, and when asked for a threat model, security design review or risk assessment of an AI feature. Produces a structured threat model covering AI-specific and agentic threats.

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 5, 2026
ai-agentsrustgoawsapisecurity

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 5, 2026

npx -y skills add michalarchitect/secure-ai-development-kit --skill agent-threat-model --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agent Threat Model?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agent Threat Model
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/michalarchitect-agent-threat-model/badge)](https://www.skillsdirectory.com/skills/michalarchitect-agent-threat-model)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: agent-threat-model
description: Use when starting or substantially changing a system that contains an AI model or agent, before it is connected to real data, tools or users, and when asked for a threat model, security design review or risk assessment of an AI feature. Produces a structured threat model covering AI-specific and agentic threats.
---

# Agent threat model

## Why this skill exists

Conventional threat modelling misses attacks on data, models and agent behaviour. This skill adds those to the project's existing method. It does not replace it.

A threat model drafted by an assistant is a **draft for a human security reviewer**. Mark it as such.

## Rules

1. **Describe the real system**, from code and configuration, not an idealised one. If you could not verify something, write "assumed".
2. **Every threat gets a decision**: mitigated (how), accepted (by whom), or open.
3. **Do not invent controls.** List a control only if you can point to where it is implemented.
4. **Provider and deployer duties are different.** State which role the organisation has for each component.

## Procedure

1. **System description.** Purpose, users, and for each AI component: model (own, fine-tuned, third-party API), where it runs, who provides it.
2. **Assets.** Training and fine-tuning data, prompts and system instructions, model weights, embeddings and vector stores, agent memory, tool credentials, logs, outputs that drive decisions.
3. **Data flow.** Draw or list flows with trust boundaries. Mark every point where untrusted content enters (apply `untrusted-content`).
4. **Capabilities.** For agents, attach the permission matrix (apply `agent-permissions`).
5. **Threats.** Go through each family in [threat-model-template.md](threat-model-template.md) and record whether it applies, the attack path, and the impact on confidentiality, integrity, availability and, where relevant, people. The public anchor of each family is given in brackets.
   - goal manipulation and instruction injection, direct and indirect [OWASP ASI01; LLM01]
   - tool misuse and unsafe execution [OWASP ASI02, ASI05; LLM03, LLM10]
   - identity abuse and privilege escalation [OWASP ASI03; LLM03]
   - supply-chain compromise of components, models, datasets, tools, skills and instruction files [OWASP ASI04; LLM04]
   - poisoning of training data, models or persistent memory [AI Act Art. 15(5); OWASP ASI06; LLM05; NIST AI 100-2 E2025]
   - adversarial inputs and model evasion [AI Act Art. 15(5); NIST AI 100-2 E2025]
   - confidentiality attacks and sensitive information exposure, including model extraction, system prompt leakage and hidden context exposure [AI Act Art. 15(5); LLM02, LLM08; NIST AI 100-2 E2025]
   - manipulation of retrieval, embeddings and context [OWASP ASI06; LLM09]
   - compromise of agent-to-agent trust and communication [OWASP ASI07]
   - cascading failures and uncontrolled resource consumption [OWASP ASI08; LLM06]
   - manipulation of human oversight and misplaced trust in agent output [OWASP ASI09; LLM07]
   - unauthorised autonomy and persistent agent misbehaviour [OWASP ASI10; LLM03]
   - exploitation of model flaws and unreliable behaviour [AI Act Art. 15(5); LLM07]
6. **Mitigations.** For each applicable threat list controls actually in place and planned. Check for interactions: a mitigation may reduce accuracy, break another control, or degrade over time as the model or data changes.
7. **Monitoring and response.** What is logged, what triggers an alert, who responds, how the model or agent is rolled back or disabled.
8. **Lifecycle.** What happens on model update, retraining or change of provider. Does operational data flow back into training?
9. **Residual risk and decisions.** Open items with owner and date.

## Stop and ask a human when

- the system makes or supports decisions about people, safety or money
- you cannot determine where a model or dataset comes from
- a high-impact threat has no control and no owner

## Output

A completed `threat-model-template.md`, marked "DRAFT – requires review by <security role>", referenced from the change evidence.

## References

- OWASP Top 10 for Agentic Applications 2026: ASI01 to ASI10
- OWASP Top 10 for LLM Applications 2026: LLM01 to LLM10 (identifiers renumbered from the 2025 edition; anchors here follow 2026)
- Regulation (EU) 2024/1689 (AI Act): Art. 15(5) (indicative; see `docs/ai-act-mapping.md`)
- NIST AI 100-2 E2025, Adversarial Machine Learning: A Taxonomy and Terminology of Attacks and Mitigations (successor draft NIST SP 2400-102 E2026, initial public draft of 9 November 2026, adds attacks on agentic systems; recheck when final)
- ENISA, Technical Advisory on AI-assisted software development (version 0.4, draft for public consultation, September 2026), section 3

Files in this skill

  • SKILL.md4.7 KB
  • threat-model-template.md4.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.