Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    STRIDE Threat Model Generator

    by Saizul Amin

    1

    Lightweight STRIDE threat modeling for a feature or system you are building - capture components, data stores, external actors, data flows and trust boundaries as a small JSON model, generate a STRIDE-per-element threat table (spoofing, tampering, repudiation, information disclosure, denial of se...

    $10

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    STRIDE Threat Model Generator

    STRIDE Threat Model Generator

    Example session with this skill installed

    Create a STRIDE threat model for our online shop architecture (described in shop.json) and list the high-risk threats with mitigations.

    • Read your context and instructions
    • Compiled the stride threat model

    I ran the bundled script from the threat-modeling skill and reviewed its findings.

    Demo data: this is the real, unedited output of the skill's script on the test fixture that ships with its source repo.

    Script output

    
    # Threat model: Example shop
    
    10 candidate threats - High 10, Medium 0, Low 0. Likelihood and impact are 1-3; risk = likelihood x impact.
    
    Trust zones: dmz, internal, internet, third-party
    
    | ID | Element | STRIDE | Threat | Mitigation | L | I | Risk | Status |
    | --- | --- | --- | --- | --- | --- | --- | --- | --- |
    | T01 | Payment webhook (Payment provider -> Web/API) | Spoofing | Requests on 'Payment webhook' cross a trust boundary without authentication, so anyone who can reach Web/API can send them. _(authenticated: false across a boundary)_ | Require authentication (session, token or mTLS) or restrict the network path. | 3 | 3 | High | open |
    | T02 | Postgres | Information disclosure | Data in Postgres is read by an unauthorized party (exposed port, leaked backup, SQL injection, over-privileged account). _(holds credentials, pii; not marked encrypted_at_rest)_ | Network isolation; encryption at rest; least privilege; protect and encrypt backups. | 3 | 3 | High | open |
    | T03 | Order jobs (Web/API -> Order worker) | Tampering | Data on 'Order jobs' is altered in transit. _(crosses trust boundary dmz -> internal; plain-text protocol 'amqp')_ | TLS 1.2+ with certificate validation; message signing (HMAC) for webhooks/queues. | 3 | 2 | High | open |
    | T04 | Order jobs (Web/API -> Order worker) | Information disclosure | Data on 'Order jobs' is observed in transit. _(crosses trust boundary dmz -> internal; plain-text protocol 'amqp')_ | TLS everywhere, including internal hops; do not put secrets in URLs or query strings. | 3 | 2 | High | open |
    | T05 | Postgres | Tampering | Data in Postgres is modified by someone who should not be able to write it. _(holds credentials, pii)_ | Least-privilege DB accounts per service; integrity checks; backups with restore tests. | 2 | 3 | High | open |
    | T06 | Sessions (Web/API -> Redis) | Tampering | Data on 'Sessions' is altered in transit. _(crosses trust boundary dmz -> internal; plain-text protocol 'redis')_ | TLS 1.2+ with certificate validation; message signing (HMAC) for webhooks/queues. | 3 | 2 | High | open |
    | T07 | Sessions (Web/API -> Redis) | Information disclosure | Data on 'Sessions' is observed in transit. _(crosses trust boundary dmz -> internal; plain-text protocol 'redis')_ | TLS everywhere, including internal hops; do not put secrets in URLs or query strings. | 3 | 2 | High | open |
    | T08 | Web/API | Tampering | Inputs to Web/API are manipulated to change its behaviour (injection, mass assignment, parameter tampering). _(internet-facing)_ | Validate input against an allow-list schema; parameterized queries; server-side authorization. | 3 | 2 | High | open |
    | T09 | Web/API | Denial of service | Web/API is exhausted by request floods, expensive queries, large uploads or regex/zip bombs. _(internet-facing)_ | Rate limits, timeouts, request size limits, pagination, quotas, autoscaling with caps. | 3 | 2 | High | open |
    | T10 | Web/API | Elevation of privilege | A user of Web/API gains rights they should not have (broken access control, IDOR, role confusion, code execution). _(internet-facing)_ | Deny by default; check object-level authorization on every request; least-privilege runtime. | 3 | 2 | High | open |
    
    

    Next steps

    1. Assign an owner to each High and Critical threat.
    2. Implement the listed mitigations and re-run the model.
    3. Keep the model next to the code and update it with each architecture change.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Lightweight STRIDE threat modeling for a feature or system you are building - capture components, data stores, external actors, data flows and trust boundaries as a small JSON model, generate a STRIDE-per-element threat table (spoofing, tampering, repudiation, information disclosure, denial of service, elevation of privilege) with likelihood, impact, risk and mitigations, then refine it with the team into tracked actions.

    When to use it

    Use when the user asks for a threat model, STRIDE analysis, security design review, "what could go wrong with this architecture", abuse cases for a new feature, or security requirements before building something.

    How it works

    The skill bundles a tested, offline Python script that does the deterministic checks, and instructions that tell your agent how to collect inputs, run the script, interpret the findings and give you a prioritised fix list. See the demo below for real output.

    Requirements

    • Python 3.8+ (standard library only unless noted in the skill)
    • Works with Claude Code, Codex CLI, Cursor and other SKILL.md-compatible agents

    Open source: saizul/security-audit-skills on GitHub (MIT licence, by Saizul Amin).

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Frequently Asked Questions

    Lightweight STRIDE threat modeling for a feature or system you are building - capture components, data stores, external actors, data flows and trust boundaries as a small JSON model, generate a STRIDE-per-element threat table (spoofing, tampering, repudiation, information disclosure, denial of se...

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use STRIDE Threat Model Generator on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.