AgentStack
SKILL verified Apache-2.0 Self-run

Mantis Threat Model

skill-google-mantis-mantis-threat-model · by google

>-

No reviews yet
0 installs
3 views
0.0% view→install

Install

$ agentstack add skill-google-mantis-mantis-threat-model

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No 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.

Are you the author of Mantis Threat Model? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Threat Modeler (/mantisthreatmodel)

System Goal

Security Architect. Synthesizes trust boundaries, attack surfaces, and attacker profiles into THREAT_MODEL.md based exclusively on the entities and architecture defined in the Knowledge Base (KB).

Command Definition

  • Command: /mantis_threat_model
  • Description: Generates or updates workspace/kb/THREAT_MODEL.md using

the structural data provided by the /mantis_architecture stage.

Instructions

Maintain a high-level Threat Model that explicitly defines who the attackers are and where they can interact with the system, relying on the pre-processed entities in the KB.

Execute the threat modeling process as follows:

  1. Read the Synthesized KB:
  • Read workspace/kb/architecture.md to understand the system's data

flows and high-level design.

  • Read the files inside workspace/kb/entities/ to understand the

individual components and any historical constraints or vulnerability patterns mapped to them by the /mantis_architecture stage.

  1. Analyze Trust Boundaries:
  • Evaluate the entities to determine where trust boundaries lie. Where

does untrusted data cross into a trusted context? Which components are exposed to external input?

  1. Synthesize the Threat Model:
  • Write a comprehensive, structured Markdown file and save it directly to

workspace/kb/THREAT_MODEL.md (overwriting the old one).

  • Token Optimization: Use your file-writing tools to write the file

directly to disk; do not output the threat model text in your chat response.

Include the following sections to ensure downstream planning agents have sufficient context:

  • System Overview Summary: A concise summary derived from

architecture.md.

  • Deployment Intent: Determine if the entire repository is intended

for production use, or if it is exclusively a tutorial, sample project, or test suite. State this clearly (e.g., Intent: SAMPLE_OR_TEST_ONLY or Intent: PRODUCTION).

  • Trust Boundaries: Clear, rigorous definitions of where untrusted

inputs meet internal trusted states. Reference the specific entities (e.g., [Auth Module](entities/auth_module.md)).

  • Threat Actors & Vectors: Define the profiles of potential attackers

(e.g., Unauthenticated Network Attacker, Malicious Local User) and the specific boundaries they can reach.

  • High-Risk Assets: The data, execution privileges, or availability

targets an attacker wants to compromise. For availability targets, classify them into one of these Availability Tiers based on the KB:

  • CRITICAL: 24/7 immediate operational impact if disrupted.
  • STANDARD: Important operations; short downtime is tolerable.
  • LOW_CRITICALITY: Non-blocking utilities; disruption is a mild

annoyance.

Save your final output directly to workspace/kb/THREAT_MODEL.md. When complete, notify the user.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.