{"adoption": {"forks": 228, "observed_at": "2026-08-28T04:03:48.025654+00:00", "stars": 1156}, "canonical_url": "https://ross.abutalabs.com/products/pytm", "card": {"archived": false, "artifact_type": "framework", "description": "A Pythonic framework for threat modeling", "domain": ["security", "developer-tools"], "enriched": true, "function": ["security", "developer-tools", "documentation", "cli"], "health_score": 99, "homepage": null, "language": "Python", "license": "NOASSERTION", "license_family": "other", "maturity": "active", "member_repos": ["OWASP/pytm"], "name": "OWASP/pytm", "platform": ["python", "cli"], "pushed_at": "2026-08-19T13:30:24+00:00", "repo": "OWASP/pytm", "stars": 1156, "tags": ["threat-modeling", "data-flow-diagram", "sequence-diagram", "owasp", "shift-left-security", "secure-development", "automation", "linux", "macos"], "topics": ["data-flow-diagram", "sequence-diagram", "dfd", "pythonic-framework", "threats", "threat-modeling", "threat-modeling-from-code", "secure-development", "diagram", "dataflow"], "urls": [], "use_cases": ["automate threat modeling for my system architecture", "generate a data flow diagram from code", "find threats in my design before implementation", "shift security threat modeling left in the SDLC", "generate sequence diagrams for my architecture", "do threat modeling as part of CI"], "what_it_is": "pytm is a Pythonic framework from OWASP for threat modeling systems as code. Developers define their architecture in Python and it automatically generates data flow diagrams, sequence diagrams, and relevant threats.", "when_to_avoid": ["you need a GUI-based visual threat modeling tool", "you work on Windows natively without WSL", "you cannot install Java, Graphviz, and PlantUML dependencies"], "when_to_choose": ["you want developer-centric, code-based threat modeling instead of manual diagrams", "you need automated DFD, sequence diagram, and threat report generation", "you want to integrate threat modeling into CI/CD pipelines"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/pytm", "repo": "OWASP/pytm", "role": "main", "score": 85}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.025654+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:32:06.121270+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "89a85c7a72dde23d94db94de7029b61979b2e1ad333ee9c14a20470ab31bc5e4", "fetched_at": "2026-08-28T04:03:48.025654+00:00", "kind": "readme", "missing": false, "url": "https://github.com/OWASP/pytm"}, {"content_hash": "fc0e8a7e22825e2b4558873062f48035deea9d8d6ff2578b88dc6e8bed147131", "fetched_at": "2026-08-29T12:37:07.028238+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pytm/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.025654+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:32:06.121270+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "89a85c7a72dde23d94db94de7029b61979b2e1ad333ee9c14a20470ab31bc5e4", "fetched_at": "2026-08-28T04:03:48.025654+00:00", "kind": "readme", "missing": false, "url": "https://github.com/OWASP/pytm"}, {"content_hash": "fc0e8a7e22825e2b4558873062f48035deea9d8d6ff2578b88dc6e8bed147131", "fetched_at": "2026-08-29T12:37:07.028238+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pytm/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:32:06.121270+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "89a85c7a72dde23d94db94de7029b61979b2e1ad333ee9c14a20470ab31bc5e4", "fetched_at": "2026-08-28T04:03:48.025654+00:00", "kind": "readme", "missing": false, "url": "https://github.com/OWASP/pytm"}, {"content_hash": "fc0e8a7e22825e2b4558873062f48035deea9d8d6ff2578b88dc6e8bed147131", "fetched_at": "2026-08-29T12:37:07.028238+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pytm/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.025654+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.025654+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.025654+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:32:06.121270+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "89a85c7a72dde23d94db94de7029b61979b2e1ad333ee9c14a20470ab31bc5e4", "fetched_at": "2026-08-28T04:03:48.025654+00:00", "kind": "readme", "missing": false, "url": "https://github.com/OWASP/pytm"}, {"content_hash": "fc0e8a7e22825e2b4558873062f48035deea9d8d6ff2578b88dc6e8bed147131", "fetched_at": "2026-08-29T12:37:07.028238+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pytm/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.025654+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.025654+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:32:06.121270+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "89a85c7a72dde23d94db94de7029b61979b2e1ad333ee9c14a20470ab31bc5e4", "fetched_at": "2026-08-28T04:03:48.025654+00:00", "kind": "readme", "missing": false, "url": "https://github.com/OWASP/pytm"}, {"content_hash": "fc0e8a7e22825e2b4558873062f48035deea9d8d6ff2578b88dc6e8bed147131", "fetched_at": "2026-08-29T12:37:07.028238+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pytm/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.025654+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.025654+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.025654+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:32:06.121270+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "89a85c7a72dde23d94db94de7029b61979b2e1ad333ee9c14a20470ab31bc5e4", "fetched_at": "2026-08-28T04:03:48.025654+00:00", "kind": "readme", "missing": false, "url": "https://github.com/OWASP/pytm"}, {"content_hash": "fc0e8a7e22825e2b4558873062f48035deea9d8d6ff2578b88dc6e8bed147131", "fetched_at": "2026-08-29T12:37:07.028238+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pytm/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.025654+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:48.025654+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:32:06.121270+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "89a85c7a72dde23d94db94de7029b61979b2e1ad333ee9c14a20470ab31bc5e4", "fetched_at": "2026-08-28T04:03:48.025654+00:00", "kind": "readme", "missing": false, "url": "https://github.com/OWASP/pytm"}, {"content_hash": "fc0e8a7e22825e2b4558873062f48035deea9d8d6ff2578b88dc6e8bed147131", "fetched_at": "2026-08-29T12:37:07.028238+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pytm/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:32:06.121270+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "89a85c7a72dde23d94db94de7029b61979b2e1ad333ee9c14a20470ab31bc5e4", "fetched_at": "2026-08-28T04:03:48.025654+00:00", "kind": "readme", "missing": false, "url": "https://github.com/OWASP/pytm"}, {"content_hash": "fc0e8a7e22825e2b4558873062f48035deea9d8d6ff2578b88dc6e8bed147131", "fetched_at": "2026-08-29T12:37:07.028238+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pytm/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:32:06.121270+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "89a85c7a72dde23d94db94de7029b61979b2e1ad333ee9c14a20470ab31bc5e4", "fetched_at": "2026-08-28T04:03:48.025654+00:00", "kind": "readme", "missing": false, "url": "https://github.com/OWASP/pytm"}, {"content_hash": "fc0e8a7e22825e2b4558873062f48035deea9d8d6ff2578b88dc6e8bed147131", "fetched_at": "2026-08-29T12:37:07.028238+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pytm/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:32:06.121270+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "89a85c7a72dde23d94db94de7029b61979b2e1ad333ee9c14a20470ab31bc5e4", "fetched_at": "2026-08-28T04:03:48.025654+00:00", "kind": "readme", "missing": false, "url": "https://github.com/OWASP/pytm"}, {"content_hash": "fc0e8a7e22825e2b4558873062f48035deea9d8d6ff2578b88dc6e8bed147131", "fetched_at": "2026-08-29T12:37:07.028238+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pytm/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 98, "longevity": 100, "rhythm": 60}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3033, "days_push": 14, "days_rel": 58, "gap_med": null, "n_releases_24m": 1}, "score": 85, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}