跳到正文
原文
AISecHub· @AISecHub · X·本站收录· 原文发表· 工具 →

安全实践者称给 AI 审计智能体写明威胁模型可最大幅度减少误报

AI 导读

一位安全实践者称,让 AI 代码审计智能体读取仓库根目录的 THREAT_MODEL.md,是其见过的误报降幅最大的一项改进。该文档需覆盖系统做什么与如何部署、需要保护的对象、谁在哪些操作上可信、攻击者能访问或控制什么、不可信输入从何处进入、哪些安全规则必须始终成立,以及哪些内容不在范围内及原因。该实践者称,在最新的前沿模型上,模型幻觉在减少,但基于对系统的错误假设得出的发现增多,这已成为误报的主要来源。其建议以 OpenAI Codex Security 的 threat-model skill 作为起点,但文档应由开发者自己维护,逐条核实,并随代码库演进保持更新。

正文 · 原文

https://github.com/openai/codex-security/blob/main/plugins/codex-security/skills/threat-model/SKILL.md

引用nisedo@nisedo
The biggest reduction in false positives we’ve seen in AI auditing came from giving the agent a clear threat model. Put a THREAT_MODEL.md at the repo root and tell the agents to read it. Cover: • What the system does and how it’s deployed • What needs protecting • Who is trusted, and for which actions • What an attacker can access or control • Where untrusted input enters • Which security rules must always hold • What’s out of scope, and why With the latest SOTA models, we’re seeing fewer hallucinations but more findings based on incorrect assumptions about the system, which is now the main source of false positives. Codex Security’s threat-model skill is a good starting point, but the devs should own the document, verify every claim, and keep it up to date as the codebase evolves. https://github.com/openai/codex-security/blob/main/plugins/codex-security/skills/threat-model/SKILL.md
在 X 查看被引用的帖子

来源:AISecHub · x.com