All skills
mantis-threat-model
Write a THREAT_MODEL.md covering trust boundaries, attack surfaces, and attacker profiles from the knowledge base.
- Part of google/mantis
- 2k installs
- Security & Privacy · Security auditing
When to use it
You already have architecture.md and entity files in the knowledge base and need the threat model that downstream planning depends on.
For example
You say
Run /mantis-threat-model on my workspace; the KB has architecture.md and entities for a web API with an auth service and a database.
You get
- workspace/kb/THREAT_MODEL.md
- KB_SNAPSHOT provenance line
- Deployment Intent verdict
How it works
- Archives the previous threat model per pass before overwriting it.
- Marks the model STALE when the snapshot is unchanged, instead of re-deriving.
- Only labels the system SAMPLE_OR_TEST_ONLY if all five production-signal checks pass.
Before installing
The knowledge base files (architecture.md and entities/*.md) must already exist and be populated.
More Security auditing skills
See all- security-audit143kReviews your codebase, APIs or tools for vulnerabilities and produces a verified security audit report.
- fix-security-vulnerabilities-with-strix23.1kTriages pentest findings by severity, patches the root cause, and re-runs the scan to prove each fix works.
- find-security-vulnerabilities-in-code20.2kReads your source code, traces data flow and authorization, then exploits findings in a sandbox to confirm them.
- attack-tree-construction19.4kBuilds attack trees that map threat paths and expose gaps in your defenses.
Also in this pack
- mantis-architecture1.7kBuilds and updates a Markdown knowledge base describing your codebase architecture and known vulnerabilities.
- mantis-critic1.7kFilters out findings that only trigger in debug builds so only production-reachable bugs remain.
- mantis-dedupe1.7kMerges duplicate raw security findings into consolidated reports.
- mantis-plan1.7kDrafts a targeted security review plan and roadmap from the threat model and past learnings.