Find your next open-source project

Search by name, purpose, or keyword, or paste a GitHub URL. Start with / to search agent skills (e.g. /pdf)
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.