threat-model SKILL.md skillA

threat-model from qa-aman/claude-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add qa-aman/claude-skills/threat-model@git:20260303.8412b01

Pins git:20260303.8412b01 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
qa-aman/claude-skills
Path
skills/by-role/security/threat-model/SKILL.md
Versions recorded
1
Latest version
git:20260303.8412b01, committed Mar 3, 2026
Size
6,546 bytes
Repository stars
24
License
MIT

Write a threat model document. Use when the user says "threat model", "threat modeling", "STRIDE analysis", "attack surface analysis", "security design review", "what are the threats to this system", "adversarial analysis", "identify threats", "security threat assessment", or needs to systematically identify and document threats to a system or feature - even if they don't explicitly say "threat model".

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

## Overview

Based on **Threat Modeling: Designing for Security** (Adam Shostack). Threat modeling is structured adversarial thinking applied before code ships. Shostack's standard: the goal is not to find every bug - it's to find the worst things that can happen to your system and decide what to do about each one. A threat model is not a security audit; it is a design artifact.

STRIDE framework (Shostack):
- **S**poofing - impersonating a user or system
- **T**ampering - modifying data or code
- **R**epudiation - denying an action occurred
- **I**nformation disclosure - exposing data to unauthorized parties
- **D**enial of service - degrading or blocking availability
- **E**levation of privilege - gaining access beyond what's authorized

## Workflow

### Step 1: Define scope

```
System: [name of the system or feature being modeled]
Scope: [what is in scope - specific components, APIs, data flows]
Out of scope: [what is explicitly excluded]
Assumptions: [what we assume is already secured, e.g. OS-level security, network perimeter]
Assets: [what we're protecting]
  - [asset 1, e.g. user PII]
  - [asset 2, e.g. payment data]
  - [asset 3, e.g. service availability]
```
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add qa-aman/claude-skills/threat-model@sha256:e482076b78aa8c4e

The line at the top of this page pins the label git:20260303.8412b01, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_7e7bhklqord2hsy5.svg)](https://markdownregistry.com/a/art_7e7bhklqord2hsy5)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Mar 3, 2026.

versioncommittedcommitsizeaudit
git:20260303.8412b01 latest2026-03-03 8412b01 6,546 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (6546 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

qa-aman/claude-skills · 24 stars · license MIT · pushed 2026-10-19 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_7e7bhklqord2hsy5
GET https://markdownregistry.com/api/v1/resolve?ref=qa-aman/claude-skills/threat-model
GET https://markdownregistry.com/api/v1/blob/e482076b78aa8c4ef141fd1d9b0839d5b1d9e91d071f5321ed64f80a16f82dbe

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from qa-aman/claude-skills

create-skill SKILL.md skill
qa-aman/claude-skills · .claude/skills/create-skill/SKILL.md · Create or update Claude Code skills following Anthropic's official skill standard. Use when user says "create a skill"…
git:20260303.4fa499f · audit A · 24 stars
sync-skills SKILL.md skill
qa-aman/claude-skills · .claude/skills/sync-skills/SKILL.md · Fetch skills from projects on the current system, genericize them, and add to the claude-skills repository. Use when…
git:20260303.4fa499f · audit A · 24 stars
CLAUDE.md CLAUDE.md file
qa-aman/claude-skills · CLAUDE.md
git:20261019.be4abcc · audit A · 24 stars
audit-workpaper SKILL.md skill
qa-aman/claude-skills · skills/by-role/accountant/audit-workpaper/SKILL.md · Write a clear, reviewable audit workpaper documenting procedures, evidence, and conclusions. Use when an auditor says…
git:20260307.8c0949a · audit A · 24 stars
budget-variance-analysis SKILL.md skill
qa-aman/claude-skills · skills/by-role/accountant/budget-variance-analysis/SKILL.md · Analyze budget vs. actual variances, identify root causes, and recommend corrective actions. Use when an accountant or…
git:20260307.8c0949a · audit A · 24 stars
financial-statement-review SKILL.md skill
qa-aman/claude-skills · skills/by-role/accountant/financial-statement-review/SKILL.md · Analyze and interpret financial statements to surface performance signals, quality concerns, and red flags. Use when an…
git:20260307.8c0949a · audit A · 24 stars
month-end-close SKILL.md skill
qa-aman/claude-skills · skills/by-role/accountant/month-end-close/SKILL.md · Run, document, or review a structured month-end close process. Use when an accountant says "help me with month-end…
git:20260307.8c0949a · audit A · 24 stars
tax-position-memo SKILL.md skill
qa-aman/claude-skills · skills/by-role/accountant/tax-position-memo/SKILL.md · Write a technical tax position memo that documents a tax filing position with authorities, facts, analysis, and…
git:20260307.8c0949a · audit A · 24 stars
acceptance-criteria-writer SKILL.md skill
qa-aman/claude-skills · skills/by-role/business-analyst/acceptance-criteria-writer/SKILL.md · Write measurable acceptance criteria for requirements or user stories. Use when the user says "write acceptance…
git:20260323.771ca1c · audit A · 24 stars
brd-writer SKILL.md skill
qa-aman/claude-skills · skills/by-role/business-analyst/brd-writer/SKILL.md · Write a Business Requirements Document. Use when the user says "write a BRD", "business requirements", "document the…
git:20260323.771ca1c · audit A · 24 stars
cost-benefit-analysis SKILL.md skill
qa-aman/claude-skills · skills/by-role/business-analyst/cost-benefit-analysis/SKILL.md · Build a business case with costs, benefits, and ROI. Use when the user says "cost-benefit analysis", "business case"…
git:20260323.771ca1c · audit A · 24 stars
data-dictionary SKILL.md skill
qa-aman/claude-skills · skills/by-role/business-analyst/data-dictionary/SKILL.md · Generate a data dictionary documenting entities, fields, and business rules. Use when the user says "data dictionary"…
git:20260323.771ca1c · audit A · 24 stars

Every file in qa-aman/claude-skills

Other files named threat-model

threat-model SKILL.md skill
cowork-os/cowork-os · resources/plugin-packs/codex-security/skills/threat-model/SKILL.md · Use when Codex is already in the threat-modeling phase of a security scan, the user explicitly invokes $threat-model…
git:20260606.a4decec · audit A · 517 stars
threat-model SKILL.md skill
amirfish1/claude-command-center · plugin/skills/threat-model/SKILL.md · Use before shipping a change that touches a trust boundary (a new endpoint, input parser, file-path handler, subprocess…
git:20261009.a664025 · audit B · 212 stars
threat-model SKILL.md skill
haabe/mycelium · plugins/mycelium/skills/threat-model/SKILL.md · Use to conduct STRIDE threat modeling for a system or feature design.
git:20261007.33e0656 · audit A · 51 stars
threat-model SKILL.md skill
byerlikaya/claude-starter-kit · plugin/skills/threat-model/SKILL.md · Scope a security audit BEFORE scanning, to cut false positives: map assets, entry points, trust boundaries and 5-8…
git:20260926.aaa5dbc · audit A · 26 stars
threat-model SKILL.md skill
byerlikaya/claude-starter-kit · kit/skills/threat-model/SKILL.md · Scope a security audit BEFORE scanning, to cut false positives: map assets, entry points, trust boundaries and 5-8…
git:20260926.aaa5dbc · audit A · 26 stars
threat-model SKILL.md skill
perrylink/dsh-skill-pack-security · skills-en/threat-model/SKILL.md · Lightweight threat modeling for new features/systems: fix the target, scope and trust boundaries, asset inventory…
v2.2.25 · audit A · 22 stars
threat-model SKILL.md skill
perrylink/dsh-skill-pack-security · skills/threat-model/SKILL.md · 新功能/新系统的轻量威胁建模:固定对象→划定范围与信任边界→资产清单→STRIDE 逐资产威胁表→攻击树(可选)→缓解与优先级,产出可进设计评审的威胁模型文档。为新功能/新改动做设计阶段安全评审、梳理信任边界或画攻击树时用;与安全边界无关的…
v2.2.25 · audit A · 22 stars
threat-model SKILL.md skill
air-gapped/skills · .claude/skills/threat-model/SKILL.md · [1/4 defending-code] Build a threat model for a target codebase. Optional first step of the find-and-fix loop…
git:20261027.6fcd57a · audit A · 5 stars

Browse by kind, by grade A, or by owner.