# How benchmarks evaluate AI models' ability to find and exploit vulnerabilities

> Original title: How do we eval if a model can find and exploit vulnerabilities? We discuss some benchmarks and the common pattern:

- Source: Eugene Yan
- Published: 2026-06-25T00:38:00.000Z
- Bad Influence: https://badinfluence.news/items/sy37rwg0hilbouk0639aya5ih
- Original: https://x.com/eugeneyan/status/2069943153843691871

## Summary

The post explains how cybersecurity benchmarks test whether models can find and exploit vulnerabilities. Common setups place a target in a sandboxed Docker container, provide either only code (0-day) or code plus a patch (1-day), allow tools like bash and static analyzers, and use a grader to score exploits or captured flags.

## Post

How do we eval if a model can find and exploit vulnerabilities? We discuss some benchmarks and the common pattern:
• A sandboxed target within Docker containers
• Inputs: code only (0-day), with patch (1-day scenario)
• Tools such as bash, static analyzers, etc.
• A grader to eval exploits or captured flags

https://eugeneyan.com/writing/cybersecurity-evals/
