Pytm · AgentSecOps/SecOpsAgentKit

Build STRIDE threat models as Python code with pytm

Uses the pytm Python library to define system architecture as code, automatically generate data-flow diagrams, and identify STRIDE threats across trust boundaries, useful for security engineers adding threat modeling to CI/CD pipelines.

Good for

  • Generate a data-flow diagram with automatic STRIDE threats
  • Write a threat model as version-controlled Python code
  • Produce a threat report with mitigations for a system design
Category
Coding

Open-source skills are maintained by their authors and listed as published, with attribution. Results depend on how well the skill fits your task and material.

A good place to start

Write a pytm threat model in Python for this web app's architecture, including a data-flow diagram and STRIDE threats.

Make your next great thing.

Bring a question, a file, or an idea that’s not quite there yet.