AWS Benchmark Aims to Reduce Number of False Positives Found by AI Vulnerability Scanners

AWS Benchmark Aims to Reduce Number of False Positives Found by AI Vulnerability Scanners
The practical significance of AWS’s benchmark is less about model leaderboard positioning and more about forcing security teams to redefine what “good” AI-assisted vulnerability detection should mean in production. High recall is not enough if the downstream effect is alert inflation, triage backlog and declining trust in scanner output. For DevSecOps teams, false positives are not just noise; they consume finite verification capacity and can delay remediation of genuinely exploitable issues.

The more important technical shift is the move from code-only judgment to exploitability-aware assessment. That has direct implications for how AI scanners should be integrated into pipelines. If the model evaluates snippets without infrastructure context, network controls, runtime configuration and deployment topology, it will systematically over-report. In practice, that means organizations should be wary of treating AI code scanning as a standalone control. It is better positioned as one input in a layered workflow that correlates source findings with IaC, Kubernetes policy, service reachability and compensating controls before creating tickets or blocking releases.

The benchmark also highlights an architecture question vendors and platform teams will need to answer: where does environmental reasoning happen? Some will push it into the model prompt, others into post-processing and policy engines, and others into simulation or proof-of-exploit stages. Each choice trades off latency, cost and operational complexity against precision. Teams evaluating these tools should therefore measure not only detection rates, but also reviewer time saved per finding, suppression durability and how well the system explains why an issue is exploitable in a specific deployment context.


 

Amazon Web Services (AWS) has developed a benchmark that can be used to test whether a model can distinguish real vulnerabilities from code that looks risky but is actually safe.

The Deception Benchmark was created following an evaluation of the capabilities of 12 models from five different providers. In all, the benchmark includes 14,822 samples of code built using 16 different languages spanning more than 70 Common Weakness Enumeration (CWE) categories. Each sample is run through an adversarial loop to generate code, test it against frontier models, harden, repeat. If a model gets it right easily, the sample is removed.

According to the benchmark, every AI model has the same fundamental issue. While they identify up to 95% of real vulnerabilities, they also flag 41 to 99% of safe code. Proof-of-exploit prompting can cut false positives by 17 to 74 percentage points but misses 7% to 44% of real vulnerabilities. The environment-gated challenges are worse: models flag the code and ignore the Kubernetes Network Policy next to it. No tested configuration keeps both false positives and false negatives below 10%, according to the benchmark.

 

To provide those assessments, the Deception Benchmark creates two distinct types of challenges for AI models. Code-level challenges present vulnerable and safe variants that differ by a subtle fix. Both look suspicious, but only one is exploitable. Environment-gated challenges go a step further by using that same code to test specific IT environments to determine, for example, if a Kubernetes network policy blocks a server-side request forgery (SSRF) path. That foundation, for example, then makes it possible for CyberGym agents to test on more than 1,500 realistic tasks while another AI agent invokes the CYBENCH framework to evaluate capture the flag (CTF) challenges.

Additionally, the benchmark is designed to treat labeling as a convergent audit loop rather than a one-time step. Every label is re-examined independently by multiple reviewers who do not see one another’s assessments or the original reasoning behind the label. Disagreements escalate to direct adjudication, where the original reasoning is evaluated against the challenge. Unresolved cases are then passed on for human review.

Neha Rungta, director of applied science at AWS, said ultimately the goal is to identify the AI models that generate the fewest number of false positives when used to scan for vulnerabilities. That issue is becoming problematic because as AI models are used to scan for vulnerabilities, many DevSecOps teams are now wasting more time than ever investigating vulnerabilities that turn out to be false alarms.

Preventing those false positives requires AI models that reason not just about the existing code, but also how a remediation might impact the surrounding environment, noted Rungta. The goal is to provide the context needed to enable AI models to better understand what good should actually look like when fixing a vulnerability, she added.

Mitch Ashley, vice president and practice lead for software lifecycle engineering at the Futurum Group, said false positives are verification debt that ultimately undermines confidence in AI findings. AI scanners that read code without the environment around it cannot tell an exploitable path from a blocked one, he added. A model that flags safe code as vulnerable is only making more work for DevSecOps teams, noted Ashley.

Just how much work AI models are creating for DevSecOps teams is unclear, but other reports suggest that the more complex the environment, the less helpful AI becomes. Hopefully, as AI continues to evolve, these tools and platforms will not just be used to discover vulnerabilities but also fix them in a way that requires as little intervention from a DevSecOps team as possible.

Original Post>

Enjoyed this article? Sign up for our newsletter to receive regular insights and stay connected.

Leave a Reply