Skill / SKILL.md

Security Threat Model

dotslashsimran/simcraft

Threat-model the user's own app from its real code. Draws the data flow (actors, trust boundaries, data stores, external services) as a Mermaid diagram, finds threats per element with STRIDE, ranks them by likelihood times impact, then proves each top risk with a local failing test, fixes it, and keeps the test as a regression test. Covers auth, IDOR and tenant isolation, injection, SSRF, secrets, CORS/CSRF, uploads, webhooks, dependencies, abuse, and LLM-app risks like prompt injection through tool output. Writes THREAT_MODEL.md. Use when the user says "threat model", "security review of my app", "is this secure", "STRIDE", "find vulnerabilities in my code", or before launching something that holds other people's data or money.
3 views 571 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Threat-model the user's own app from its real code. Draws the data flow (actors, trust boundaries, data stores, external services) as a Mermaid diagram, finds threats per element with STRIDE, ranks them by likelihood times impact, then proves each top risk with a local failing test, fixes it, and keeps the test as a regression test. Covers auth, IDOR and tenant isolation, injection, SSRF, secrets, CORS/CSRF, uploads, webhooks, dependencies, abuse, and LLM-app risks like prompt injection through tool output. Writes THREAT_MODEL.md. Use when the user says "threat model", "security review of my app", "is this secure", "STRIDE", "find vulnerabilities in my code", or before launching something that holds other people's data or money.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/dotslashsimran/simcraft' skill-source

Use the complete skill-source/skills/coding/security-threat-model directory with your client’s skill installer.

  • skills/coding/security-threat-model

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/coding/security-threat-model

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
75cd9a4aecd83b4014fdc52ce3a518b07bf0d3843f13838db960385e565ffd16
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills