/everything-copilot-cli:threat-model-analystfrom everything-copilot-cli
Performs structured STRIDE-A threat modeling: maps architecture, data flows, trust boundaries, abuse cases, and prioritized findings. Supports both initial analysis and incremental diff-based updates.
Ships in everything-copilot-cli. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Perform architecture-first security analysis using STRIDE-A: classic STRIDE plus explicit abuse-case thinking.
| Instead of threat-model-analyst | Use |
|---|---|
| Code-level vulnerability scanning | security-scan or pr-security-review |
| Broad repository posture scoring | evaluate-repository |
| Agent-specific OWASP checklist review | agent-owasp-check |
| Supply-chain integrity validation | agent-supply-chain |
Use when there is no prior threat model or when the whole system needs review.
Use when a previous threat model exists and you need to compare the current system or a specific commit against that baseline.
Incremental mode is often the better day-to-day workflow because it highlights:
Clarify:
List obvious inputs and high-value outcomes before reading code in detail.
You do not need perfect diagrams before analysis, but you do need a concrete model of:
Represent the system as a lightweight DFD or component map if helpful.
A threat model that states controls nobody checked reads as reassurance, not analysis. Give each
piece of evidence an ID (E001, E002, …) and make every boundary, flow, and control in the sketch
cite at least one — and hold every finding from step 3 onward to the same rule. When sources
disagree, the higher one decides the modeled state and the lower one is recorded as drift:
Never treat intent ("we enforce mTLS") as proof that a control is active. Mark controls
implemented, partial, or unknown; a partial or unknown control must name its gap and cannot
lower the risk score beyond what the evidence shows. When evidence is missing, record an unknown
item saying what would settle it. Adapted from hacks4snacks/tmforge (MIT).
For each component or trust boundary, ask:
| Dimension | Question |
|---|---|
| Spoofing | Who could impersonate a user, service, or agent? |
| Tampering | What data or configuration could be modified without detection? |
| Repudiation | What actions would be hard to prove later? |
| Information Disclosure | What could leak across the boundary? |
| Denial of Service | What could exhaust or block the system? |
| Elevation of Privilege | What paths raise privileges unexpectedly? |
| Abuse | What realistic misuse path would an attacker or insider choose? |
For each finding, record:
Map to CWE, OWASP, or CVSS only when it clarifies the issue instead of bloating the report.
When comparing against a prior threat model, explicitly classify each item as:
This is especially useful for:
Incremental comparison only works if the earlier model's identifiers still mean the same thing. Keep every element, flow, and threat ID stable: never renumber, reuse, or compact IDs after a deletion, and give new items new IDs. Renumbering silently re-attaches old findings, suppressions, and work-item links to the wrong elements.
A good threat model report should leave the reader with:
Suggested structure:
## Architecture Overview
- ...
## Trust Boundaries
- ...
## STRIDE-A Findings
- [High] ...
- [Medium] ...
## Change Diff
- New: ...
- Resolved: ...
- Still present: ...
## Next Mitigations
- ...
| Rationalization | Reality |
|---|---|
| "We'll just scan the code for vulnerabilities." | Code scanning misses architecture flaws, broken trust boundaries, and misuse paths. |
| "The old threat model is close enough." | Architecture drift makes stale threat models dangerously reassuring. |
| "Abuse cases are too speculative." | Real attackers optimize for abuse paths, not textbook categories. |
security-scan - inspect code-level vulnerabilities after the model identifies hot spotsagent-owasp-check - review agent-specific OWASP ASI riskssecurity-audit - broader workflow for OWASP plus STRIDE reviewWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub drvoss/everything-copilot-cli --plugin everything-copilot-cli115 skills in this plugin
/actions-debuggingUse when a GitHub Actions workflow fails — diagnose the run log, identify the root cause, and apply a targeted fix/add-to-changelogUse when you've shipped a feature, fix, or breaking change and need to update CHANGELOG.md — follows Keep a Changelog format and syncs version numbers across package manifests./agent-governanceUse when designing or reviewing an AI agent system that needs policy-based access controls, intent classification, tool-level rate limiting, trust scoring for multi-agent workflows, or append-only audit trails.
/agentic-engineeringUse when designing or decomposing a task for agent execution — applies 15-minute task units, eval-first loops, and explicit input/output contracts so agents work reliably without implicit state/agent-owasp-checkUse when auditing an AI agent system against the OWASP Agentic Security Initiative Top 10 — checks tool access, prompt boundaries, memory handling, and operational safeguards across the agent pipeline./agent-supply-chainUse when auditing an AI agent plugin, skill bundle, or MCP tool package for supply chain integrity — generate deterministic SHA-256 manifests, detect modified or untracked files, flag unpinned dependencies, and gate promotion to production.
Other plugins' skills for the same job