Install
$ agentstack add skill-willvelida-code-minions-threat-modelling ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Threat Modelling
Overview
This skill produces threat model documents by analysing codebases, infrastructure-as-code, and live cloud resources. It follows the STRIDE framework and the Microsoft Threat Modeling Fundamentals four-phase approach: Design, Break, Fix (recommendations only), and Verify.
This skill produces threat models. It does NOT implement fixes or perform penetration testing.
Capabilities
| Capability | Action | Description | |------------|--------|-------------| | Analyse Repository | actions/analyse-repository.md | Scan codebase and IaC to map architecture and confirm a data flow diagram | | Assess Infrastructure | actions/assess-infrastructure.md | Query live cloud resources via MCP servers to map architecture and confirm a data flow diagram | | Generate Threat Model | actions/generate-threat-model.md | Apply STRIDE to a confirmed diagram, produce threat model diagram and document | | Review Threat Model | actions/review-threat-model.md | Evaluate an existing threat model for completeness and accuracy | | Update Threat Model | actions/update-threat-model.md | Revise an existing threat model based on system changes |
Standards
| Standard | File | Description | |----------|------|-------------| | STRIDE Framework | standards/stride-framework.md | STRIDE threat categories and identification guidance | | Document Template | standards/document-template.md | Threat model document structure and Mermaid diagram format | | Checklist | standards/checklist.md | Consolidated compliance and quality checklist |
Principles
1. Analyse, Never Fix
This skill identifies and documents threats. It recommends mitigations but never implements fixes itself. The output is a document, not a code change.
2. Confirm Before Proceeding
Always confirm the architecture diagram with the user before identifying threats. After threat identification, work with the user to prioritise, resolve, or remove items from the model.
3. Follow STRIDE Systematically
Apply all six STRIDE categories to every component and data flow. Do not skip categories — document "No threats identified" where appropriate rather than omitting the analysis.
4. Cloud-Agnostic
When assessing deployed infrastructure, detect available MCP servers or ask the user which cloud provider to query. Do not assume a specific cloud platform.
5. Prioritise by Risk
All identified threats must be prioritised. Use a consistent risk-rating approach combining likelihood and impact so the user can focus on what matters most.
Scope Boundaries
| In Scope | Out of Scope | |----------|-------------| | Repository and IaC analysis | Implementing security fixes | | Live cloud infrastructure assessment via MCP | Penetration testing | | STRIDE-based threat identification | Security patching | | Architecture diagrams (Mermaid) | Code vulnerability scanning | | Threat prioritisation with user | Automated remediation | | Mitigation recommendations | Compliance auditing | | Reviewing existing threat models | | | Updating existing threat models | |
Usage
- Load this skill manifest
- Identify the required capability (analyse, assess, review, or update)
- Load the bundled standards from
standards/ - Execute the action following
actions/.md
References
- Microsoft Threat Modeling Fundamentals
- STRIDE Framework
- Threat Modeling Phases
- Data-Flow Diagram Elements
- Prioritise Issues and Apply Security Controls
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: willvelida
- Source: willvelida/code-minions
- License: Apache-2.0
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.