mantis-threat-model

Synthesize trust boundaries, attack surfaces, and attacker profiles into structured threat models.

731|84|Updated Jun 15, 2026
One-click install
npx skills add https://github.com/google/mantis --skill mantis-threat-model
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mantis-threat-model
Source: https://github.com/google/mantis/tree/main/mantis-threat-model
Command: npx skills add https://github.com/google/mantis --skill mantis-threat-model

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates the creation of living threat models by synthesizing architectural definitions and entity data, ensuring security assessments remain consistent and up-to-date with the system's evolution.

Core Features & Use Cases

  • Automated Synthesis: Generates structured threat models directly from existing Knowledge Base architecture and entity files.
  • Provenance Tracking: Uses snapshot-based versioning to ensure threat models are always synchronized with the specific state of the codebase.
  • Use Case: Use this skill during a security review to automatically identify trust boundaries and potential attack vectors based on the latest system architecture documentation.

Quick Start

Run the mantis-threat-model command to generate a comprehensive threat model based on the current knowledge base state.

Frequently Asked Questions about mantis-threat-model

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate threat modeling for my system architecture?

Automated threat modeling is achieved by synthesizing trust boundaries, attack surfaces, and attacker profiles from your architecture definitions. This skill generates structured threat models directly from existing knowledge base files to keep security assessments version-controlled.

What is architecture-aware threat modeling and how does it work?

Architecture-aware threat modeling analyzes system components by mapping trust boundaries and attack surfaces against defined attacker profiles. It works by reading pre-populated architectural knowledge bases to synthesize potential attack vectors specific to your system's design.

Do I need a pre-populated workspace to generate a threat model?

Yes, you need a pre-populated workspace containing architecture.md and entity definitions to generate a threat model. The tool requires these existing knowledge base files to correctly synthesize trust boundaries and attack surfaces.

How do I keep threat models synchronized with codebase changes?

Threat models are kept synchronized using snapshot-based provenance tracking. This ensures the generated security assessments are tied to a specific version-controlled state of your architectural knowledge base.

What's the best way to identify trust boundaries during a security review?

Identifying trust boundaries during a security review is best handled by automatically synthesizing them from your architecture documentation. This approach ensures consistent detection of potential attack vectors based on the latest system design.