Skip to content

Back to the catalog

The state of AI for security: Measuring what matters most for building trust
aws.amazon.comarticle

The state of AI for security: Measuring what matters most for building trust

AWS Security announces Deception Benchmark, a 14,822-sample dataset across 16 languages and 70+ CWE categories designed to test whether AI models can tell exploitable vulnerabilities apart from code that merely looks risky but is safely mitigated (e.g., parameterized SQL queries, Kubernetes Network Policies blocking SSRF). Evaluating 12 frontier models from five providers, the team found none achieved both false-positive and false-negative rates below 10%, with precision clustering in the mid-50s — essentially coin-flip accuracy when flagging vulnerable vs. safe code. The dataset, evaluation harness, and whitepaper are released on GitHub, with roughly a third of samples held out unscored to resist benchmark gaming.

TL;DR AWS's new Deception Benchmark shows 12 frontier LLMs can't reliably tell real vulnerabilities from safely-mitigated code lookalikes, with precision stuck near 50-70%.
Also seen from another angle🧠 AI →
Document

What it is

AWS Security's Deception Benchmark, released alongside a whitepaper and GitHub repo, is built on two distinct challenge types: 6,988 "code-level" samples where vulnerable and safe variants differ by a subtle fix, and 2,707 "environment-gated" samples where identical code is exploitable or not depending on deployment context (e.g., a Kubernetes Network Policy or IAM boundary).

How it works

Samples were built through an adversarial loop — generate, test against frontier models, harden, repeat — discarding any sample a model got right easily, so the benchmark is calibrated at the frontier rather than below it. Generation and hardening consumed tens of billions of tokens. Labels go through a convergent audit loop: multiple blind independent reviewers, escalation to adjudication on disagreement, and unresolved disputes are moved to the unscored pool rather than relabeled — so a bad challenge can be dropped but a wrong label can never enter the scored set. The team reports convergence under a 3% dispute threshold, targeting under 1% surviving human adjudication, and a 100-sample human audit found no label errors.

What to do

Two concrete mitigation levers the post names: proof-of-exploit prompting, and agentic/multi-step verification harnesses. Proof-of-exploit prompting cut false positives by 17–74 points but increased false negatives, missing 7–44% of real vulnerabilities — a direct tradeoff, not a fix. Multi-step agentic harnesses were explicitly not tested here; the post flags them as a different operating point and invites builders to run them against the benchmark to see if scaffolding closes the gap. For teams evaluating AI security vendors now: ask for performance on distinguishing real vs. false-positive vulnerabilities (not just detection rate), and pair AI review with human verification on high-risk code paths. The dataset and submission instructions for verified scoring are on GitHub.

Caveats

The post itself cautions that agentic verification is proven mostly on offensive tasks with a clear success oracle (exploit fires or not); judging "this code is safe" has no equivalent oracle, so extra iterations may just re-sample the same judgment rather than confirm a negative — meaning a harness still inherits the base model's single-turn understanding gap. Labels are withheld from the public release specifically to prevent the benchmark from becoming a memorization target, and roughly a third of samples (5,127 of 14,822) are unscored and mixed in for the same reason.

Organisations named here

  • GPT-6 Astra

Technologies named here

  • GPT-6 Astra
  • Deception Benchmark
  • Flask
  • CyberGym
  • CyberSecEval
  • Kubernetes
  • CyberSecEval2
  • Cybench
  • SEC-Bench
  • VulnBench
  • ExploitGym
  • Project Perception
  • GPT-Red
  • LLM
  • AWS

Techniques named here

  • SQL injection
  • Privilege escalation
  • Proof-of-exploit prompting
  • Self-play red-teaming
  • Multi-agent red/blue/green teaming
  • SSRF