cognis-digital/threatmodeler
GitHub: cognis-digital/threatmodeler
从 YAML 系统规范自动生成 STRIDE 威胁模型和攻击树,支持 CI/CD 集成与 AI 代理驱动的安全分析工具。
Stars: 0 | Forks: 0
analyze + score] P --> OUT[report] ``` ## 从任何 AI stack 中使用 `threatmodeler` 可以与每种流行的 AI 使用方式实现互操作: - **MCP 服务器** — `threatmodeler mcp` (Claude Desktop, Cursor, Cognis.Studio, [uncensored-fleet](https://github.com/cognis-digital/uncensored-fleet)) - **兼容 OpenAI / JSON** — 将 `threatmodeler scan . --format json` 通过管道传递给任何代理或 LLM - **LangChain · CrewAI · AutoGen · LlamaIndex** — 用一行代码将 CLI/JSON 封装为工具 - **CI / 脚本** — 为非 AI pipeline 提供退出码 + SARIF ## 对比 | | **Cognis threatmodeler** | 典型工具 | |---|:---:|:---:| | 可自托管,无需账户 | ✅ | 视情况而定 | | 单一命令,零配置 | ✅ | ⚠️ | | 用于 CI 的 JSON + SARIF | ✅ | 视情况而定 | | MCP 原生 (AI 代理) | ✅ | ❌ | | 多语言移植 (JS/Go/Rust) | ✅ | ❌ | | 开放许可 | ✅ COCL | 视情况而定 | ## 集成 接入您的技术栈:用于代码扫描的 **SARIF**,用于任何场景的 **JSON**,用于 AI 代理的 **MCP 服务器** (`threatmodeler mcp`),以及用于 SIEM/Slack/Jira 的 webhook 转发器。请参见 [`docs/INTEGRATIONS.md`](docs/INTEGRATIONS.md)。 ## 安装 — 各种方式,各个平台 ``` pip install "git+https://github.com/cognis-digital/threatmodeler.git" # pip (works today) pipx install "git+https://github.com/cognis-digital/threatmodeler.git" # isolated CLI uv tool install "git+https://github.com/cognis-digital/threatmodeler.git" # uv pip install cognis-threatmodeler # PyPI (when published) docker run --rm ghcr.io/cognis-digital/threatmodeler:latest --help # Docker brew install cognis-digital/tap/threatmodeler # Homebrew tap curl -fsSL https://raw.githubusercontent.com/cognis-digital/threatmodeler/main/install.sh | sh ``` | Linux | macOS | Windows | Docker | 云平台 | |---|---|---|---|---| | `scripts/setup-linux.sh` | `scripts/setup-macos.sh` | `scripts/setup-windows.ps1` | `docker run ghcr.io/cognis-digital/threatmodeler` | [DEPLOY.md](docs/DEPLOY.md) (AWS/Azure/GCP/k8s) | ## 相关 Cognis 工具 **探索套件 →** [🗂️ 所有 170+ 工具](https://github.com/cognis-digital/cognis-neural-suite) · [⭐ awesome-cognis](https://github.com/cognis-digital/awesome-cognis) · [🔗 cognis-sources](https://github.com/cognis-digital/cognis-sources) · [🤖 uncensored-fleet](https://github.com/cognis-digital/uncensored-fleet) · [🧠 engram](https://github.com/cognis-digital/engram) ## 互操作性 `{}` 与 300+ 工具的 Cognis 套件组合使用 — JSON 输入/输出以及共享的 兼容 OpenAI 的 `/v1` 主干。请参见 **[INTEROP.md](INTEROP.md)** 了解 套件图谱、组合模式和参考技术栈。 ## 许可证 在 **Cognis Open Collaboration License (COCL) v1.0** 下提供源代码 — 可免费用于个人、内部评估、研究和教育用途;**商业 / 生产用途需要许可证** (licensing@cognis.digital)。请参见 [LICENSE](LICENSE)。
Cognis Digital · Cognis Neural Suite 中 170+ 工具之一 · 让明天在今天更美好
标签:DevSecOps, STRIDE, 上游代理, 可视化界面, 威胁建模, 攻击树, 数据可视化, 日志审计, 自动化分析, 请求拦截, 跨站脚本, 逆向工具