Skip to content
Back to skills

Threat Model

ASecurity

Build a STRIDE threat model for a system, feature or architecture change, with data-flow diagram, ranked threats and concrete mitigations. Use when designing or reviewing anything that handles untrusted input, credentials, personal data or crosses a trust boundary.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 5, 2026
ai-agentsrustgosecurity

Works with

  • cli

Security analysis

A100/100

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

Scanned November 5, 2026

npx -y skills add lordprime/Argus-Council --skill threat-model --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Threat Model?

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

Security grade badge for Threat Model
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lordprime-threat-model/badge)](https://www.skillsdirectory.com/skills/lordprime-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: threat-model
description: Build a STRIDE threat model for a system, feature or architecture change, with data-flow diagram, ranked threats and concrete mitigations. Use when designing or reviewing anything that handles untrusted input, credentials, personal data or crosses a trust boundary.
version: 1.0.0
allowed-tools: [fs_read, fs_list, fs_search, notes_write, notes_read, artifact_write]
metadata:
  tags: [security, architecture, review]
---

# Threat model

Work through these steps; record each threat with `notes_write` so other members can challenge it.

## 1. Scope
- One paragraph: what the system does, who uses it, what it must never do.
- List the **assets** (data, credentials, money, availability) and who would want them.

## 2. Model the system
- Draw a data-flow diagram as a Mermaid `flowchart`: external entities, processes, data stores, flows.
- Mark every **trust boundary** (internet to service, service to DB, tenant to tenant, user to admin).
- If code is available, ground the diagram in it (`fs_search` for routes, queues, DB clients, auth checks).

## 3. Enumerate threats (STRIDE per element)
For each element and each flow that crosses a boundary, ask the six questions in
`references/stride.md`. Skip categories that genuinely do not apply, and say why.

## 4. Rate and mitigate
For every threat give: `id`, STRIDE category, affected element, a concrete attack in one sentence,
likelihood (low/med/high), impact (low/med/high), existing control (or "none"), and the smallest
mitigation that closes it. Prefer standard controls (parameterised queries, authz at the resource,
short-lived tokens, rate limits, encryption at rest) over bespoke ones.

## 5. Deliver
Write `threat-model.md` with `artifact_write`: scope, diagram, threat table sorted by risk,
top three actions with owners, and accepted risks with the reason they are accepted.
Never mark a threat mitigated without naming the control that does it.

Files in this skill

  • SKILL.md1.9 KB
  • references/stride.md1.2 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.