Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Threat Modeling Python Packages

Python packages with the GitHub topic threat-modeling. Sorted by monthly downloads, with stars and forks.
OWASP
pytm

A Pythonic framework for threat modeling

50K 1K 241
DustyStudy
ai-agent-security-toolkit

Fuzz, contain, validate and audit LLM agents: prompt-injection fuzzer, tool-call allowlist/sandbox with taint tracking, output validation + tamper-evident audit log, and a STRIDE-for-agents threat model generator.

7K 0 0
mrwadams
stride-gpt

An AI-powered threat modeling tool that leverages OpenAI's GPT models to generate threat models for a given application based on the STRIDE methodology.

3K 1K 344
theAstiv
paranoid-cli

Self-hosted, iterative STRIDE + MAESTRO threat modeling with LLMs and a deterministic fallback, plus a dependency capability engine for npm.

2K 9 3
ellipse2v
secopstm

OWASP Python framework for automated STRIDE threat modeling as code — MITRE ATT&CK mapping, D3FEND mitigations, Attack Flow, CAPEC, severity scoring, SVG/HTML reports & MITRE Navigator layers. DevSecOps & CI/CD ready.

1K 18 5
tmart234
tmtool

python tool for Microsoft Threat modeling tool

1K 8 1
twojlogin
awesome-core

Offline-first catalog of tools from GitHub awesome lists, ranked by independent-curator consensus (not by list stars). CLI / TUI / Web / MCP, also published on PyPI and listed in the official MCP Registry. Pure stdlib core, one dependency, 122 tests.

1K 0 0
kenwalger
sovereign-sdk-ledger

Local-first AI WAF, compliance gate, and cryptographic provenance engine for agentic workflows. Intercepts payloads, slashes token spend via Prose-Tax minimization, and mints tamper-evident audit chains on local silicon.

585 3 0
kenwalger
sovereign-sdk-edge

Middleware pipeline bridging sovereign-sensor raw intake and sovereign-ledger immutable storage via sovereign-sieve payload transformation

517 3 0
kenwalger
sovereign-sdk-airlock

Model-neutral outbound governance boundary for sovereign perimeter inspection, policy enforcement, and evidence generation

510 3 0
hyakuhei
attacktree

Build, analyize and render attack trees

459 11 2
ElikplimSunu
threatsketch

Microsoft TMT-style automatic threat generation for OWASP Threat Dragon models

449 3 2
elchacal801
countermap

Local-first, read-only cross-framework knowledge graph and MCP server for MITRE ATT&CK®, D3FEND, ATLAS and F3, with D3FEND CAD, Attack Flow, Navigator and Mermaid output.

413 4 0
HarperZ9
emet

Verifies file SHA-256 receipts offline (MATCH, DRIFT, UNVERIFIABLE) in Python, safe Rust (#![forbid(unsafe_code)]), Node.js, and Go (consolidated package maintained in HarperZ9/flywheel under packages/emet).

329 1 0
Repello-AI
repello-agent-wiz

A CLI tool for threat modeling and visualizing AI agents built using popular frameworks like LangGraph, AutoGen, CrewAI, and more.

313 397 62
bogdanticu88
threatmap

IaC threat modeler with STRIDE, MITRE ATT&CK, and PASTA frameworks. REST API, GraphQL, and Docker support for Terraform, CloudFormation, and Kubernetes.

306 63 8
AetherAI3
antiflock

Self-hosted counter-surveillance for the networks you control: map device and network exposure, verify trusted routes, and hold sensitive actions when the trusted path drops — every decision signed into a local audit log. Go + React, Apache-2.0. Pre-alpha, simulation-first.

207 24 0
hupe1980
tmac

Agile Threat Modeling as Code

193 1 1
samadhicsec
threatware

Simplifies the review and management of threat models in documents

193 13 0
chigwell
ai-risk-extractor

A new package designed to facilitate the extraction of structured insights from user prompts related to the domain of autonomous AI agents and their potential vulnerabilities. Given an input text desc

187 1 0
rohit-barui
cybersec-superpowers

Enterprise-grade cybersecurity orchestration platform — STRIDE threat modeling, OWASP secure coding, SAST, pentest plans, incident response playbooks, and SBOM supply-chain security as composable agent skills

160 1 0
parthivrawat
threat-modeling-py

Threat Modeling as Code - a declarative STRIDE threat-modeling library for Python

138 0 0
kenwalger
sovereign-sdk-core

Core schemas and protocols for Sovereign Systems

128 3 0
kenwalger
sovereign-sdk-sieve

Zero-dependency standalone Prose Tax token optimization utility for the Sovereign Systems SDK

119 3 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology