mn-youssef/security-skills/threat-modeling

Claude Code and agent skill by mn-youssef/security-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when starting a security assessment and you need to map an application's attack surface, enumerate trust boundaries, and rank what to test first — before auditing code or running tools. Produces a prioritized target list.

Install

npx vskill@latest install mn-youssef/security-skills/threat-modeling

SKILL.md

Threat Modeling (PLAN phase)

Overview

Decide what to worry about and test first before spending effort. Map assets, entry points, and trust boundaries; apply STRIDE; rank risks by likelihood × impact.

Core principle: You can't test everything. Spend effort where a break hurts most.

Process

  1. Inventory assets — What's valuable? (user data, money, credentials, PII, admin control, IP)
  2. Map entry points — Every place untrusted input enters: routes/endpoints, forms,

file uploads, query params, headers, webhooks, message queues, mobile API calls, third-party callbacks.

  1. Draw trust boundaries — Where does data cross from less-trusted to more-trusted?

(browser→API, API→DB, service→service, user→admin). Bugs cluster on these lines.

  1. Apply STRIDE per boundary/component — see references/stride-and-surface.md.
  2. Rank — score each threat: risk = likelihood × impact (1–3 each → 1–9).

Test high scores first.

Quick reference — STRIDE

ThreatQuestionDefends
SpoofingCan someone pretend to be another user/service?Authentication
TamperingCan data be modified in transit/at rest?Integrity
RepudiationCan an action be denied / is it logged?Non-repudiation
Information disclosureCan data leak?Confidentiality
Denial of serviceCan it be made unavailable?Availability
Elevation of privilegeCan a user gain rights they shouldn't?Authorization

Output: prioritized target list

A table the next phases consume:

#AssetEntry pointSTRIDELikelihoodImpactRiskTest via
1User PIIGET /api/users/:idI (IDOR)339code-audit + active-pentest
2AuthPOST /loginS236code-audit

Hand-off

Feed the top items into `security-code-audit` (find) and `active-pentest` (validate).

The surface inventory is also the applicability driver. It tells the security-testing orchestrator which specialists apply (surface present → run) and which to skip (absent → N/A), and exposes any surface with no matching specialist as a coverage gap to handle with the generic methodology + a recommendation to build a new skill. List every surface you found — including ones no current skill covers — so nothing is silently missed.

Common mistakes

  • Modeling the happy path only — attackers use the unhappy paths.
  • Forgetting internal/trusted entry points (admin panels, internal APIs, cron, queues).
  • Treating all findings as equal — rank, or you'll drown in low-value work.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/mn-youssef/security-skills/threat-modeling/badge)](https://verified-skill.com/skills/mn-youssef/security-skills/threat-modeling)

Something wrong with this skill or its page? Tell us.