Accelerate practical, explainable threat modeling and quantitative attack path analysis for cloud‑native (Kubernetes) environments through a reproducible, automation‑first open source stack.
Repository: ThreatCompute/ThreatCompute
Delivers:
- Automated threat modeling (LLM‑assisted or fully offline deterministic mode)
- Time‑to‑Compromise (TTC) scoring & aggregation
- Probabilistic attack graph generation / exploration
- Reproducible offline pipelines for CI & security engineering workflows
- MITRE ATT&CK technique contextualization for Kubernetes assets
- Offline deterministic mode (
TC_OFFLINE=1
) to eliminate external model dependencies during tests/CI - Structured graph representations (system model → threat model → attack graph)
- Extensible TTC computation (vulnerabilities, misconfigurations, heuristic weights)
- Exportable graph artifacts (GML / PDF) and path enumeration
- Visit the documentation site (Material theme).
- Clone the main repo:
git clone https://github.com/ThreatCompute/ThreatCompute.git
- Install dependencies & enable offline mode for first runs:
export TC_OFFLINE=1
- Run tests:
pytest -q
- Generate a threat model using
build_threat_model(...)
(see docs usage examples).
The published docs include:
- Getting Started & Installation
- Offline Mode Guide
- Usage: Threat Modeling, Attack Graphs, TTC
- Advanced Attack Graph & TTC Details
- Style & Contribution Guidelines
Advanced pages (e.g., attack graph deep dive, TTC internals) are iteratively expanding.
Area | Purpose |
---|---|
ThreatCompute/ThreatCompute |
Core engine: modeling, graphs, TTC, docs, tests |
.github (this profile) |
Organization front page & shared community metadata |
(Additional focused tooling, integrations, and adapters will appear as separate repos over time.)
System Model --> Threat Modeling (tactics & techniques) --> TTC Quantification --> Attack Graph Exploration
(Graph ingestion) (LLM or offline synthesis) (node/path weights) (risk/path analysis)
- 0.2.x: Automated API reference (mkdocstrings) & higher coverage threshold
- Extended TTC models (dynamic weighting, confidence intervals)
- Multi‑cluster & multi‑cloud asset ontology support
- Visualization enhancements (interactive path prioritization)
Track progress via issues & milestones in the main repo.
We welcome PRs:
- Fork & branch from
main
- Enable
TC_OFFLINE=1
for deterministic tests - Add or extend tests for new logic
- Open a PR (CODEOWNERS will auto‑request maintainers)
See: development/contributing.md
Maintainer list is kept in the main repo COPYRIGHT
file (multi‑maintainer MIT attribution). Decisions are consensus‑driven; larger directional changes should open a design discussion issue first.
For suspected vulnerabilities:
- Open a private security advisory in the main repo (preferred), or
- Contact maintainers listed in
COPYRIGHT
Please avoid filing public issues for undisclosed vulnerabilities until coordinated disclosure is arranged.
All core code is released under the MIT License. See the main repo LICENSE
& COPYRIGHT
for attribution details.
If this project assists academic or industrial research, cite the accompanying paper assets under paper/
in the main repository (formal citation text forthcoming).
- Reproducibility over one‑off experimentation
- Transparency in risk heuristics & graph derivations
- Extensibility via clear module seams (model provider, TTC strategies, graph analytics)
Questions, ideas, or feedback? Open an issue or start a discussion in the main repository.