Security 安全
1. 介绍
1.1 背景
安全是风险合规组中双向作战的方向:它既是 AI 的使用方(用 AI 做威胁检测、漏洞挖掘、应急响应),又是 AI 系统自身的保卫方(模型、智能体与数据管道本身已成为高价值攻击目标)。中国在法律层面为"用 AI 做安全"提供了直接依据——《中华人民共和国网络安全法》修改决定(主席令第六十一号)新增的第二十条第二款明确:"国家支持创新网络安全管理方式,运用人工智能等新技术,提升网络安全保护水平"(2026-01-01 施行)。
与此同时,攻击面随 AI 而扩张。OWASP《Top 10 for LLM Applications》(2025 版)新增了 5 个条目——过度授权(LLM06)、系统提示泄露(LLM07)、向量与嵌入弱点(LLM08)、错误信息(LLM09)以及扩展后的无限制消耗(LLM10)——直接反映 RAG 普及与 Agent 自主化带来的新型攻击面。IBM《Cost of a Data Breach Report 2025》则从攻防两侧给出量化证据:13% 的组织报告其 AI 模型或应用遭到泄露,而被攻陷组织中97% 未部署 AI 访问控制;同时,广泛采用安全 AI 与自动化的组织平均节省 190 万美元泄露成本、缩短 80 天泄露生命周期。
安全方向的 AI Harness 因此要同时回答两个问题:一是如何把 AI 的概率性输出转化为可执行的确定性安全动作;二是如何治理 AI 系统自身使其不成为最薄弱的一环。这两个问题的答案在 2025 年被同一个实践收敛——DARPA AI Cyber Challenge(AIxCC)证明了"LLM 编排经典确定性工具、漏洞以可复现 PoV 确认"的架构可以在百万行级真实代码上规模化工作。
1.2 定义
Security 安全方向的 AI Harness,是指承载威胁检测、安全运营中心(SOC)告警分诊、渗透测试、漏洞挖掘与验证、应急响应、应用安全(AppSec)等任务的工程化运行层。其核心职责是确保每一个安全判定(告警为真、漏洞可利用、遏制动作必要)都能落到可复现的证据上,且每一个破坏性动作都发生在预授权与沙箱边界内。
本方向覆盖五类任务:
| 任务类别 | 典型任务 | 输出形态 |
|---|---|---|
| 威胁检测 | 日志异常检测、内部威胁识别、钓鱼与深伪识别 | 告警与候选事件,非处置决定 |
| SOC 运营 | 告警分诊、事件关联、调查初排、响应剧本(playbook)编排 | 分诊结论与调查时间线 |
| 渗透测试与漏洞挖掘 | 攻击面梳理、漏洞假设生成、fuzzing 与符号执行编排 | 漏洞报告与 PoV,非未授权攻击 |
| 应急响应 | 取证初排、遏制方案生成、复盘报告 | 遏制建议草稿;执行需授权 |
| 应用安全 | SAST/DAST 结果分诊、AI 代码审计、依赖与供应链分析 | 缺陷清单与修复建议,PoV 驱动 |
关键界定:安全是本组唯一允许智能体在限定范围内执行破坏性动作(隔离主机、封禁 IP、断网)的方向,但该授权必须同时满足三个前置条件——隔离沙箱环境、动作预演(dry-run)、预授权清单。除此之外,安全方向与组内其他方向共享同一条判定规则:判定权不交给概率。
1.3 在 AI Harness 体系中的定位
图 1-1|安全方向 AI Harness 六层定位(L1–L6 · L2 瓶颈层)
数据来源:基于本文分析绘制的示意图。
| 层 | 安全方向的承载内容 | 关键工程要求 |
|---|---|---|
| L1 上下文工程 | 威胁情报、资产台账、历史工单、攻击面地图 | 情报必须带时效与置信来源;资产台账是判定"影响面"的基础 |
| L2 工具与执行 | SIEM/SOAR、EDR、SAST/DAST、fuzzing 与符号执行、沙箱 | 本方向的瓶颈层:沙箱 + 最小权限 + dry-run + 动作白名单 |
| L3 编排与控制 | AIxCC 范式:LLM 编排经典分析工具,PoV 可复现确认 | 假设可猜错;判定不可猜——编排层学会"何时调用哪个工具、何时放弃假设" |
| L4 记忆与状态 | 取证链(Chain of Custody)、事件时间线、IoC 库 | 证据性数据禁改禁删;遏制动作前先固定快照 |
| L5 评估与观测 | MTTD、MTTR、误报率、PoV 复现率 | PoV 复现率是一票否决指标:不能复现的漏洞报告一律作废 |
| L6 治理与安全 | 双向治理:对外防御 + 对内治理自身 AI 资产 | AI BOM、AI 遥测日志、护栏;AI 自身访问控制与业务数据同等保护 |
瓶颈在 L2。
安全方向对 L2 的要求在五个方向中最为苛刻,原因有二。其一,安全工具链(fuzzer、符号执行器、SAST 扫描器、EDR)本身是确定性系统,AI 的价值恰恰在于编排它们而非替代它们——这意味着 L2 的工具注册、参数契约与输出解析质量,直接决定整个系统的判定能力上限。其二,安全是唯一允许执行破坏性动作的方向,L2 的沙箱隔离、权限最小化与 dry-run 预演是不可妥协的安全边界。
DARPA AIxCC 决赛队伍的共性架构为此提供了实证(见 3.1):识别率从半决赛的 37% 跃升至决赛的 86%,靠的不是更大的模型,而是编排层学会了对哪段代码启动哪个经典工具、如何读取结果、何时精炼或放弃假设。这与本组 README 第 5 章给出的结论一致,且在安全方向上得到最完整的工程化呈现。
与其他方向的关键差异:安全方向的判定标准是五个方向中最"硬"的——漏洞要么能以可复现的崩溃(Proof of Vulnerability, PoV)确认,要么不存在。这使得"模型不确定性 ↔ 工程可判定性"的矛盾在安全方向有一个干净的解法:模型输出永不直接成为判定结论,它只是把不确定性压缩为"值得动用确定性工具验证的假设"。
1.4 价值与局限
价值:
- 漏洞发现成本的数量级下降。AIxCC 决赛中,各队系统平均每项竞赛任务成本约 152 美元,额外发现 18 个真实 0day 并为其中 11 个提供补丁(DARPA 官方,A 级)——对比传统漏洞赏金单个从数百到数十万美元不等。
- AI 智能体可以直接阻断在野利用。Google Big Sleep 基于威胁情报发现 SQLite 漏洞 CVE-2025-6965(CVSS 7.2)——该漏洞仅为威胁行为者所知且面临被利用的风险,Google 得以预判其即将被利用并提前切断(Google 官方,A 级)。
- 泄露成本与生命周期的实质改善。IBM 2025 报告:广泛使用安全 AI 与自动化的组织平均泄露成本 362 万美元,比未使用者(552 万美元)节省 190 万美元,泄露生命周期缩短 80 天(A 级)。
- 告警分诊的规模化。安全运营的核心痛点是告警疲劳;AI 分诊配合 SOAR 剧本可在保持判定质量的前提下消化数倍告警量(学术基准见 3.3)。
局限(必须正视):
- AI 自身是被攻击面。IBM 2025:13% 的组织报告 AI 模型或应用遭泄露(另 8% 不确定),其中 97% 缺乏 AI 访问控制;63% 的被攻陷组织无 AI 治理政策或仍在制定中;五分之一组织因影子 AI 发生泄露,且影子 AI 事件中 PII 被攻陷比例达 65%(高于全球平均 53%)。
- 攻击方同样在使用 AI。16% 的泄露涉及攻击者使用 AI 工具,最常见为 AI 生成钓鱼(37%)与深度伪造冒充(35%);防御侧的时间优势不成立,AI 化不是可选项而是对等博弈。
- 分析师的信任滞后于能力认可。CyberSentinel-LLM(B 级,同行评议)调研显示:8 名 SOC 分析师对"重复性分诊工作减少"的评分达 4.6/5.0,但对自主响应建议的信任度仅 3.9/5.0——自动响应的授权必须渐进,而非一步到位。
- 纯静态分析的高误报率仍未解决。AIxCC 期间的经验(据安全内参对 DARPA 结果的中文复盘,B 级):季军队 Theori 重度使用静态分析工具 Infer,误报率约 99.9%——确定性工具本身也有噪声,编排层必须承担"筛选与排序"职责,误报治理仍是 AppSec 落地的核心瓶颈(中国侧可核实的 AI 代码审计落地案例未获取,见信息缺口声明)。
2. 名词解释
| 术语 | 英文/缩写 | 释义 |
|---|---|---|
| 安全运营中心 | Security Operations Center / SOC | 集中监测与响应安全事件的职能与设施;AI 化的核心场景是告警分诊与调查初排 |
| 安全信息与事件管理 | SIEM | 聚合、关联与检索安全日志的平台;AI 分诊的上游数据源 |
| 安全编排自动化与响应 | SOAR | 将告警处置流程编排为自动化剧本(playbook)的平台 |
| 端点检测与响应 | EDR | 面向终端的持续监测、行为检测与响应能力 |
| 平均检测时间 | Mean Time to Detect / MTTD | 从攻击发生到被检测出的平均时长;安全方向核心观测指标 |
| 平均响应时间 | Mean Time to Respond / MTTR | 从检测出到完成处置的平均时长 |
| 漏洞利用证明 | Proof of Vulnerability / PoV | 触发漏洞的可复现输入与崩溃证据;漏洞真实性的判定标准,AIxCC 的核心机制 |
| 零日漏洞 | 0day / Zero-day | 尚未有补丁或未被开发者知晓的漏洞 |
| 通用漏洞披露 | CVE | 漏洞的唯一标识编号(如 CVE-2025-6965);披露与修复跟踪的通用语言 |
| 通用漏洞评分系统 | CVSS | 漏洞严重程度的量化评分(0.0~10.0);CVSS 7.2 属高危区间 |
| 提示词注入 | Prompt Injection | 通过注入恶意指令劫持模型行为的攻击;OWASP LLM Top 10 2025 首位(LLM01) |
| 静态应用安全测试 | SAST | 对源码做不运行状态下的缺陷与漏洞扫描 |
| 动态应用安全测试 | DAST | 对运行中的应用做黑盒漏洞探测 |
| 模糊测试 | Fuzzing | 以大量随机或构造输入探测程序异常的自动化技术(如 AFL++ / libFuzzer) |
| 符号执行 | Symbolic Execution | 以符号变量驱动路径探索的深度分析技术(如 KLEE / angr / Mayhem) |
| 网络推理系统 | Cyber Reasoning System / CRS | AIxCC 中参赛队伍构建的自动化漏洞发现与修补系统 |
| 对抗战术知识库 | MITRE ATLAS | 基于真实攻击观测的 AI 对抗战术与技法知识库,ATT&CK 的 AI 侧补充 |
| AI 物料清单 | AI Bill of Materials / AI BOM | 记录 AI 系统组件(模型、数据集、依赖)的清单;ATLAS 关键缓解措施之一 |
| 护栏 | Guardrails | 对模型输入与输出施加策略约束的防护机制;ATLAS 参考的关键缓解类别 |
| 影子 AI | Shadow AI | 未经组织批准而使用的 AI 工具与服务;IBM 2025 报告中的重点风险源 |
| 取证链 | Chain of Custody | 证据从获取到提交全过程的责任与状态记录;取证有效性的前提 |
| 安全开发生命框架 | SSDF / NIST SP 800-218A | NIST《Generative AI 与双用途基础模型的安全软件开发实践》,对生成式 AI 供应链安全的实践要求 |
| 红队 | Red Team | 以攻击者视角对系统实施授权模拟攻击的安全评估职能 |
3. 案例
以下案例均取自 DARPA、Google、IBM 等机构官方公开材料(A 级优先),厂商聚合类数据已隔离,仅在信息缺口声明中说明。
3.1 DARPA AIxCC:LLM 编排经典工具的规模化验证
3.1.1 背景
DARPA AI Cyber Challenge(AIxCC)是一项为期两年的竞赛,要求参赛队伍构建网络推理系统(Cyber Reasoning System, CRS),自主发现并修补真实开源软件中的漏洞。决赛于 2025 年 8 月在拉斯维加斯 DEF CON 33 举行,与 ARPA-H 及前沿实验室合作,决赛计分轮针对 5400 万行代码中的合成漏洞尝试识别并生成补丁。这项竞赛的意义不止于名次:它是"AI 参与安全工作"迄今规模最大、判定标准最严格的一次公开验证——漏洞必须以可复现的 PoV 确认,补丁必须通过测试,不接受任何"模型直觉"式的结论。
3.1.2 方案
- 竞赛结果(DARPA 官方数字,A 级):冠军 Team Atlanta(Georgia Tech、Samsung Research、KAIST、POSTECH,系统名 ATLANTIS,奖金 400 万美元),亚军 Trail of Bits(Buttercup,300 万美元),季军 Theori(150 万美元)。63 个挑战中共发现 54 个唯一合成漏洞,其中 43 个被成功修补;识别率从半决赛的 37% 提升至 86%,修补率从 25% 提升至 68%。赛会之外,各队系统额外发现 18 个真实的非合成漏洞(0day)——6 个在 C 代码库、12 个在 Java 代码库——已向开源维护者负责任披露,团队为其中 11 个提供了补丁。
- 共性架构(本案例的核心):七支决赛队伍收敛出同一种三层分工——LLM 层负责语义推理(发现可疑模式、生成漏洞假设、编写 PoV 与补丁);经典程序分析层负责确定性验证(定向 fuzzing:AFL++ / libFuzzer;符号执行:KLEE / angr / Mayhem;静态分析:CodeQL / Semgrep / Joern);编排层由 LLM 决定对哪段代码启动哪个经典工具、读取结果、精炼假设并迭代。关键结论:"LLM 不做漏洞挖掘,它编排做挖掘的工具并解释结果。漏洞以可复现的崩溃(PoV)确认,而非模型的'直觉'。"
- 工程细节(据安全内参对 DARPA 结果的中文复盘,B 级):Team Atlanta 发现直接要求 LLM"修复漏洞"效果不佳,需设计提示工程(角色扮演)引导模型先做假设分析;80 亿参数级模型(如 GPT-4o-mini 级别)在代码模式识别任务上往往优于超大模型——小模型足以理解代码结构且更少"过度思考";Buttercup 坚持低成本非推理模型并把单任务成本控制在约 181 美元,成功生成过一个 300 多行的补丁修复极复杂漏洞;all_you_need_is_a_fuzzing_brain 系统超 90% 代码由 AI 辅助编写,通过一百个虚拟机高并发发现了最多的 0day。
- 成本与开放:平均每项竞赛任务成本约 152 美元(对比漏洞赏金单个数百到数十万美元);七支队伍中有四支在赛后两周内按 OSI 许可开源其 CRS;DARPA 与 ARPA-H 追加 140 万美元奖金推动技术向关键基础设施软件转化;赛事总奖金 3090 万美元。
3.1.3 效果
- 范式被证实:识别率 37%→86% 的跃升发生在同一代模型上,增量全部来自编排与工具调用的改进——这为"AI Harness 的投资重点应是工具编排与证据判定链路,而非更大的模型"提供了迄今最硬的实证。
- 判定标准被固化:54 个合成漏洞、18 个真实 0day,全部以可复现 PoV 确认。AI 输出在判定环节的权重为零,这正是"模型不确定性 ↔ 工程可判定性"调和的样板。
- 开源外溢:四支队伍赛后两周开源,CRS 架构(假设生成 → 工具编排 → PoV 判定)可直接被企业 AppSec 团队借鉴改造。
对 Security Harness 设计的启示:AIxCC 架构可直接翻译为 Harness 六层语言——编排层是 L3(LLM 规划与调度),经典分析工具是 L2(确定性执行),PoV 复现是 L5 的一票否决指标,"假设可猜错、判定不可猜"是 L6 的判定权归属原则。本组 README 第 5 章已将此范式推广至全组;本方向的差异化在于:安全方向的判定物(PoV)是唯一可以机器自动复现的判定物,因此安全方向可以把"判定自动化"做到极致,同时把"授权自动化"收紧到最严。
3.2 Google Big Sleep:AI 智能体首次直接阻断在野漏洞利用
3.2.1 背景
漏洞挖掘 AI 化的长期质疑是:实验室发现多、真实战场少;即使发现漏洞,AI 结论的可信度也不足以支撑披露与修复决策。Google DeepMind 与 Project Zero 合作的项目 Big Sleep(AI 驱动的漏洞研究智能体)在 2024 年 11 月发现首个真实世界漏洞(SQLite 可利用缓冲区溢出——此前研究人员尝试用传统 fuzzing 未能发现),2025 年持续发现多个真实漏洞,并在 2025 年完成了该方向迄今最有分量的动作。
3.2.2 方案
- 关键事件:基于 Google Threat Intelligence 的情报,Big Sleep 智能体发现 SQLite 漏洞 CVE-2025-6965(CVSS 7.2)——该漏洞仅为威胁行为者所知且面临被利用的风险;Google 官方表述称"我们相信这是首次有 AI 智能体被用于直接挫败在野漏洞利用的企图"。漏洞为聚合项数量可能超过可用列数导致的内存破坏,已在 SQLite 3.50.2 版本(2025 年 6 月下旬)修复(Google 官方与 SecurityWeek,A 级)。
- 持续产出:2025 年 11 月,Apple 致谢 Big Sleep 发现 Safari WebKit 的 5 个安全缺陷:CVE-2025-43429(缓冲区溢出)、CVE-2025-43430(状态管理)、CVE-2025-43431 与 CVE-2025-43433(内存破坏)、CVE-2025-43434(use-after-free),已在 iOS/iPadOS/macOS 26.1 等版本中修复(据 The Hacker News 报道,B 级)。
- 治理机制(可直接映射 Harness L6):Big Sleep 的每个漏洞发现在披露前均由 Project Zero 分析师验证;Google 发布白皮书说明如何以安全设计原则构建 AI 智能体——保障隐私、降低"流氓行为"风险、确保智能体在人类监督与透明性下运行;所有公开披露的 Big Sleep 漏洞在 issue tracker 页面可查。配套动作包括将 Secure AI Framework 数据捐赠给 Coalition for Secure AI(CoSAI)、与 DARPA AIxCC 合作。
3.2.3 效果
- 从"发现漏洞"到"阻断在野利用":CVE-2025-6965 事件标志着 AI 智能体首次直接参与切断一次预计发生的真实攻击,而不只是补充发现清单。
- "威胁情报 × 智能体研究"的组合范式成立:Big Sleep 不是盲扫,而是被情报指引后在特定组件中做定向深挖——这与 AIxCC 的"假设驱动 + 工具编排"同构,只是假设来源从代码模式换成了威胁情报。
- 验证机制未被省略:全部发现在披露前经人类分析师验证——AI 提高了发现的产量与速度,但没有改变披露的责任链。
对 Security Harness 设计的启示:Big Sleep 给出了"AI 智能体做漏洞研究"的治理样板:智能体产出候选发现,分析师验证后披露,全过程留痕可查。任何把"AI 发现"直接等同于"已确认漏洞"并触发披露或处置的流程,都跳过了必要的判定环节;Harness 应把"分析师验证"实现为强制的状态机节点,而非可跳过的建议。
3.3 AI SOC 与泄露成本:IBM 2025 报告与学术基准
3.3.1 背景
SOC 智能化是最先规模化落地的安全 AI 场景,但市场数据鱼龙混杂——大量厂商宣称的降噪率与 MTTR 改善数字无法回溯到一手来源。IBM 与 Ponemon Institute 的《Cost of a Data Breach Report 2025》(2025-07-30 发布,覆盖 600 家组织、统计 2024-03 至 2025-02 期间发生的泄露)是少数可按 A 级处理的第三方量化证据;CyberSentinel-LLM(发表于 Computers, Materials & Continua 第 89 卷第 1 期,2025)则提供了带完整实验设置的学术基准。本案例以这两组数据为主论据,厂商宣称数据一律排除。
3.3.2 方案
- IBM 2025 报告的关键数字(A 级):全球平均泄露成本 444 万美元(较上年 488 万美元下降 9%,五年来首次下降),美国平均 1022 万美元创历史新高;全球平均泄露生命周期 241 天(识别 158 天 + 遏制 83 天,九年最低)。在安全运营中广泛使用 AI 与自动化的组织,平均节省 190 万美元泄露成本、泄露生命周期缩短 80 天(平均成本 362 万美元对比未使用者 552 万美元)。
- AI 自身成为被攻击面(A 级):13% 的组织报告其 AI 模型或应用遭泄露(另 8% 不确定),被攻陷组织中 97% 未部署 AI 访问控制;60% 的 AI 相关安全事件导致数据被窃取,31% 导致运营中断;63% 的被攻陷组织要么没有 AI 治理政策、要么仍在制定中;在有政策的组织中仅 34% 定期审计未经批准的 AI。影子 AI:五分之一组织因影子 AI 发生泄露,仅 37% 有管理或检测影子 AI 的政策;高影子 AI 使用组织平均泄露成本高出 67 万美元。
- 攻击方也在用 AI(A 级):16% 的泄露涉及攻击者使用 AI 工具,最常见为 AI 生成的网络钓鱼(37%)与深度伪造冒充(35%);初始攻击向量中网络钓鱼(16%)取代窃取的凭证成为最常见向量。
- 学术基准(B 级):CyberSentinel-LLM 在 7 天连续 HDFS 日志流(1830 万条记录、注入 287 个异常)上的运行指标:MTTD 2.3 分钟(比人工 SOC 好 8.1 倍)、自主响应启动 45 毫秒、误报率 1.2%(对比传统 SIEM 的 3.8%)、自动化率 94.2%(仅 5.8% 事件因涉及高影响资源变更需人类批准)。8 名 SOC 分析师的 5 点李克特量表调研:重复性分诊工作减少 4.6/5.0、完整取证报告 4.3/5.0,但对自主响应建议的信任度仅 3.9/5.0——论文因此建议先以"仅检测"模式发布,后续再启用自动响应。
3.3.3 效果
- 收益被证实但归因于"AI + 自动化"的组合:190 万美元与 80 天的改善来自广泛使用 AI 与自动化的组织整体,说明价值来自"检测—分诊—响应"链路智能化,而非单点模型。
- 治理缺口被量化:97% 缺 AI 访问控制、63% 无 AI 治理政策、1/5 因影子 AI 遭泄露——这三个数字把"治理自身 AI 资产"从合规倡议变成了有成本的量化风险。对应 MITRE ATLAS 给出的三项关键缓解措施类别:GenAI 护栏、AI 物料清单(AI BOM)、AI 遥测日志(ATLAS 2026 年 4 月更新,A 级)。
- 信任滞后被实证:能力认可 4.6/5.0 对信任度 3.9/5.0 的落差,与 Big Sleep"分析师验证后披露"的实践互相印证,共同指向"先检测、后自动响应"的渐进授权路线(本组 README 第 5 章已引此结论,本方向的落地形态见 4.1 节的响应分级设计)。
对 Security Harness 设计的启示:AI SOC 的落地顺序应当是:先做全量检测与分诊(能力认可区),再对低风险高置信动作开放自动闭环(信任建立区),对高影响资源变更永远保留人类批准(信任底线区)。同时必须把自身 AI 资产纳入防护范围:AI 系统的访问控制、日志与治理政策,与其处理的业务数据同等保护。
4. 实践标准
4.1 AGENTS.md 规范
以下为 Security 安全方向建议的 AGENTS.md 全文。本文为建议稿,业界无官方标准,可直接复制后按组织实际情况裁剪。本文件继承组级 AGENTS.md 的全部底线条款,以下为安全场景的加严 SOP。
# AGENTS.md —— Security 安全
> 本文为建议稿,业界无官方标准。本文件继承组级 AGENTS.md 全部底线条款(证据链、
> 职责分离、人在回路、数据分级、审计留痕、禁止事项),以下仅列安全方向的加严项。
## 角色与边界
- 角色:告警分诊者、漏洞假设生成者、分析工具编排者、PoV 复现执行者、
取证初排者、遏制方案起草者。
- 不是:最终判定者(判定由确定性工具输出 + 值班分析师确认)、
披露决定者、生产环境变更执行者、情报结论发布者。
- 判定权归属(本方向第一原则,源自 DARPA AIxCC 决赛共性架构):
模型负责假设生成与工具编排;确定性工具(fuzzing、符号执行、静态分析、
EDR 检测规则)与签字的人负责判定;漏洞以可复现的 PoV 确认,而非模型的"直觉"。
- 双向治理角色:智能体既是对外防御的参与者,也是自身 AI 资产的被治理对象
(AI BOM、遥测日志、护栏须登记在册)。
## 环境假设
- 存在 SIEM/SOAR 平台(告警聚合与剧本编排)、EDR(终端检测与响应)、
漏洞管理平台(SAST/DAST 结果汇总)、沙箱执行环境与隔离测试网络。
- 漏洞验证在**隔离沙箱**内进行:目标服务、恶意载荷、fuzzer 全部运行于
可随时销毁的隔离环境,禁止对生产环境直接验证。
- 存在动作白名单与 dry-run 机制:SOAR 剧本中的每一步动作支持预演模式,
预演输出与真实执行输出格式一致。
- 存在 append-only 事件与证据存储;遏制动作执行前强制完成现场快照固定。
- 威胁情报源带时效与置信标记;资产台账(含 AI 资产)持续更新。
## 上下文加载顺序(Context Budget)
1. 任务契约(分诊/挖掘/响应、资产范围、授权边界、允许动作清单)。
2. 现行有效检测规则与响应剧本版本(含规则 ID 与生效版本)。
3. 威胁情报(带来源、置信度、时效);资产台账(含 AI BOM)。
4. 本次任务原始材料(告警、日志、代码、扫描结果)。
5. 补充资料(预算不足时最先裁剪)。
硬约束:CVE 编号、攻击技法(ATLAS/ATT&CK 技法 ID)必须来自情报库检索,
不得取自模型记忆;情报超时效的必须降级为"未确认线索"。
## 工具契约
| 工具 | 风险等级 | 说明 |
|---|---|---|
| 日志与告警检索(SIEM) | R0 | 只读,返回原始日志指针 |
| 情报与 CVE 检索 | R0 | 只读,返回来源与时效 |
| 代码静态分析(SAST:CodeQL / Semgrep 等) | R0 | 只读;输出仅作假设来源 |
| 动态测试(DAST / fuzzing / 符号执行) | R1 | 仅限沙箱内;输出 PoV 或崩溃证据 |
| PoV 复现执行 | R1 | 沙箱内;复现结果哈希固化 |
| EDR 遥测读取 | R0 | 只读 |
| EDR 隔离主机 / 封禁 IP / 断网 | R3 | **默认关闭**;仅预授权清单内、沙箱或演练环境可自动执行 |
| 生产防火墙 / 网段变更 | R3 | 永久关闭;生成待执行工单,由值班工程师执行 |
## 任务执行流程(SOP)
1. 任务登记:类型(分诊 / 挖掘 / 响应)、资产范围、授权边界、数据分级。
2. 上下文装载:规则版本、情报(含时效)、资产台账(含 AI BOM)、原始数据。
3. 假设生成:模型对告警/代码/日志生成候选假设清单(允许猜错,逐条附依据)。
4. 工具编排:按假设调度确定性工具(fuzzing / 符号执行 / 静态分析 / EDR 查询),
记录每次调用的工具名、参数、返回与哈希。
5. **PoV 判定(强制环节)**:漏洞类结论必须以沙箱内可复现 PoV 确认;
复现失败或不可复现的,结论降级为"未确认假设",不得进入漏洞报告。
6. 分级处置:
- 仅检测类(告警合并、评分、报告初稿):可自动完成,输出待确认结论。
- 沙箱内动作(PoV 复现、样本 detonation):预授权范围内自动执行。
- 影响生产的遏制动作(隔离、封禁、断网):生成 dry-run 预演报告,
经值班分析师确认后由人执行;预授权清单内的限自动执行并即时告警。
7. 证据固定:事件时间线、PoV、日志快照写入 append-only 存储,链式哈希。
8. 人工确认:分诊结论与响应决定由值班分析师确认并留痕(确认人、时间、内容快照)。
9. 复盘回流:误报/漏报结论回流评估回归集与检测规则库。
## 验证与证据要求
- 漏洞报告必须包含:PoV 输入、复现步骤、复现环境快照、复现结果哈希——
**PoV 复现率 100% 是一票否决指标**。
- 告警分诊结论必须附原始日志指针与情报出处(含时效标记)。
- 遏制动作必须附:dry-run 预演输出、授权依据(预授权清单条目或人工确认记录)、
执行前后状态快照。
- 模型输出在报告中仅出现于"假设与分析"段,不得出现于"事实判定"段。
## 失败与升级策略
- PoV 无法复现 → 结论作废并留痕;同一假设不得以"模型置信度高"为由保留。
- 工具调用失败 → 重试不超过 2 次,随后转人工并保留现场(继承组级)。
- 疑似智能体被提示词注入劫持(输出偏离任务、试图调用 R3 工具、访问无关资产)→
立即切断智能体权限、冻结会话快照,按安全事件上报(L3)。
- 遏制动作影响评估不足(波及非授权资产)→ 自动回退预演,转人工决策。
## 安全与合规红线
- 智能体自身执行最小权限(对应 OWASP LLM Top 10 2025 LLM06 过度授权);
系统提示不假定与外部访问隔离(LLM07)。
- AI 资产(模型、智能体、数据管道、AI BOM、遥测日志)的访问控制与治理政策,
与被其处理的业务数据同等保护(对应 IBM 2025:97% 的 AI 相关攻陷缺乏 AI 访问控制)。
- 遵守《中华人民共和国网络安全法》新增第二十条(2026-01-01 施行):
运用人工智能提升网络安全保护水平,同时落实全生命周期风险监测评估。
- 渗透测试与漏洞挖掘仅在授权范围内进行;未经授权不得触碰第三方系统。
- 遵守《人工智能生成合成内容标识办法》(2025-09-01 施行)第 6、7、10 条:
生成内容保留显式与隐式标识,不得恶意删除、篡改、伪造、隐匿。
- 涉及生成式 AI 服务本身的,参照 GB/T 45654—2025 模型安全要求(后门监测、
安全审计与漏洞修复、训练与推理环境隔离)执行。
- 生成式 AI 供应链安全参照 NIST SP 800-218A(SSDF 1.1)的安全开发实践执行。
## 禁止事项
1. 禁止把模型对漏洞的存在性判断直接写入漏洞报告(必须附 PoV)。
2. 禁止在未经 PoV 确认的情况下向任何外部方(含厂商、CVE 编号机构)提交漏洞。
3. 禁止在生产环境执行验证性攻击、fuzzing 或破坏性命令。
4. 禁止智能体自主执行影响生产的遏制动作(预授权清单与沙箱环境除外)。
5. 禁止隐瞒或绕过 dry-run 直接执行写动作。
6. 禁止把未经脱敏的告警数据(含个人信息)发送至公共模型平台。
7. 禁止使用超时效威胁情报作为处置依据而不作降级标注。
8. 禁止删除或修改事件时间线与 PoV 证据;复盘结论走追加记录。
## 输出格式
- 分诊报告:告警 ID、合并结论、证据指针、置信依据、建议处置、确认状态。
- 漏洞报告:目标组件、漏洞描述、PoV(输入 + 步骤 + 复现哈希)、影响评估、
修复建议、验证状态(沙箱已复现 / 待复核)。
- 响应报告:事件时间线、遏制方案(含 dry-run 结果)、授权与执行记录、复盘要点。
- 每份输出附带:规则与情报版本、模型与提示词版本、工具调用日志摘要、链哈希。
## 评估与自检
- 回归集:历史事件(已确认真伪的告警)+ 已验证漏洞(PoV 库)。
- 核心指标:MTTD、MTTR、误报率、PoV 复现率(一票否决)、
自动化率(并区分"仅检测自动"与"响应自动"两档统计)。
- 红队与压力测试:至少覆盖提示词注入、越权调用、敏感信息泄露三类
(对应 NIST AI 600-1 GenAI 风险与 ATLAS 缓解措施)。
- 自检:禁止事项逐条对照;R3 动作清单逐条核对授权记录;
AI BOM 与遥测日志登记完整性抽查。 4.2 SKILL.md 规范
以下为 Security 安全方向建议的 SKILL.md 全文。本文为建议稿,业界无官方标准。该技能以 AIxCC"假设生成 → 工具编排 → PoV 判定"范式为蓝本工程化。
---
name: vuln-hypothesis-pov-verify
description: 漏洞假设生成与 PoV 复现验证。对目标代码或组件生成漏洞假设清单,编排 fuzzing、符号执行与静态分析等确定性工具进行验证,仅输出沙箱内可复现 PoV 的漏洞结论。适用于授权渗透测试、开源组件漏洞排查与 SAST 结果深挖场景。
version: 1.0
created: 2026-09-12
---
# 漏洞假设生成与 PoV 复现验证
## 适用场景
- 适用:授权范围内的渗透测试、自有或开源组件的漏洞排查、SAST 高危告警的
深挖与降噪、竞赛型/批量化漏洞发现流水线(AIxCC 范式)。
- 不适用:未授权目标测试;生产环境验证;对不可复现问题出具漏洞结论。
## 前置条件
- 已获得书面测试授权(目标、范围、时间窗、禁止动作清单)。
- 隔离沙箱环境可用(可随时销毁;与生产网络隔离)。
- 确定性工具可用:fuzzer(AFL++ / libFuzzer 等)、符号执行(KLEE / angr 等)、
静态分析(CodeQL / Semgrep / Joern 等)。
- PoV 证据存储可写入(append-only,含哈希)。
## 输入
| 输入项 | 必填 | 说明 |
|---|---|---|
| 目标代码 / 组件与版本 | 是 | 精确到版本号与提交哈希 |
| 测试授权文件 | 是 | 范围、时间窗、禁止动作清单 |
| SAST / 情报输入(可选) | 否 | 静态扫描结果或威胁情报,作为假设来源 |
| 资产与依赖清单 | 是 | 判断影响面(含 AI BOM 条目,如目标为 AI 组件) |
| 数据分级 | 是 | 涉密代码仅限受控环境 |
## 输出
| 输出项 | 说明 |
|---|---|
| 假设清单 | 假设描述、来源(SAST/情报/模型推理)、优先级、依据 |
| 工具编排日志 | 每次调用的工具、参数、目标、返回与哈希 |
| PoV 包 | 触发输入、复现步骤、环境快照、崩溃输出、结果哈希 |
| 未确认假设清单 | 无法复现的假设及其排除原因(不得静默丢弃) |
| 影响评估与修复建议 | 基于 PoV 的影响面;修复建议须标注"待人工复核" |
| 留痕信息 | 代码版本哈希、工具版本、模型与提示词版本 |
## 执行步骤
1. 校验授权文件与目标范围;超范围目标直接列入"未授权"并中止该目标。
2. 装载目标代码与依赖清单,记录版本哈希;建立沙箱实例。
3. 假设生成:模型基于代码模式、SAST 结果与威胁情报产出候选假设清单
(允许猜错;每条附依据与优先级)。
4. 工具编排:按假设调度确定性工具——fuzzing 探测输入解析路径、
符号执行深挖约束路径、静态分析确认 sink-reachable;记录全部调用。
5. PoV 构造与复现:对命中的假设构造触发输入,在沙箱内复现崩溃;
固化输入、步骤、环境快照与输出哈希。
6. 复现复核:每个 PoV 至少自动复现 2 次;不可稳定复现的降级为
"未确认假设"。
7. 影响评估与修复建议草稿:基于 PoV 与依赖清单评估影响面;
修复建议标注"待人工复核"。
8. 交付:漏洞报告(仅含已复现 PoV 项)+ 未确认假设清单 + 留痕信息。
## 质量标准(DoD)
- 一票否决:报告包含无 PoV 的漏洞结论;对未授权目标执行了任何探测;
在生产环境执行了验证动作;复现结果未哈希固化。
- PoV 自动复现成功率 100%(报告内所有 PoV 至少复现 2 次成功)。
- 未确认假设 100% 显式列出(可为零项,须声明),不得静默丢弃。
- 工具编排日志完整率 100%(工具名、参数、返回、哈希四要素齐全)。
- 报告中模型的"假设与分析"与工具的"事实判定"两个段落可清晰区分。
## 常见失败与处理
| 失败模式 | 表现 | 处置 |
|---|---|---|
| 模型幻觉漏洞 | 模型报告不存在或不可触发的漏洞 | 强制 PoV 判定;不可复现即作废并留痕 |
| 静态分析高误报 | SAST 海量告警淹没真漏洞 | 编排层按可达性与历史确认率排序分诊;不直接采信 |
| PoV 不稳定 | 崩溃依赖特定内存布局,时现时不现 | 提高复现次数并记录稳定性;无法稳定的按"未确认"处理 |
| 沙箱逃逸迹象 | 验证过程触碰沙箱外资源 | 立即销毁沙箱、冻结快照、按安全事件上报 |
| 版本漂移 | 目标组件版本与授权清单不一致 | 停止验证,重新确认授权范围 |
| 误报修复建议 | 建议修改未受影响的代码路径 | 修复建议强制标注"待人工复核"并附 PoV 依据 |
## 示例
输入:
- 目标组件:某开源数据解析库 v2.3.1(提交哈希 [待填写])
- 授权:内部渗透测试授权(时间窗 7 天;禁止动作:拒绝服务类测试)
- SAST 输入:静态扫描高危告警 3 条(堆溢出候选)
输出(节选):
| 假设编号 | 假设描述 | 来源 | 验证工具 | 结果 |
|---|---|---|---|---|
| H-01 | 聚合项数量超列数上限导致内存破坏 | 模型推理 + 情报 | 符号执行 + fuzzing | PoV 已复现(2/2) |
| H-02 | 边界长度校验缺失导致栈溢出 | SAST | fuzzing | 不可复现,排除 |
| H-03 | 整数溢出导致分配过小 | 模型推理 | 静态分析 + fuzzing | 不可复现,保留观察 |
> 说明:示例为格式演示。假设描述、复现哈希与影响评估必须以沙箱实际
> 执行结果填充;无 PoV 的假设一律不得进入漏洞报告正文。 4.3 落地检查清单
| 序号 | 检查项 | 检查方法 | 通过标准 |
|---|---|---|---|
| 1 | PoV 一票否决 | 漏洞报告全量检查 | 报告内漏洞结论 100% 附沙箱复现 PoV 与结果哈希 |
| 2 | 沙箱隔离 | 环境与网络核查 | 验证类动作 100% 在隔离沙箱执行,与生产网络隔离 |
| 3 | R3 动作授权 | 授权记录核查 | 隔离/封禁/断网 100% 具备预授权清单条目或人工确认记录 |
| 4 | dry-run 支持 | 剧本演练 | SOAR 剧本中写动作 100% 支持预演且输出格式一致 |
| 5 | 提示词注入防护 | 红队测试 | 注入测试用例 100% 无法诱导智能体调用 R3 工具 |
| 6 | AI 资产访问控制 | 权限审计 | AI 系统(模型/智能体/管道)100% 部署访问控制(对照 IBM 97% 缺口) |
| 7 | AI BOM 完整性 | 台账核对 | 模型、数据集、依赖 100% 登记并随变更更新 |
| 8 | AI 遥测日志 | 日志核查 | AI 调用日志 100% 写入 append-only 存储 |
| 9 | 影子 AI 治理 | 资产盘点与网络审计 | 未批准 AI 工具可被识别并有处置流程(对照 34% 定期审计缺口) |
| 10 | 情报时效 | 分诊抽检 | 超时效情报 100% 降级为未确认线索 |
| 11 | 告警数据出域 | 数据流核查 | 含个人信息的告警数据 100% 未进入公共模型平台 |
| 12 | 证据不可篡改 | 存储权限核查 | 事件时间线与 PoV 证据 100% 仅追加 |
| 13 | 渐进授权 | 配置核查 | 自动响应范围与信任分级匹配(先检测、后响应、高影响留人审) |
| 14 | 供应链安全 | 开发流程核查 | 生成式 AI 组件开发 100% 对照 NIST SP 800-218A 实践 |
| 15 | 回归集有效性 | 评估记录核查 | 回归集为历史事件 + PoV 库,误报率与 PoV 复现率按月复算 |
5. 总结
安全方向的 AI Harness,本质是一套用确定性工具消化模型不确定性、并反向治理自身 AI 资产的系统。
三点结论:
第一,"LLM 编排经典工具、PoV 可复现确认"是安全方向已验证的架构答案。 DARPA AIxCC 用 5400 万行代码、54 个合成漏洞、18 个真实 0day 与约 152 美元的单任务成本,证明了这条路线可以规模化;识别率 37%→86% 的跃升来自编排改进而非模型升级。Google Big Sleep 则证明了同一范式在"威胁情报驱动"场景同样成立,且治理机制(分析师验证后披露、人类监督白皮书)可以与产量提升并行。对 Harness 建设者的直接推论是:投资编排层与工具契约,而不是等待更大的模型。
第二,安全方向是"判定自动化"与"授权收紧"的双极。 漏洞真实性可以由 PoV 机器自动复现——判定环节可以做到全自动;而隔离主机、封禁 IP 等破坏性动作的影响面由资产与人承担——授权环节必须做到最严。AI SOC 的数据进一步说明授权应当渐进:分析师对能力认可(4.6/5.0)显著高于对自主响应的信任(3.9/5.0),"先检测、后自动响应"不是保守,而是落地成功率最高的路线。
第三,AI 自身是安全方向最大的新增攻击面。 IBM 2025 报告的三个数字——13% 的组织报告 AI 遭泄露、被攻陷者中 97% 缺 AI 访问控制、1/5 因影子 AI 遭泄露——划出了与传统 SOC 不同的防线。ATLAS 给出的三项缓解(GenAI 护栏、AI BOM、AI 遥测日志)加上访问控制与治理政策,是本方向 L6 的最低配置。安全团队治理 AI 资产的深度,决定了 AI 安全体系的真实水位。
必须正视的局限:AppSec 方向"AI 代码审计 / SAST 减误报"的国内可核实落地案例未获取;AIxCC 的 B 级工程细节(小模型优于超大模型、Theori 误报率约 99.9% 等)来自中文社区复盘,引用时应注明;IBM 报告中的"广泛使用"缺乏统一定义,190 万美元与 80 天应理解为组间对比而非因果结论。
信息缺口声明
以下内容未能取得 A/B 级一手证据,文中已按"不编造"原则处理,使用时须另行取证:
- 中国侧应急响应(IR)与 SOC 的量化落地案例——未获取 A/B 级一手来源;国内厂商宣称的告警降噪率与 MTTR 改善数字(如深信服、奇安信、青藤云安全等)全部为 C 级,本文未采用。
- 应用安全(AppSec)方向"AI 代码审计 / SAST 减误报"的可核实落地案例——未获取;AIxCC 属漏洞发现与修补验证,可部分替代论据但非企业 AppSec 流水线案例。
- Gartner 对 AI SOC Agents 的成熟度曲线定位(2025 年期望膨胀顶峰、渗透率 1—5%)——为 C 级转述,本文未采用;Gartner 预测"2026 年 40% 企业应用具备任务专用 AI 智能体"同为转述,。
- ISO/IEC 27001:2022 Annex A 控制项细节与 AI 相关扩展——仅确认标准版本与发布日期,未取得条款细节。
- AIxCC B 级工程细节的原始英文出处——"80 亿参数级模型在代码模式识别上往往优于超大模型""Theori 使用 Infer 误报率约 99.9%""Buttercup 单任务成本约 181 美元"等来自安全内参(secrss.com)对 DARPA 结果的中文复盘,未逐条回溯到各队伍技术报告原文。
- IBM 2025 报告中"广泛使用 AI 与自动化"的判定标准原文——官方新闻稿确认了节省 190 万美元与缩短 80 天两个数字,但"广泛使用"的问卷定义未获取原文。
- EU AI Act 时间线版本冲突——因 AI Omnibus(2026-05 临时协议)存在调整传闻(如 2026-12-02 / 2027-12-02 / 2028-08-02 的新时间线),本文以欧盟官方服务台公布的时间线为基准,Omnibus 调整按"拟议"处理,最终以欧盟官方文本为准。
- 国内 NIST SP 800-218A 对应的中文权威解读与国内落地实践——未获取;文中仅引用其作为生成式 AI 供应链安全的实践参照。
6. 参考资料
- 《中华人民共和国网络安全法》修改决定(主席令第六十一号)新增第二十条 — 全国人民代表大会,2025。http://www.npc.gov.cn/c2/c30834/202601/t20260105_450980.html
- DARPA AI Cyber Challenge 决赛结果(86%/68%、18 个 0day、152 美元) — DARPA,2025。https://www.darpa.mil/news/2025/aixcc-results
- AIxCC 决赛结果复盘:LLM 编排经典工具与 PoV 判定范式 — 安全内参,2025。https://www.secrss.com/articles/86038
- Cybersecurity updates: Summer 2025(Big Sleep 与 CVE-2025-6965、Timesketch + Sec-Gemini、FACADE) — Google,2025。https://blog.google/technology/safety-security/cybersecurity-updates-summer-2025/
- Google's AI Big Sleep finds 5 new WebKit vulnerabilities — The Hacker News,2025-11。https://thehackernews.com/2025/11/googles-ai-big-sleep-finds-5-new.html
- IBM Report: 13% of Organizations Reported Breaches of AI Models or Applications — IBM / Ponemon Institute,2025-07-30。https://newsroom.ibm.com/2025-07-30-ibm-report-13-of-organizations-reported-breaches-of-ai-models-or-applications,-97-of-which-reported-lacking-proper-ai-access-controls
- OWASP Top 10 for LLM Applications(2025 版) — OWASP GenAI Security Project。https://genai.owasp.org/llm-top-10/
- MITRE ATLAS(Adversarial Threat Landscape for Artificial-Intelligence Systems) — MITRE。https://atlas.mitre.org
- Secure AI v2 Release(ATLAS 2026 年 4 月更新) — MITRE CTID,2026-05-06。https://ctid.mitre.org/blog/2026/05/06/secure-ai-v2-release
- Secure Software Development Practices for Generative AI and Dual-Use Foundation Models(NIST SP 800-218A) — NIST CSRC,2024。https://csrc.nist.gov/pubs/sp/800/218/a/final
- ISO/IEC 27001:2022《Information security, cybersecurity and privacy protection — ISMS — Requirements》 — ISO,2022-10。https://www.iso.org/standard/27001
- GB/T 45654—2025《网络安全技术 生成式人工智能服务安全基本要求》解读 — 全国网络安全标准化技术委员会(SAC/TC260)。https://www.tc260.org.cn/tc260/hygd1/202403/b429d868525e48c3b7d12a0ec8f82e5e.shtml
- 关于印发《人工智能生成合成内容标识办法》的通知(国信办通字〔2025〕2 号) — 国家互联网信息办公室等四部门,2025。https://www.cac.gov.cn/2025-03/14/c_1743654684782215.htm
- CyberSentinel-LLM — Computers, Materials & Continua, vol.89, no.1, 2025, Tech Science Press。https://www.techscience.com/cmc/v89n1/68397/html
- EU AI Act — Implementation Timeline(以欧盟官方服务台为基准) — European Commission AI Act Service Desk。https://ai-act-service-desk.ec.europa.eu/en/ai-act/timeline/timeline-implementation-eu-ai-act
Security
1. Introduction
1.1 Background
Security is a direction in the Risk & Compliance group that fights on two fronts: it is both a user of AI (using AI for threat detection, vulnerability discovery, and incident response) and a defender of AI systems themselves (models, agents, and data pipelines have themselves become high-value attack targets). China provides a direct legal basis for "using AI for security" — the second paragraph of Article 20 newly added by the Decision to Amend the Cybersecurity Law of the People's Republic of China (Presidential Order No. 61) states: "The state supports innovative network security management approaches and uses new technologies such as artificial intelligence to raise the level of network security protection" (effective 2026-01-01).
At the same time, the attack surface expands with AI. The OWASP Top 10 for LLM Applications (2025 edition) added five entries — Excessive Agency (LLM06), System Prompt Leakage (LLM07), Vector and Embedding Weaknesses (LLM08), Misinformation (LLM09), and the expanded Unbounded Consumption (LLM10) — directly reflecting the new attack surface brought by the spread of RAG and agent autonomy. IBM's Cost of a Data Breach Report 2025 provides quantitative evidence from both sides of the attack and defense: 13% of organizations reported breaches of their AI models or applications, and 97% of breached organizations had not deployed AI access controls; meanwhile, organizations with widespread security AI and automation saved an average of $1.9 million in breach costs and shortened their breach lifecycle by 80 days.
The AI Harness for the Security direction must therefore answer two questions at once: first, how to turn AI's probabilistic output into executable, deterministic security actions; second, how to govern AI systems themselves so they do not become the weakest link. In 2025, the answers to both questions converged in a single practice — the DARPA AI Cyber Challenge (AIxCC) proved that the architecture of "LLMs orchestrating classic deterministic tools, with vulnerabilities confirmed by reproducible PoVs" can scale on real codebases of millions of lines.
1.2 Definition
The AI Harness for the Security direction is the engineered runtime layer that carries tasks such as threat detection, security operations center (SOC) alert triage, penetration testing, vulnerability discovery and verification, incident response, and application security (AppSec). Its core responsibility is to ensure that every security judgment (that an alert is real, a vulnerability is exploitable, or a containment action is necessary) lands on reproducible evidence, and that every destructive action happens within pre-authorized and sandbox boundaries.
This direction covers five categories of tasks:
| Task Category | Typical Tasks | Output Form |
|---|---|---|
| Threat Detection | Log anomaly detection, insider threat identification, phishing and deepfake detection | Alerts and candidate events, not disposition decisions |
| SOC Operations | Alert triage, event correlation, preliminary investigation, response playbook orchestration | Triage conclusions and investigation timeline |
| Penetration Testing & Vulnerability Discovery | Attack surface mapping, vulnerability hypothesis generation, fuzzing and symbolic execution orchestration | Vulnerability reports and PoVs, not unauthorized attacks |
| Incident Response | Preliminary forensics, containment plan generation, review reports | Containment recommendation drafts; execution requires authorization |
| Application Security | SAST/DAST result triage, AI code review, dependency and supply chain analysis | Defect lists and remediation suggestions, PoV-driven |
Key distinction: Security is the only direction in the group where agents are allowed to execute destructive actions within a limited scope (isolating hosts, blocking IPs, disconnecting networks), but this authorization must simultaneously satisfy three preconditions — an isolated sandbox environment, action dry-run, and a pre-authorized allowlist. Beyond this, the Security direction shares the same judgment rule as the rest of the group: judgment is never delegated to probability.
1.3 Position in the AI Harness System
图 1-1|安全方向 AI Harness 六层定位(L1–L6 · L2 瓶颈层)
数据来源:基于本文分析绘制的示意图。
| Layer | Content Carried by the Security Direction | Key Engineering Requirement |
|---|---|---|
| L1 Context Engineering | Threat intelligence, asset inventory, historical tickets, attack surface maps | Intelligence must carry timeliness and confidence sources; asset inventory is the basis for judging "blast radius" |
| L2 Tools & Execution | SIEM/SOAR, EDR, SAST/DAST, fuzzing and symbolic execution, sandbox | The bottleneck layer for this direction: sandbox + least privilege + dry-run + action allowlist |
| L3 Orchestration & Control | AIxCC paradigm: LLM orchestrates classic analysis tools, PoV-confirmed reproducibility | Hypotheses may be wrong; judgments may not be guessed — the orchestration layer learns "when to call which tool and when to abandon a hypothesis" |
| L4 Memory & State | Chain of Custody, event timeline, IoC library | Evidence data must not be modified or deleted; snapshot must be fixed before containment actions |
| L5 Evaluation & Observability | MTTD, MTTR, false positive rate, PoV reproducibility rate | PoV reproducibility rate is a veto metric: any vulnerability report that cannot be reproduced is void |
| L6 Governance & Security | Two-way governance: external defense + governing one's own AI assets internally | AI BOM, AI telemetry logs, guardrails; AI's own access controls protected equally with business data |
The bottleneck is at L2.
The Security direction's requirements on L2 are the most demanding of the five directions, for two reasons. First, the security toolchain (fuzzers, symbolic executors, SAST scanners, EDR) is itself deterministic — AI's value lies precisely in orchestrating them rather than replacing them, which means that the quality of L2's tool registration, parameter contracts, and output parsing directly sets the ceiling for the entire system's judgment capability. Second, Security is the only direction allowed to execute destructive actions, so L2's sandbox isolation, privilege minimization, and dry-run rehearsal are non-negotiable security boundaries.
The shared architecture of the DARPA AIxCC finalist teams provides empirical evidence for this (see 3.1): the identification rate jumped from 37% in the semifinals to 86% in the finals, driven not by larger models but by the orchestration layer learning which classic tool to launch on which piece of code, how to read the results, and when to refine or abandon a hypothesis. This is consistent with the conclusion given in Chapter 5 of this group's README, and it receives its most complete engineering realization in the Security direction.
Key difference from other directions: the Security direction's judgment standard is the "hardest" of the five — a vulnerability either can be confirmed by a reproducible crash (Proof of Vulnerability, PoV), or it does not exist. This gives the "model uncertainty ↔ engineering decidability" tension a clean solution in the Security direction: model output never directly becomes a judgment conclusion; it merely compresses uncertainty into a "hypothesis worth verifying with deterministic tools".
1.4 Value and Limitations
Value:
- An order-of-magnitude drop in vulnerability discovery cost. In the AIxCC finals, each team's system cost about $152 per competition task on average, discovering an additional 18 real 0-days and providing patches for 11 of them (DARPA official, Grade A) — compared with traditional vulnerability bounties that range from hundreds of thousands to hundreds of millions of dollars per item.
- AI agents can directly block in-the-wild exploitation. Google Big Sleep, based on threat intelligence, discovered a SQLite vulnerability, CVE-2025-6965 (CVSS 7.2) — known only to threat actors and at risk of exploitation, allowing Google to anticipate its imminent exploitation and cut it off early (Google official, Grade A).
- Substantial improvement in breach cost and lifecycle. IBM 2025 report: organizations with widespread security AI and automation had an average breach cost of $3.62 million, saving $1.9 million versus non-adopters ($5.52 million), and a breach lifecycle shortened by 80 days (Grade A).
- Scaled alert triage. The core pain point of security operations is alert fatigue; AI triage combined with SOAR playbooks can absorb several times the alert volume while maintaining judgment quality (academic benchmark in 3.3).
Limitations (that must be confronted):
- AI itself is an attack surface. IBM 2025: 13% of organizations reported breaches of AI models or applications (another 8% uncertain), of which 97% lacked AI access controls; 63% of breached organizations had no AI governance policy or were still drafting one; one in five organizations suffered a breach due to shadow AI, and the proportion of PII compromised in shadow AI incidents reached 65% (above the global average of 53%).
- Attackers are using AI too. 16% of breaches involved attackers using AI tools, most commonly AI-generated phishing (37%) and deepfake impersonation (35%); the defenders' time advantage does not hold — adopting AI is not optional but an equal-opponent game.
- Analyst trust lags behind capability recognition. The CyberSentinel-LLM survey (Grade B, peer-reviewed) shows: 8 SOC analysts rated "reduction in repetitive triage work" at 4.6/5.0, but trust in autonomous response suggestions was only 3.9/5.0 — authorization for automated response must be gradual, not all at once.
- The high false positive rate of pure static analysis is still unsolved. Experience during AIxCC (per secyanbao's / secrss.com's Chinese review of DARPA results, Grade B): third-place team Theori heavily used the static analysis tool Infer, with a false positive rate of about 99.9% — deterministic tools carry their own noise, so the orchestration layer must take on the "filter and rank" responsibility, and false positive governance remains the core bottleneck for AppSec rollout (verifiable Chinese-side AI code review cases were not obtained; see the Information Gaps statement).
2. Glossary
| Term | English / Abbreviation | Definition |
|---|---|---|
| Security Operations Center | Security Operations Center / SOC | The function and facility for centrally monitoring and responding to security events; the core AI-enabled scenarios are alert triage and preliminary investigation |
| Security Information and Event Management | SIEM | A platform that aggregates, correlates, and searches security logs; the upstream data source for AI triage |
| Security Orchestration, Automation and Response | SOAR | A platform that orchestrates alert handling workflows into automated playbooks |
| Endpoint Detection and Response | EDR | Endpoint-oriented continuous monitoring, behavioral detection, and response capability |
| Mean Time to Detect | Mean Time to Detect / MTTD | The average time from when an attack occurs to when it is detected; a core observability metric for the Security direction |
| Mean Time to Respond | Mean Time to Respond / MTTR | The average time from detection to completion of remediation |
| Proof of Vulnerability | Proof of Vulnerability / PoV | Reproducible input and crash evidence that triggers a vulnerability; the standard for judging a vulnerability's reality, the core mechanism of AIxCC |
| Zero-day vulnerability | 0day / Zero-day | A vulnerability that has no patch yet or is not yet known to developers |
| Common Vulnerabilities and Exposures | CVE | A unique identifier for a vulnerability (e.g., CVE-2025-6965); the common language for disclosure and remediation tracking |
| Common Vulnerability Scoring System | CVSS | A quantitative score of vulnerability severity (0.0~10.0); CVSS 7.2 falls in the high-risk range |
| Prompt Injection | Prompt Injection | An attack that hijacks model behavior by injecting malicious instructions; No. 1 on the OWASP LLM Top 10 2025 (LLM01) |
| Static Application Security Testing | SAST | Scanning source code for flaws and vulnerabilities without running it |
| Dynamic Application Security Testing | DAST | Black-box vulnerability probing of a running application |
| Fuzzing | Fuzzing | An automated technique that probes program anomalies with large volumes of random or crafted inputs (e.g., AFL++ / libFuzzer) |
| Symbolic Execution | Symbolic Execution | A deep analysis technique that drives path exploration with symbolic variables (e.g., KLEE / angr / Mayhem) |
| Cyber Reasoning System | Cyber Reasoning System / CRS | Automated vulnerability discovery and patching systems built by contestant teams in AIxCC |
| Adversarial tactics knowledge base | MITRE ATLAS | A knowledge base of AI adversarial tactics and techniques based on real attack observations; the AI-side complement to ATT&CK |
| AI Bill of Materials | AI Bill of Materials / AI BOM | A manifest recording the components of an AI system (models, datasets, dependencies); one of ATLAS's key mitigation measures |
| Guardrails | Guardrails | Protection mechanisms that impose policy constraints on model inputs and outputs; a key mitigation category referenced by ATLAS |
| Shadow AI | Shadow AI | AI tools and services used without organizational approval; a key risk source in the IBM 2025 report |
| Chain of Custody | Chain of Custody | The record of responsibility and state of evidence from acquisition through submission; a prerequisite for the validity of forensics |
| Secure Software Development Framework | SSDF / NIST SP 800-218A | NIST's Secure Software Development Practices for Generative AI and Dual-Use Foundation Models, practical requirements for generative AI supply chain security |
| Red Team | Red Team | A security assessment function that conducts authorized simulated attacks on a system from an attacker's perspective |
3. Case Studies
The following case studies are all drawn from official public materials of such institutions as DARPA, Google, and IBM (Grade A prioritized); vendor aggregation data has been set aside and is only noted in the Information Gaps statement.
3.1 DARPA AIxCC: A Scaled Validation of LLMs Orchestrating Classic Tools
3.1.1 Background
DARPA's AI Cyber Challenge (AIxCC) is a two-year competition requiring contestant teams to build Cyber Reasoning Systems (CRS) that autonomously discover and patch vulnerabilities in real open-source software. The finals took place in August 2025 at DEF CON 33 in Las Vegas, in collaboration with ARPA-H and frontier labs, with the final scoring round attempting to identify and generate patches for synthetic vulnerabilities across 54 million lines of code. The significance of this competition goes beyond rankings: it is the largest and most strictly judged public validation of "AI participating in security work" to date — vulnerabilities had to be confirmed by reproducible PoVs, patches had to pass tests, and no "model intuition"-style conclusion was accepted.
3.1.2 Approach
- Competition results (DARPA official figures, Grade A): champion Team Atlanta (Georgia Tech, Samsung Research, KAIST, POSTECH, system name ATLANTIS, $4 million prize), runner-up Trail of Bits (Buttercup, $3 million), third place Theori ($1.5 million). Across 63 challenges, 54 unique synthetic vulnerabilities were found, of which 43 were successfully patched; the identification rate rose from 37% in the semifinals to 86%, and the patching rate from 25% to 68%. Outside the competition, the teams' systems additionally discovered 18 real, non-synthetic vulnerabilities (0-days) — 6 in C codebases and 12 in Java codebases — responsibly disclosed to open-source maintainers, with the teams providing patches for 11 of them.
- Shared architecture (the core of this case study): the seven finalist teams converged on the same three-layer division of labor — the LLM layer handles semantic reasoning (spotting suspicious patterns, generating vulnerability hypotheses, writing PoVs and patches); the classic program analysis layer handles deterministic verification (directed fuzzing: AFL++ / libFuzzer; symbolic execution: KLEE / angr / Mayhem; static analysis: CodeQL / Semgrep / Joern); the orchestration layer, decided by the LLM, determines which classic tool to launch on which piece of code, reads results, refines hypotheses, and iterates. Key conclusion: "The LLM does not do vulnerability discovery; it orchestrates the tools that do the discovery and interprets the results. Vulnerabilities are confirmed by reproducible crashes (PoVs), not by the model's 'intuition'."
- Engineering details (per secyanbao's / secrss.com's Chinese review of the DARPA results, Grade B): Team Atlanta found that directly asking the LLM to "fix the vulnerability" worked poorly and required prompt engineering (role-playing) to guide the model toward hypothesis analysis first; 8-billion-parameter-class models (e.g., GPT-4o-mini level) often outperform much larger models on code pattern recognition — smaller models suffice to understand code structure and "overthink" less; Buttercup stuck with cheap non-reasoning models and kept its per-task cost to about $181, successfully generating a 300+-line patch that fixed an extremely complex vulnerability; the all_you_need_is_a_fuzzing_brain system was over 90% written with AI assistance and, through high concurrency across one hundred virtual machines, found the most 0-days.
- Cost and openness: the average cost per competition task was about $152 (vs. bounties of hundreds of thousands to hundreds of millions of dollars per vulnerability); four of the seven teams open-sourced their CRS under OSI licenses within two weeks after the competition; DARPA and ARPA-H added $1.4 million in prizes to drive the technology toward critical infrastructure software; total competition prize pool was $30.9 million.
3.1.3 Outcomes
- The paradigm was validated: the 37%→86% identification rate leap occurred on the same generation of models, with all the gains coming from improvements in orchestration and tool invocation — this provides the hardest empirical evidence to date that "the investment focus of an AI Harness should be tool orchestration and the evidence-judgment pipeline, not larger models".
- The judgment standard was solidified: 54 synthetic vulnerabilities and 18 real 0-days were all confirmed by reproducible PoVs. AI output carries zero weight in the judgment stage — a model example of reconciling "model uncertainty ↔ engineering decidability".
- Open-source spillover: four teams open-sourced within two weeks after the competition, and the CRS architecture (hypothesis generation → tool orchestration → PoV judgment) can be directly borrowed and adapted by enterprise AppSec teams.
Implications for the Security Harness design: the AIxCC architecture maps directly onto the six Harness layers — the orchestration layer is L3 (LLM planning and scheduling), classic analysis tools are L2 (deterministic execution), PoV reproducibility is the veto metric of L5, and "hypotheses may be guessed wrong; judgments may not be guessed" is L6's principle for where judgment authority belongs. Chapter 5 of this group's README has generalized this paradigm across the whole group; the differentiator here is that the Security direction's judgment object (PoV) is the only one that can be automatically reproduced by machines, so the Security direction can push "judgment automation" to its limit while tightening "authorization automation" to its strictest.
3.2 Google Big Sleep: The First Time an AI Agent Directly Blocked an In-the-Wild Vulnerability Exploit
3.2.1 Background
The long-standing criticism of AI-enabled vulnerability discovery is that it finds much in the lab but little on the real battlefield; and even when a vulnerability is found, the credibility of an AI conclusion is insufficient to support disclosure and remediation decisions. Big Sleep, a project combining Google DeepMind and Project Zero (an AI-driven vulnerability research agent), discovered its first real-world vulnerability in November 2024 (an exploitable SQLite buffer overflow — which researchers had previously failed to find with traditional fuzzing), continued to discover multiple real vulnerabilities in 2025, and in 2025 completed the most consequential action in this direction to date.
3.2.2 Approach
- Key event: based on intelligence from Google Threat Intelligence, the Big Sleep agent discovered a SQLite vulnerability, CVE-2025-6965 (CVSS 7.2) — known only to threat actors and at risk of exploitation; Google's official statement said "we believe this is the first time an AI agent has been used to directly frustrate an in-the-wild exploitation attempt." The vulnerability was a memory corruption caused by the number of aggregate terms potentially exceeding the maximum number of columns, and was fixed in SQLite version 3.50.2 (late June 2025) (Google official and SecurityWeek, Grade A).
- Ongoing output: in November 2025, Apple credited Big Sleep with discovering 5 security flaws in Safari's WebKit: CVE-2025-43429 (buffer overflow), CVE-2025-43430 (state management), CVE-2025-43431 and CVE-2025-43433 (memory corruption), CVE-2025-43434 (use-after-free), fixed in iOS/iPadOS/macOS 26.1 and later (per The Hacker News report, Grade B).
- Governance mechanism (maps directly to Harness L6): every Big Sleep vulnerability finding was verified by Project Zero analysts before disclosure; Google published a whitepaper on how to build AI agents with secure design principles — protecting privacy, reducing the risk of "rogue behavior", and ensuring agents operate under human oversight and transparency; all publicly disclosed Big Sleep vulnerabilities are queryable on the issue tracker. Supporting actions include donating the Secure AI Framework data to the Coalition for Secure AI (CoSAI) and collaborating with DARPA AIxCC.
3.2.3 Outcomes
- From "finding vulnerabilities" to "blocking in-the-wild exploitation": the CVE-2025-6965 event marks the first time an AI agent directly participated in cutting off an anticipated real attack, rather than merely adding to a discovery list.
- The "threat intelligence × agent research" combined paradigm holds: Big Sleep did not scan blindly; it was guided by intelligence, then performed targeted deep investigation in specific components — this is isomorphic to AIxCC's "hypothesis-driven + tool orchestration", except the hypothesis source shifted from code patterns to threat intelligence.
- The verification mechanism was not omitted: all findings were verified by human analysts before disclosure — AI increased the yield and speed of discovery, but did not change the chain of responsibility for disclosure.
Implications for the Security Harness design: Big Sleep provides the governance template for "AI agents doing vulnerability research": the agent produces candidate findings, analysts verify then disclose, and the whole process is traceable. Any process that treats an "AI discovery" as directly equivalent to a "confirmed vulnerability" and triggers disclosure or remediation skips the necessary judgment stage; Harness should implement "analyst verification" as a mandatory state-machine node, not a skippable recommendation.
3.3 AI SOC and Breach Cost: The IBM 2025 Report and an Academic Benchmark
3.3.1 Background
SOC intelligence is the security AI scenario that scaled first, but the market data is a mixed bag — many vendor-claimed noise-reduction rates and MTTR improvements cannot be traced to a primary source. IBM and the Ponemon Institute's Cost of a Data Breach Report 2025 (released 2025-07-30, covering 600 organizations and breaches occurring between 2024-03 and 2025-02) is one of the few third-party quantitative sources that can be treated as Grade A; CyberSentinel-LLM (published in Computers, Materials & Continua, vol. 89, no. 1, 2025) provides an academic benchmark with a complete experimental setup. This case study is based primarily on these two data sets; vendor-claimed data is excluded.
3.3.2 Approach
- Key figures from the IBM 2025 report (Grade A): the global average breach cost was $4.44 million (down 9% from $4.88 million the prior year, the first decline in five years), while the US average of $10.22 million set a record high; the global average breach lifecycle was 241 days (158 days to identify + 83 days to contain, a nine-year low). Organizations that use AI and automation extensively in security operations saved an average of $1.9 million in breach costs and saw their breach lifecycle shortened by 80 days ($3.62 million average cost vs. $5.52 million for non-adopters).
- AI itself becomes an attack surface (Grade A): 13% of organizations reported breaches of their AI models or applications (another 8% uncertain), and 97% of breached organizations had not deployed AI access controls; 60% of AI-related security incidents led to data theft and 31% to operational disruption; 63% of breached organizations either had no AI governance policy or were still drafting one; only 34% of organizations with policies regularly audited unauthorized AI. Shadow AI: one in five organizations suffered a breach due to shadow AI, and only 37% had a policy for managing or detecting shadow AI; high-shadow-AI organizations averaged $670,000 higher breach costs.
- Attackers are using AI too (Grade A): 16% of breaches involved attackers using AI tools, most commonly AI-generated phishing (37%) and deepfake impersonation (35%); among initial attack vectors, phishing (16%) replaced stolen credentials as the most common vector.
- Academic benchmark (Grade B): CyberSentinel-LLM ran on a 7-day continuous HDFS log stream (18.3 million records with 287 injected anomalies), reporting: MTTD 2.3 minutes (8.1× better than a human SOC), autonomous response initiation at 45 ms, a false positive rate of 1.2% (vs. 3.8% for a traditional SIEM), and an automation rate of 94.2% (only 5.8% of events required human approval because they involved high-impact resource changes). In a 5-point Likert-scale survey of 8 SOC analysts: reduction in repetitive triage work 4.6/5.0, complete forensic reports 4.3/5.0, but trust in autonomous response suggestions was only 3.9/5.0 — the paper therefore recommends first releasing in "detection-only" mode and enabling automated response later.
3.3.3 Outcomes
- The benefit is confirmed but attributed to the "AI + automation" combination: the $1.9 million and 80-day improvements come from organizations using AI and automation extensively as a whole, showing that the value comes from the intelligence of the "detect—triage—respond" pipeline, not from a single-point model.
- The governance gap is quantified: 97% lack AI access controls, 63% have no AI governance policy, and 1 in 5 suffered a breach due to shadow AI — these three figures turn "governing one's own AI assets" from a compliance initiative into a quantifiable, costly risk. This corresponds to the three key mitigation categories MITRE ATLAS gives: GenAI guardrails, AI Bill of Materials (AI BOM), and AI telemetry logs (ATLAS April 2026 update, Grade A).
- Trust lag is evidenced: the gap between capability recognition (4.6/5.0) and trust (3.9/5.0) corroborates Big Sleep's practice of "analyst verification before disclosure", and together they point to the gradual-authorization route of "detect first, then automatically respond" (Chapter 5 of this group's README already cites this conclusion; the concrete form for this direction is the response-tiering design in section 4.1).
Implications for the Security Harness design: the rollout order for AI SOC should be: first do full detection and triage (the capability-recognition zone), then open automated closed loops for low-risk, high-confidence actions (the trust-building zone), and always keep human approval for high-impact resource changes (the trust-floor zone). At the same time, one's own AI assets must be brought into scope for protection: the access controls, logs, and governance policies of AI systems are protected to the same degree as the business data they process.
4. Practice Standards
4.1 AGENTS.md Specification
The following is the recommended full AGENTS.md for the Security direction. This is a draft proposal; there is no official industry standard, and it may be copied directly and trimmed to the organization's actual situation. This file inherits all the bottom-line clauses of the group-level AGENTS.md; the following are the tightened SOPs for security scenarios.
# AGENTS.md —— Security 安全
> 本文为建议稿,业界无官方标准。本文件继承组级 AGENTS.md 全部底线条款(证据链、
> 职责分离、人在回路、数据分级、审计留痕、禁止事项),以下仅列安全方向的加严项。
## 角色与边界
- 角色:告警分诊者、漏洞假设生成者、分析工具编排者、PoV 复现执行者、
取证初排者、遏制方案起草者。
- 不是:最终判定者(判定由确定性工具输出 + 值班分析师确认)、
披露决定者、生产环境变更执行者、情报结论发布者。
- 判定权归属(本方向第一原则,源自 DARPA AIxCC 决赛共性架构):
模型负责假设生成与工具编排;确定性工具(fuzzing、符号执行、静态分析、
EDR 检测规则)与签字的人负责判定;漏洞以可复现的 PoV 确认,而非模型的"直觉"。
- 双向治理角色:智能体既是对外防御的参与者,也是自身 AI 资产的被治理对象
(AI BOM、遥测日志、护栏须登记在册)。
## 环境假设
- 存在 SIEM/SOAR 平台(告警聚合与剧本编排)、EDR(终端检测与响应)、
漏洞管理平台(SAST/DAST 结果汇总)、沙箱执行环境与隔离测试网络。
- 漏洞验证在**隔离沙箱**内进行:目标服务、恶意载荷、fuzzer 全部运行于
可随时销毁的隔离环境,禁止对生产环境直接验证。
- 存在动作白名单与 dry-run 机制:SOAR 剧本中的每一步动作支持预演模式,
预演输出与真实执行输出格式一致。
- 存在 append-only 事件与证据存储;遏制动作执行前强制完成现场快照固定。
- 威胁情报源带时效与置信标记;资产台账(含 AI 资产)持续更新。
## 上下文加载顺序(Context Budget)
1. 任务契约(分诊/挖掘/响应、资产范围、授权边界、允许动作清单)。
2. 现行有效检测规则与响应剧本版本(含规则 ID 与生效版本)。
3. 威胁情报(带来源、置信度、时效);资产台账(含 AI BOM)。
4. 本次任务原始材料(告警、日志、代码、扫描结果)。
5. 补充资料(预算不足时最先裁剪)。
硬约束:CVE 编号、攻击技法(ATLAS/ATT&CK 技法 ID)必须来自情报库检索,
不得取自模型记忆;情报超时效的必须降级为"未确认线索"。
## 工具契约
| 工具 | 风险等级 | 说明 |
|---|---|---|
| 日志与告警检索(SIEM) | R0 | 只读,返回原始日志指针 |
| 情报与 CVE 检索 | R0 | 只读,返回来源与时效 |
| 代码静态分析(SAST:CodeQL / Semgrep 等) | R0 | 只读;输出仅作假设来源 |
| 动态测试(DAST / fuzzing / 符号执行) | R1 | 仅限沙箱内;输出 PoV 或崩溃证据 |
| PoV 复现执行 | R1 | 沙箱内;复现结果哈希固化 |
| EDR 遥测读取 | R0 | 只读 |
| EDR 隔离主机 / 封禁 IP / 断网 | R3 | **默认关闭**;仅预授权清单内、沙箱或演练环境可自动执行 |
| 生产防火墙 / 网段变更 | R3 | 永久关闭;生成待执行工单,由值班工程师执行 |
## 任务执行流程(SOP)
1. 任务登记:类型(分诊 / 挖掘 / 响应)、资产范围、授权边界、数据分级。
2. 上下文装载:规则版本、情报(含时效)、资产台账(含 AI BOM)、原始数据。
3. 假设生成:模型对告警/代码/日志生成候选假设清单(允许猜错,逐条附依据)。
4. 工具编排:按假设调度确定性工具(fuzzing / 符号执行 / 静态分析 / EDR 查询),
记录每次调用的工具名、参数、返回与哈希。
5. **PoV 判定(强制环节)**:漏洞类结论必须以沙箱内可复现 PoV 确认;
复现失败或不可复现的,结论降级为"未确认假设",不得进入漏洞报告。
6. 分级处置:
- 仅检测类(告警合并、评分、报告初稿):可自动完成,输出待确认结论。
- 沙箱内动作(PoV 复现、样本 detonation):预授权范围内自动执行。
- 影响生产的遏制动作(隔离、封禁、断网):生成 dry-run 预演报告,
经值班分析师确认后由人执行;预授权清单内的限自动执行并即时告警。
7. 证据固定:事件时间线、PoV、日志快照写入 append-only 存储,链式哈希。
8. 人工确认:分诊结论与响应决定由值班分析师确认并留痕(确认人、时间、内容快照)。
9. 复盘回流:误报/漏报结论回流评估回归集与检测规则库。
## 验证与证据要求
- 漏洞报告必须包含:PoV 输入、复现步骤、复现环境快照、复现结果哈希——
**PoV 复现率 100% 是一票否决指标**。
- 告警分诊结论必须附原始日志指针与情报出处(含时效标记)。
- 遏制动作必须附:dry-run 预演输出、授权依据(预授权清单条目或人工确认记录)、
执行前后状态快照。
- 模型输出在报告中仅出现于"假设与分析"段,不得出现于"事实判定"段。
## 失败与升级策略
- PoV 无法复现 → 结论作废并留痕;同一假设不得以"模型置信度高"为由保留。
- 工具调用失败 → 重试不超过 2 次,随后转人工并保留现场(继承组级)。
- 疑似智能体被提示词注入劫持(输出偏离任务、试图调用 R3 工具、访问无关资产)→
立即切断智能体权限、冻结会话快照,按安全事件上报(L3)。
- 遏制动作影响评估不足(波及非授权资产)→ 自动回退预演,转人工决策。
## 安全与合规红线
- 智能体自身执行最小权限(对应 OWASP LLM Top 10 2025 LLM06 过度授权);
系统提示不假定与外部访问隔离(LLM07)。
- AI 资产(模型、智能体、数据管道、AI BOM、遥测日志)的访问控制与治理政策,
与被其处理的业务数据同等保护(对应 IBM 2025:97% 的 AI 相关攻陷缺乏 AI 访问控制)。
- 遵守《中华人民共和国网络安全法》新增第二十条(2026-01-01 施行):
运用人工智能提升网络安全保护水平,同时落实全生命周期风险监测评估。
- 渗透测试与漏洞挖掘仅在授权范围内进行;未经授权不得触碰第三方系统。
- 遵守《人工智能生成合成内容标识办法》(2025-09-01 施行)第 6、7、10 条:
生成内容保留显式与隐式标识,不得恶意删除、篡改、伪造、隐匿。
- 涉及生成式 AI 服务本身的,参照 GB/T 45654—2025 模型安全要求(后门监测、
安全审计与漏洞修复、训练与推理环境隔离)执行。
- 生成式 AI 供应链安全参照 NIST SP 800-218A(SSDF 1.1)的安全开发实践执行。
## 禁止事项
1. 禁止把模型对漏洞的存在性判断直接写入漏洞报告(必须附 PoV)。
2. 禁止在未经 PoV 确认的情况下向任何外部方(含厂商、CVE 编号机构)提交漏洞。
3. 禁止在生产环境执行验证性攻击、fuzzing 或破坏性命令。
4. 禁止智能体自主执行影响生产的遏制动作(预授权清单与沙箱环境除外)。
5. 禁止隐瞒或绕过 dry-run 直接执行写动作。
6. 禁止把未经脱敏的告警数据(含个人信息)发送至公共模型平台。
7. 禁止使用超时效威胁情报作为处置依据而不作降级标注。
8. 禁止删除或修改事件时间线与 PoV 证据;复盘结论走追加记录。
## 输出格式
- 分诊报告:告警 ID、合并结论、证据指针、置信依据、建议处置、确认状态。
- 漏洞报告:目标组件、漏洞描述、PoV(输入 + 步骤 + 复现哈希)、影响评估、
修复建议、验证状态(沙箱已复现 / 待复核)。
- 响应报告:事件时间线、遏制方案(含 dry-run 结果)、授权与执行记录、复盘要点。
- 每份输出附带:规则与情报版本、模型与提示词版本、工具调用日志摘要、链哈希。
## 评估与自检
- 回归集:历史事件(已确认真伪的告警)+ 已验证漏洞(PoV 库)。
- 核心指标:MTTD、MTTR、误报率、PoV 复现率(一票否决)、
自动化率(并区分"仅检测自动"与"响应自动"两档统计)。
- 红队与压力测试:至少覆盖提示词注入、越权调用、敏感信息泄露三类
(对应 NIST AI 600-1 GenAI 风险与 ATLAS 缓解措施)。
- 自检:禁止事项逐条对照;R3 动作清单逐条核对授权记录;
AI BOM 与遥测日志登记完整性抽查。 4.2 SKILL.md Specification
The following is the recommended full SKILL.md for the Security direction. This is a draft proposal; there is no official industry standard. This skill is engineered on the blueprint of the AIxCC "hypothesis generation → tool orchestration → PoV judgment" paradigm.
---
name: vuln-hypothesis-pov-verify
description: 漏洞假设生成与 PoV 复现验证。对目标代码或组件生成漏洞假设清单,编排 fuzzing、符号执行与静态分析等确定性工具进行验证,仅输出沙箱内可复现 PoV 的漏洞结论。适用于授权渗透测试、开源组件漏洞排查与 SAST 结果深挖场景。
version: 1.0
created: 2026-09-12
---
# 漏洞假设生成与 PoV 复现验证
## 适用场景
- 适用:授权范围内的渗透测试、自有或开源组件的漏洞排查、SAST 高危告警的
深挖与降噪、竞赛型/批量化漏洞发现流水线(AIxCC 范式)。
- 不适用:未授权目标测试;生产环境验证;对不可复现问题出具漏洞结论。
## 前置条件
- 已获得书面测试授权(目标、范围、时间窗、禁止动作清单)。
- 隔离沙箱环境可用(可随时销毁;与生产网络隔离)。
- 确定性工具可用:fuzzer(AFL++ / libFuzzer 等)、符号执行(KLEE / angr 等)、
静态分析(CodeQL / Semgrep / Joern 等)。
- PoV 证据存储可写入(append-only,含哈希)。
## 输入
| 输入项 | 必填 | 说明 |
|---|---|---|
| 目标代码 / 组件与版本 | 是 | 精确到版本号与提交哈希 |
| 测试授权文件 | 是 | 范围、时间窗、禁止动作清单 |
| SAST / 情报输入(可选) | 否 | 静态扫描结果或威胁情报,作为假设来源 |
| 资产与依赖清单 | 是 | 判断影响面(含 AI BOM 条目,如目标为 AI 组件) |
| 数据分级 | 是 | 涉密代码仅限受控环境 |
## 输出
| 输出项 | 说明 |
|---|---|
| 假设清单 | 假设描述、来源(SAST/情报/模型推理)、优先级、依据 |
| 工具编排日志 | 每次调用的工具、参数、目标、返回与哈希 |
| PoV 包 | 触发输入、复现步骤、环境快照、崩溃输出、结果哈希 |
| 未确认假设清单 | 无法复现的假设及其排除原因(不得静默丢弃) |
| 影响评估与修复建议 | 基于 PoV 的影响面;修复建议须标注"待人工复核" |
| 留痕信息 | 代码版本哈希、工具版本、模型与提示词版本 |
## 执行步骤
1. 校验授权文件与目标范围;超范围目标直接列入"未授权"并中止该目标。
2. 装载目标代码与依赖清单,记录版本哈希;建立沙箱实例。
3. 假设生成:模型基于代码模式、SAST 结果与威胁情报产出候选假设清单
(允许猜错;每条附依据与优先级)。
4. 工具编排:按假设调度确定性工具——fuzzing 探测输入解析路径、
符号执行深挖约束路径、静态分析确认 sink-reachable;记录全部调用。
5. PoV 构造与复现:对命中的假设构造触发输入,在沙箱内复现崩溃;
固化输入、步骤、环境快照与输出哈希。
6. 复现复核:每个 PoV 至少自动复现 2 次;不可稳定复现的降级为
"未确认假设"。
7. 影响评估与修复建议草稿:基于 PoV 与依赖清单评估影响面;
修复建议标注"待人工复核"。
8. 交付:漏洞报告(仅含已复现 PoV 项)+ 未确认假设清单 + 留痕信息。
## 质量标准(DoD)
- 一票否决:报告包含无 PoV 的漏洞结论;对未授权目标执行了任何探测;
在生产环境执行了验证动作;复现结果未哈希固化。
- PoV 自动复现成功率 100%(报告内所有 PoV 至少复现 2 次成功)。
- 未确认假设 100% 显式列出(可为零项,须声明),不得静默丢弃。
- 工具编排日志完整率 100%(工具名、参数、返回、哈希四要素齐全)。
- 报告中模型的"假设与分析"与工具的"事实判定"两个段落可清晰区分。
## 常见失败与处理
| 失败模式 | 表现 | 处置 |
|---|---|---|
| 模型幻觉漏洞 | 模型报告不存在或不可触发的漏洞 | 强制 PoV 判定;不可复现即作废并留痕 |
| 静态分析高误报 | SAST 海量告警淹没真漏洞 | 编排层按可达性与历史确认率排序分诊;不直接采信 |
| PoV 不稳定 | 崩溃依赖特定内存布局,时现时不现 | 提高复现次数并记录稳定性;无法稳定的按"未确认"处理 |
| 沙箱逃逸迹象 | 验证过程触碰沙箱外资源 | 立即销毁沙箱、冻结快照、按安全事件上报 |
| 版本漂移 | 目标组件版本与授权清单不一致 | 停止验证,重新确认授权范围 |
| 误报修复建议 | 建议修改未受影响的代码路径 | 修复建议强制标注"待人工复核"并附 PoV 依据 |
## 示例
输入:
- 目标组件:某开源数据解析库 v2.3.1(提交哈希 [待填写])
- 授权:内部渗透测试授权(时间窗 7 天;禁止动作:拒绝服务类测试)
- SAST 输入:静态扫描高危告警 3 条(堆溢出候选)
输出(节选):
| 假设编号 | 假设描述 | 来源 | 验证工具 | 结果 |
|---|---|---|---|---|
| H-01 | 聚合项数量超列数上限导致内存破坏 | 模型推理 + 情报 | 符号执行 + fuzzing | PoV 已复现(2/2) |
| H-02 | 边界长度校验缺失导致栈溢出 | SAST | fuzzing | 不可复现,排除 |
| H-03 | 整数溢出导致分配过小 | 模型推理 | 静态分析 + fuzzing | 不可复现,保留观察 |
> 说明:示例为格式演示。假设描述、复现哈希与影响评估必须以沙箱实际
> 执行结果填充;无 PoV 的假设一律不得进入漏洞报告正文。 4.3 Rollout Checklist
| No. | Check Item | Check Method | Pass Standard |
|---|---|---|---|
| 1 | PoV veto | Full review of vulnerability reports | 100% of vulnerability conclusions in a report are accompanied by a sandbox-reproduced PoV and result hash |
| 2 | Sandbox isolation | Environment and network verification | 100% of verification-type actions execute in an isolated sandbox, isolated from the production network |
| 3 | R3 action authorization | Authorization record review | 100% of isolation/block/disconnect actions have a pre-authorized allowlist entry or human-confirmation record |
| 4 | dry-run support | Playbook rehearsal | 100% of write actions in SOAR playbooks support rehearsal with consistent output format |
| 5 | Prompt injection protection | Red team testing | 100% of injection test cases cannot induce the agent to invoke R3 tools |
| 6 | AI asset access control | Permission audit | 100% of AI systems (models/agents/pipelines) have access controls deployed (vs. the IBM 97% gap) |
| 7 | AI BOM completeness | Inventory cross-check | 100% of models, datasets, and dependencies are registered and updated on change |
| 8 | AI telemetry logs | Log review | 100% of AI invocation logs are written to append-only storage |
| 9 | Shadow AI governance | Asset inventory and network audit | Unauthorized AI tools can be identified and have a handling process (vs. the 34% periodic-audit gap) |
| 10 | Intelligence timeliness | Triage spot checks | 100% of out-of-date intelligence is downgraded to unconfirmed leads |
| 11 | Alert data leaving the domain | Data flow review | 100% of alert data containing personal information never enters public model platforms |
| 12 | Evidence immutability | Storage permission review | 100% of event timelines and PoV evidence are append-only |
| 13 | Gradual authorization | Configuration review | Automated response scope matches trust tiers (detect first, respond later, keep human review for high impact) |
| 14 | Supply chain security | Development process review | 100% of generative AI component development follows NIST SP 800-218A practices |
| 15 | Regression set validity | Evaluation record review | Regression set is historical events + PoV library, with false positive rate and PoV reproducibility rate recomputed monthly |
5. Summary
The AI Harness for the Security direction is essentially a system that absorbs model uncertainty with deterministic tools and, in turn, governs its own AI assets.
Three conclusions:
First, "LLMs orchestrating classic tools, with PoV-confirmed reproducibility" is the verified architectural answer for the Security direction. DARPA AIxCC, with 54 million lines of code, 54 synthetic vulnerabilities, 18 real 0-days, and a per-task cost of about $152, proved this route can scale; the 37%→86% identification-rate leap came from orchestration improvements, not model upgrades. Google Big Sleep then proved the same paradigm also holds in the "threat-intelligence-driven" scenario, and that governance mechanisms (analyst verification before disclosure, a human-oversight whitepaper) can run in parallel with higher output. The direct corollary for Harness builders is: invest in the orchestration layer and tool contracts, rather than waiting for larger models.
Second, the Security direction is the dual pole of "judgment automation" and "authorization tightening". Vulnerability reality can be automatically reproduced by machines via PoV — the judgment stage can be made fully automatic; while the blast radius of destructive actions such as isolating hosts or blocking IPs is borne by assets and people — so the authorization stage must be the strictest. The AI SOC data further shows authorization should be gradual: analysts' recognition of capability (4.6/5.0) is significantly higher than their trust in autonomous responses (3.9/5.0), and "detect first, automatically respond later" is not conservatism but the route with the highest rollout success rate.
Third, AI itself is the largest new attack surface for the Security direction. Three figures from the IBM 2025 report — 13% of organizations reported AI breaches, 97% of breached organizations lack AI access controls, and 1 in 5 suffered a breach due to shadow AI — draw a defense line different from the traditional SOC. The three mitigations ATLAS gives (GenAI guardrails, AI BOM, AI telemetry logs), plus access controls and governance policies, constitute this direction's minimum L6 configuration. The depth to which security teams govern AI assets determines the true capability level of the AI security system.
Limitations that must be confronted: no domestically verifiable rollout case of "AI code review / SAST false-positive reduction" in the AppSec direction was obtained; the B-grade engineering details of AIxCC (smaller models outperforming much larger models, Theori's ~99.9% false positive rate, etc.) come from Chinese-community reviews and should be cited as such; the IBM report's "extensive use" lacks a unified definition, so the $1.9 million and 80 days should be read as between-group comparisons, not causal conclusions.
Information Gaps Statement
The following content could not be sourced from Grade A/B primary evidence; it is handled here under the "no fabrication" principle)Skip and must be independently verified when used:
- Quantified rollout cases of incident response (IR) and SOC on the Chinese side — no Grade A/B primary source was obtained; the alert-noise-reduction and MTTR improvement figures claimed by domestic vendors (e.g., Sangfor, Qi-Anxin, QingTeng Cloud Security, etc.) are all Grade C and were not used in this document.
- Verifiable rollout cases of "AI code review / SAST false-positive reduction" in the AppSec direction — none obtained; AIxCC is vulnerability discovery and patching validation and can partially substitute as evidence, but it is not an enterprise AppSec pipeline case.
- Gartner's maturity-curve positioning of AI SOC Agents (2025 peak of inflated expectations, 1—5% adoption) — a Grade C retelling, not used in this document; Gartner's prediction that "40% of enterprise applications will feature task-specific AI agents by 2026" is likewise a retelling.
- Details of ISO/IEC 27001:2022 Annex A controls and AI-related extensions — only the standard version and publication date were confirmed; clause details were not obtained.
- Original English sources of AIxCC's B-grade engineering details — "8-billion-parameter-class models often outperform much larger models on code pattern recognition," "Theori used Infer with a ~99.9% false positive rate," "Buttercup's per-task cost was about $181," etc., come from secyanbao (secrss.com)'s Chinese review of the DARPA results and were not traced back item by item to each team's technical report.
- The original survey-definition text of "widespread use of AI and automation" in the IBM 2025 report — the official press release confirmed the $1.9 million saved and 80 days shortened figures, but the questionnaire definition of "widespread use" was not sourced.
- EU AI Act timeline version conflict — because of rumors of adjustments under the AI Omnibus (May 2026 provisional agreement) (e.g., new timelines of 2026-12-02 / 2027-12-02 / 2028-08-02), this document takes the timeline published by the EU's official service desk as the baseline, treats the Omnibus adjustments as "proposed," and defers to the EU's official text as final.
- Chinese authoritative interpretations of and domestic implementation practices for NIST SP 800-218A — none obtained; this document only cites it as a practical reference for generative AI supply chain security.
6. References
- Decision to Amend the Cybersecurity Law of the PRC (Presidential Order No. 61), newly added Article 20 — National People's Congress, 2025. http://www.npc.gov.cn/c2/c30834/202601/t20260105_450980.html
- DARPA AI Cyber Challenge Finals Results (86%/68%, 18 0-days, $152) — DARPA, 2025. https://www.darpa.mil/news/2025/aixcc-results
- Review of the AIxCC Finals Results: The Paradigm of LLMs Orchestrating Classic Tools and PoV Judgment — secyanbao (secrss.com), 2025. https://www.secrss.com/articles/86038
- Cybersecurity updates: Summer 2025 (Big Sleep and CVE-2025-6965, Timesketch + Sec-Gemini, FACADE) — Google, 2025. https://blog.google/technology/safety-security/cybersecurity-updates-summer-2025/
- Google's AI Big Sleep finds 5 new WebKit vulnerabilities — The Hacker News, 2025-11. https://thehackernews.com/2025/11/googles-ai-big-sleep-finds-5-new.html
- IBM Report: 13% of Organizations Reported Breaches of AI Models or Applications — IBM / Ponemon Institute, 2025-07-30. https://newsroom.ibm.com/2025-07-30-ibm-report-13-of-organizations-reported-breaches-of-ai-models-or-applications,-97-of-which-reported-lacking-proper-ai-access-controls
- OWASP Top 10 for LLM Applications (2025 edition) — OWASP GenAI Security Project. https://genai.owasp.org/llm-top-10/
- MITRE ATLAS (Adversarial Threat Landscape for Artificial-Intelligence Systems) — MITRE. https://atlas.mitre.org
- Secure AI v2 Release (ATLAS April 2026 update) — MITRE CTID, 2026-05-06. https://ctid.mitre.org/blog/2026/05/06/secure-ai-v2-release
- Secure Software Development Practices for Generative AI and Dual-Use Foundation Models (NIST SP 800-218A) — NIST CSRC, 2024. https://csrc.nist.gov/pubs/sp/800/218/a/final
- ISO/IEC 27001:2022, Information security, cybersecurity and privacy protection — ISMS — Requirements — ISO, 2022-10. https://www.iso.org/standard/27001
- Interpretation of GB/T 45654—2025, Network Security Technology — Basic Requirements for Generative Artificial Intelligence Services — National Information Security Standardization Technical Committee (SAC/TC260). https://www.tc260.org.cn/tc260/hygd1/202403/b429d868525e48c3b7d12a0ec8f82e5e.shtml
- Notice on Issuing the Measures for Labeling AI-Generated Content (Letter of the CAC No. 2 [2025]) — CAC and three other departments, 2025. https://www.cac.gov.cn/2025-03/14/c_1743654684782215.htm
- CyberSentinel-LLM — Computers, Materials & Continua, vol. 89, no. 1, 2025, Tech Science Press. https://www.techscience.com/cmc/v89n1/68397/html
- EU AI Act — Implementation Timeline (based on the EU official service desk) — European Commission AI Act Service Desk. https://ai-act-service-desk.ec.europa.eu/en/ai-act/timeline/timeline-implementation-eu-ai-act