---
title: "AI 威胁建模：STRIDE 表与攻击树"
description: "用 AI 做威胁建模：用文本描述系统，得到每个组件的 STRIDE 表、攻击树和授权范围内的测试用例，作为评审会的初稿。"
canonical: https://pentestllm.ai/zh/threat-modeling-ai
generated: 2026-12-03T14:37:12.824Z
source: https://pentestllm.ai/zh/threat-modeling-ai
base_url: https://api.pentestllm.ai/v1
---

授权渗透测试 · 红队 · 漏洞赏金 · CTF

# 用 AI 把系统描述变成 STRIDE 表

用纯文本描述系统，模型给出每个组件的 STRIDE 威胁表、每个值得保护的目标的攻击树，以及在约定范围内可执行的测试用例。输出是评审会议的初稿，里面的决定仍然由团队做。

- 安全调优模型: 16
- 输入价低至: $0.40/百万 token
- 预付费起充: $3

[获取密钥](https://app.pentestllm.ai/console?next=%2Fconsole%2Fkeys&lang=zh-Hans) [查看价格](https://pentestllm.ai/zh/pricing)

仅限授权测试：你自己的系统，或已拿到书面授权的目标。

## 威胁建模的四个问题

OWASP 的威胁建模速查表把它归结为四个问题：我们在做什么？可能出什么问题？我们打算怎么办？我们做得够不够好？模型最擅长第二个问题的初稿，其余三个需要团队自己回答。

## 把系统写成这个形状

模型最擅长处理数据流图里的那些元素：外部实体、处理过程、数据存储、数据流和信任边界。有图就照着转成文字；没有图，把这几类元素填出来本身就完成了一半的工作。描述里不要放凭据和客户邮箱。

## 规范的 STRIDE 表条目长什么样

- 每行有编号、组件、类别、威胁、被破坏的安全属性、现有控制、处置（缓解、消除、转移或接受）和测试用例
- 只写类别不写具体组件和数据流的条目，要打回去重写
- 仿冒对应认证，篡改对应完整性，抵赖对应可追溯，信息泄露对应机密性
- 攻击树的每个叶节点都要对应一条 STRIDE 记录，或补充为新条目

## 发请求

把系统提示词和填好的描述存成 JSON 请求体，用 curl 发到 `https://api.pentestllm.ai/v1/chat/completions`，模型 id 用 `auto/security`。描述里如果难免带上敏感信息，先在本地替换成占位符。

## 今天可调用的安全模型，按输入价从低到高 · 2026-12-03

| 模型 | 版本 | 输入 $/百万 | 输出 $/百万 | 上下文 | 接口格式 |
| --- | --- | --- | --- | --- | --- |
| [Qwen3.8 27B Cybersecurity](https://pentestllm.ai/zh/models/qwen3.8-27b-cybersecurity) qwen3.8-27b-cybersecurity | 安全 | $0.40 | $2.40 | 262K | openai |
| [Uncensored Qwen3.8 27b Cybersecurity](https://pentestllm.ai/zh/models/qwen3.8-27b-cybersecurity-uncensored) qwen3.8-27b-cybersecurity-uncensored | 安全 | $0.40 | $2.40 | 262K | openai |
| [Gemma 4 26B A4B Cybersecurity](https://pentestllm.ai/zh/models/gemma-4-26b-a4b-it-cybersecurity) gemma-4-26b-a4b-it-cybersecurity | 安全 | $0.4224 | $1.3376 | 262K | openai |
| [Gemma 4 26B A4B Cybersecurity (Uncensored)](https://pentestllm.ai/zh/models/gemma-4-26b-a4b-it-cybersecurity-uncensored) gemma-4-26b-a4b-it-cybersecurity-uncensored | 安全 | $0.48 | $1.52 | 262K | openai |
| [GLM-5.3 Flash Cybersecurity](https://pentestllm.ai/zh/models/glm-5.3-flash-cybersecurity) glm-5.3-flash-cybersecurity | 安全 | $0.525 | $1.75 | 1049K | openai |
| [GLM-5.3 Flash Cybersecurity (Uncensored)](https://pentestllm.ai/zh/models/glm-5.3-flash-cybersecurity-uncensored) glm-5.3-flash-cybersecurity-uncensored | 安全 | $0.525 | $1.75 | 1049K | openai |
| [Red Team (Flash)](https://pentestllm.ai/zh/models/red-team-flash) red-team-flash | 安全 | $0.90 | $3.00 | 1000K | openai |
| [Red Team (Pro)](https://pentestllm.ai/zh/models/red-team-pro) red-team-pro | 安全 | $1.455 | $5.82 | – | openai |
| [OrcaCyber MiniMax M3.1 Flash](https://pentestllm.ai/zh/models/minimax-m3.1-flash-cybersecurity) minimax-m3.1-flash-cybersecurity | 安全 | $2.00 | $4.00 | 262K | openai |
| [OrcaCyber MiniMax M3.1 Flash (Uncensored)](https://pentestllm.ai/zh/models/minimax-m3.1-flash-cybersecurity-uncensored) minimax-m3.1-flash-cybersecurity-uncensored | 安全 | $2.00 | $4.00 | 262K | openai |
| [OrcaCyber Qwen3.8 Flash Next (Uncensored)](https://pentestllm.ai/zh/models/orcacyber-qwen3.8-flash-next-uncensored) orcacyber-qwen3.8-flash-next-uncensored | 安全 | $2.00 | $4.00 | 262K | openai |
| [OrcaCyber Qwen3.8 Flash Next](https://pentestllm.ai/zh/models/qwen3.8-flash-next-cybersecurity) qwen3.8-flash-next-cybersecurity | 安全 | $2.00 | $4.00 | 262K | openai |
| [Uncensored Qwen3.8 Flash Next Cybersecurity](https://pentestllm.ai/zh/models/qwen3.8-flash-next-cybersecurity-uncensored) qwen3.8-flash-next-cybersecurity-uncensored | 安全 | $2.00 | $4.00 | 262K | openai |
| [Cyber Frontier](https://pentestllm.ai/zh/models/cyber-frontier) cyber-frontier | 安全 | $5.25 | $15.75 | 1049K | openai |
| [OrcaCyber Zero 1.5](https://pentestllm.ai/zh/models/orca-zero-1.5-cybersecurity) orca-zero-1.5-cybersecurity | 安全 | $7.50 | $18.75 | 999K | openai |
| [OrcaCyber Zero 1.5 (Uncensored)](https://pentestllm.ai/zh/models/orca-zero-1.5-cybersecurity-uncensored) orca-zero-1.5-cybersecurity-uncensored | 安全 | $7.50 | $18.75 | 999K | openai |

## 常见问题

### AI 能独立完成 STRIDE 威胁建模吗？

能出一份不错的初稿，但威胁的取舍和处置决定必须由团队在评审会上做。

### 描述里应该去掉什么？

凭据、密钥、客户邮箱和个人信息，用占位符代替。

### STRIDE 和攻击树选哪个？

两个都要：STRIDE 保证覆盖面，攻击树针对高价值目标和多步攻击。

### 威胁建模模型算进攻工具吗？

不算。它产出的是防御方的评审材料和授权范围内的测试计划。

## 更多安全场景

[**红队大模型**给网络安全工作用的无审查模型：安全调优版本和通用无审查版本，一个密钥。](https://pentestllm.ai/zh/red-teaming) [**AI 写渗透测试报告**把核实过的笔记和证据交给模型，拿回漏洞描述、影响、修复建议和摘要的初稿。](https://pentestllm.ai/zh/pentest-report-writing) [**AI 侦察自动化**对授权范围内已跑完的扫描结果去重、排序，标出先验证什么。](https://pentestllm.ai/zh/recon-automation) [**AI 漏洞挖掘与研究**审代码找漏洞类型、读补丁、给崩溃分类、起草安全公告。](https://pentestllm.ai/zh/vulnerability-research) [**渗透测试无审查模型**拒答被削弱的模型怎么来的，渗透测试时怎么选，哪些事它依然不该做。](https://pentestllm.ai/zh/uncensored-llm-for-pentesting) [**AI 辅助 OSCP 备考**把模型当备考导师：讲概念、分级提示、复盘笔记。考试期间禁用。](https://pentestllm.ai/zh/oscp-study-with-ai)

[PentestLLM 是什么](https://pentestllm.ai/zh/what-is-pentestllm) [安全研究用大模型 API](https://pentestllm.ai/zh/uncensored-llm-api-for-security-research) [无审查大模型 API](https://pentestllm.ai/zh/uncensored-llm-api) [无审查编程 AI](https://pentestllm.ai/zh/uncensored-coding-ai) [PentestGPT 替代方案](https://pentestllm.ai/zh/pentestgpt-alternative) [WhiteRabbitNeo 替代方案](https://pentestllm.ai/zh/whiterabbitneo-alternative) [安全拒答率基准](https://pentestllm.ai/zh/security-refusal-benchmark) [红队演练 AI](https://pentestllm.ai/zh/red-team) [漏洞赏金 AI](https://pentestllm.ai/zh/bug-bounty) [CTF 用哪个大模型](https://pentestllm.ai/zh/best-llm-for-ctf) [AI 安全日志研判](https://pentestllm.ai/zh/security-log-triage-ai) [漏洞扫描报告复核](https://pentestllm.ai/zh/vulnerability-scan-report-review) [AI 写管理层摘要](https://pentestllm.ai/zh/pentest-executive-summary-ai) [XBOW 替代方案](https://pentestllm.ai/zh/xbow-alternative) [Strix 替代方案](https://pentestllm.ai/zh/strix-alternative)

## 更多页面

[首页](https://pentestllm.ai/zh) [价格](https://pentestllm.ai/zh/pricing) [模型](https://pentestllm.ai/zh/models) [无审查模型](https://pentestllm.ai/zh/uncensored) [Abliterated 模型](https://pentestllm.ai/zh/abliterated) [Playground](https://pentestllm.ai/zh/playground) [图片与视频](https://pentestllm.ai/zh/media)

### 充值 $3 起，今天就接进你的工具。

登录控制台，充值，把 base URL 和密钥填进你的智能体或脚本。没有订阅，余额不过期。

[获取密钥](https://app.pentestllm.ai/console?next=%2Fconsole%2Fkeys&lang=zh-Hans)
