Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

stride-threat-modeling

БесплатноБез исполняемых скриптовНе проверен

Use when a design, story or architecture sketch touching login, user data, payments, file uploads or an external integration is about to be built with no…

testlandот testland★ 18 звёзд на GitHub

Об этом скилле

stride-threat-modeling

What this owns, and what it does not

This skill turns "we are adding feature X" into a table of candidate threats against the design of X, classified by STRIDE, each with a named mitigation.

The output is a planning document about a design, not a finding about a system. That boundary decides what belongs here:

Adjacent activity What it produces Why it is not this
Static / dependency / container scanning Findings about code or artifacts that already exist Runs against an implementation; this runs before one exists, and every row here is an unproven hypothesis
Penetration testing Demonstrated exploitation with evidence of reachability Proves a threat is real; this only asserts a threat is plausible and worth designing against
Security-control compliance audit Evidence that a required control is present and effective Audits go control to system; this goes threat to proposed control, the opposite direction
Requirements / testability review Ambiguity, missing acceptance criteria Vague wording is a requirements defect, not a security finding. Do not launder it into this table

If the design already shipped and you want to know whether it is actually vulnerable, you want a scanner or a tester. This produces the list of things those tools should later be pointed at.

The six STRIDE categories

STRIDE is Microsoft's threat classification, "derived from an acronym for the following six threat categories" (ms-stride); the Microsoft Security Development Lifecycle and its Threat Modeling Tool use the same model (ms-tmt-threats).

Each letter is the negation of one security property. Microsoft's own mapping (MSDN Magazine, Figure 3, "Threats and Security Properties") pairs them as below (ms-stride-approach):

Letter Threat Property violated Microsoft's definition of the threat (ms-stride)
S Spoofing identity Authentication "illegally accessing and then using another user's authentication information, such as username and password"
T Tampering with data Integrity "the malicious modification of data", including "unauthorized changes made to persistent data" and "the alteration of data as it flows between two computers over an open network"
R Repudiation Non-repudiation "associated with users who deny performing an action without other parties having any way to prove otherwise"
I Information disclosure Confidentiality "the exposure of information to individuals who are not supposed to have access to it"
D Denial of service Availability "attacks deny service to valid users"
E Elevation of privilege Authorization "an unprivileged user gains privileged access and thereby has sufficient access to compromise or destroy the entire system"

The property column is not decoration: the property an attack actually breaks is what tells you whether a candidate row really belongs in that category (ms-stride-approach, Figure 2).

Microsoft is explicit that the classification is not rigorous: the categories cross-correlate, because "escalation of privilege (E) tends to imply spoofing and loss of non-repudiation, and could imply tampering, information disclosure, and denial of service" (ms-dreadful). Do not spend time arguing which letter a threat belongs under. Pick the property the attack actually breaks, record the row, and move on.

Step 1 - Inventory what the design contains

Walk the spec and tag four things. Microsoft's data-flow-diagram vocabulary gives the element types (ms-stride-approach, Figure 4): data flows, data stores, processes, interactors, plus trust boundaries, which are added specifically for threat modeling.

Tag What to look for in the text
Interactors (actors) Users, admins, third parties, partner services, the attacker. "the end points of your system: the people, Web services, and servers"
Data stores Databases, tables, buckets, queues, caches, files, secrets, credentials, payment data, PII, session tokens
Data flows API calls, uploads, downloads, webhooks, integrations, batch/cron transfers
Processes Services, workers, jobs, request handlers, the thing that actually computes
Trust boundaries browser to server, public to private network, non-admin to admin, tenant to tenant, your code to a v
Полный SKILL.md на GitHub

Установить stride-threat-modeling в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

.tessl-plugin/plugin.jsonreferences/mitigations.md

FAQ

Что делает скилл stride-threat-modeling?

Use when a design, story or architecture sketch touching login, user data, payments, file uploads or an external integration is about to be built with no threat model. Walks assets and trust boundaries through Microsoft's STRIDE categories, triages threats and writes the threat model into the repo.

Как установить скилл stride-threat-modeling?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл stride-threat-modeling запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить stride-threat-modeling с