Threat Modeling Quickstart

Threat Modeling Quickstart is a skill for Claude Code, Codex from niels-emmer/myace. It costs 41 tokens per session (741 once invoked), scanned A, original, MIT.

A short security review for a new public interface, data store, or trust boundary. It asks what could go wrong, who could exploit it, and how far the damage could spread.

In plain words
What is it for?
Reviewing new API endpoints, listeners, databases, caches, queues, file stores, external integrations, or changes that expose internal systems to new callers.
Why use it?
It catches common security risks during an ordinary code review without requiring a full threat-modeling workshop.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for aider. Also seen: mentions Codex; built for aider; mentions OpenCode.

Good fit Reviewing new API endpoints, listeners, databases, caches, queues, file stores, external integrations, or changes that expose internal systems to new callers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/niels-emmer/myace/threat-modeling-quickstart
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add niels-emmer/myace --skill threat-modeling-quickstart
Clone the repo
git clone --depth 1 https://github.com/niels-emmer/myace

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Threat Modeling Quickstart

README.md
[![agentmods](https://agentmods.dev/badge/skills/niels-emmer/myace/threat-modeling-quickstart/github.svg)](https://agentmods.dev/skills/niels-emmer/myace/threat-modeling-quickstart)
Your own site
<a href="https://agentmods.dev/skills/niels-emmer/myace/threat-modeling-quickstart"><img src="https://agentmods.dev/badge/skills/niels-emmer/myace/threat-modeling-quickstart/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Threat Modeling Quickstart

Your own site · 80×15
<a href="https://agentmods.dev/skills/niels-emmer/myace/threat-modeling-quickstart"><img src="https://agentmods.dev/badge/skills/niels-emmer/myace/threat-modeling-quickstart.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 741 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00041 $0.00741
Opus 5 $0.00020 $0.00370
Sonnet 5 $0.00008 $0.00148
Haiku 4.5 $0.00004 $0.00074

Measured 10d ago against content hash fd809591c361, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

Threat Modeling Quickstart scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

collections/additional/auditor/skills/threat-modeling-quickstart/SKILL.md · 50 lines

How it starts

The opening of the file, as written. The whole thing — 50 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Purpose

Give new attack surface a fast, structured look before it's considered reviewed, without requiring a full formal threat-modeling exercise (STRIDE workshop, data-flow diagrams, etc.) for every small change. This is the lightweight version that fits inside a normal code review.

When to use it

Trigger this pass whenever a change introduces or materially alters:

  • A new network-facing endpoint, listener, or public interface.
  • A new data store (database, cache, queue, file store) or a new class of data flowing into an existing one.
  • A new trust boundary — a new external integration, a new class of caller (e.g. previously internal-only, now reachable by end users), or a change to what an existing boundary trusts.

If none of these apply, skip it and note "N/A — no new attack surface" in the review.

Steps

  1. Name the surface. State in one sentence what's new: "a new /api/v1/webhooks/incoming endpoint that accepts POSTs from an external payment provider."

  2. What could go wrong? List concrete failure modes, not abstract categories — spoofed requests (no signature verification), replay of a captured valid request, oversized payloads causing resource exhaustion, malformed payloads crashing the handler, the endpoint being used to enumerate internal state via timing or error differences.

  3. Who could exploit it? Name the realistic actor for each failure mode: an anonymous internet user, an authenticated low-privilege user, someone who has compromised a downstream dependency, an insider with legitimate but narrower access. Don't default to "a sophisticated attacker" when the honest answer is "anyone who can send an HTTP request."

  4. What's the blast radius? For each failure mode, state what's actually reachable if it's exploited — a single record, a single tenant's data, the whole data store, the ability to pivot to another system, or just noisy logs and no real impact. Be specific about scope; "could be bad" isn't a blast radius.

  5. Check the boundary controls. For each identified risk, confirm there's a concrete mitigation in place — signature/HMAC verification, rate limiting, authentication, input size limits, allowlisted callers — and note which risks have no mitigation yet.

Read the full file on GitHub · 50 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 50 lines · 41 tokens per session scan A fd809591c361

Subscribe to this mod's changes

Threat Modeling Quickstart is a skill published in the GitHub repository niels-emmer/myace (1 stars, last pushed 3d ago), licensed MIT. It adds 41 tokens to every session and 741 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

html-draft

Use when user wants a standalone HTML diagram in flat engineering blueprint style — architecture diagrams, system flows, technical spec sheets, component maps. Generates one HTML file using Tailwind v4 (browser CDN) for layout and D3 v7 (CDN) for SVG diagrams. User-invoked only — do NOT auto-trigger. Triggers on…

serejaris/personal-corp-os · 130 tokens

idea

Use when capturing ONE new idea the user voices and wants recorded — "save this idea", "I have an idea", "log this idea", "/idea", "idea: ...". Creates a provenance-tracked folder (one folder per idea) in your ideas repo, dedups against an index, optionally mirrors to a GitHub Project view filtered by label:idea. NOT…

serejaris/personal-corp-os · 135 tokens

pm-feedback

A feedback-analysis aid that turns spreadsheet data, CSV files, pasted text, or review screenshots into organized product insights. It groups themes, identifies sentiment, examines trends and sources, calculates NPS, and extracts user types.

serejaris/personal-corp-os · 132 tokens

pm-brainstorm

A structured brainstorming session for exploring a specific product problem or opportunity and narrowing the results to ideas worth pursuing.

serejaris/personal-corp-os · 162 tokens

weekly-planning

A planning workflow that turns a completed weekly review and existing backlog into prioritized outcomes for one ISO calendar week.

serejaris/personal-corp-os · 49 tokens

claude-md-writer

Use when creating or refactoring CLAUDE.md files - enforces best practices for size, structure, and content organization.

serejaris/personal-corp-os · 30 tokens