Skip to content
AISecHub· @AISecHub · X·Indexed by this site · Originally published· Tools →

Security practitioner says writing a threat model for AI audit agents most greatly reduces false positives

AI summary

A security practitioner says having an AI code audit agent read THREAT_MODEL.md at the repository root is the single improvement with the largest reduction in false positives they have seen. The document needs to cover what the system does and how it is deployed, what needs to be protected, who is trusted for which operations, what attackers can access or control, where untrusted input enters, which security rules must always hold, and what is out of scope and why. The practitioner says that on the latest frontier models, model hallucinations are decreasing, but findings based on incorrect assumptions about the system are increasing, and this has become the main source of false positives. They suggest starting from OpenAI Codex Security's threat-model skill, but the document should be maintained by the developers themselves, verified item by item, and kept up to date as the codebase evolves.

Full text · Original

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

Quoted postnisedo@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
View the quoted post on X

Source: AISecHub · x.com