Skip to content
项目

关于

ExploitGym 是一个大规模、贴近现实的基准测试集,基于真实世界中的漏洞构建,用于评估 AI 智能体开发漏洞利用程序的能力。

安全与隐私

这些数字如何统计

实测星标增长

24小时
+2
7天
+8
15天
+23
1个月
+82

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

ExploitGym

Website Paper License

ExploitGym is a large-scale, realistic benchmark built from real-world vulnerabilities across userspace programs, Google's V8 engine, and the Linux kernel, designed to evaluate AI agents' ability to develop exploits.

Quick start

# 1. Python deps
uv sync --extra proxy

# 2. Build runtime artifacts (gdb, socat, nc, node + agent CLIs) and
#    extract task data
bash scripts/setup/setup_data.sh

# 3. Verify the install
bash scripts/setup/validate.sh

# 4. Pull the Firewall Squid image
docker pull ubuntu/squid:latest

# 5. Pull the Docker images for the tasks you want to run
uv run scripts/setup/pull_images.py data/task_ids/sample.txt

# 6. Start the controller, firewall, and LLM proxy. pre_run.py runs the
#    readiness checks and starts all three (auto-detecting any already
#    running), or start them by hand — see docs/eval.md
export OPENAI_API_KEY=...
export ANTHROPIC_API_KEY=...
uv run scripts/setup/pre_run.py data/task_ids/sample.txt

# 7. Run the agent. Export the env vars pre_run.py printed: the LLM proxy
#    admin key plus the controller's three generated secrets, which the
#    runner needs to mint task tokens and derive expected flags
export CYBERGYM_ADMIN_KEY=...
export CYBERGYM_SERVER_SALT=...
export CYBERGYM_SERVER_FLAG_SEED=...
export CYBERGYM_SERVER_API_KEY=...
uv run examples/run_agent.py --help

No secret is baked into the repo: the controller generates its token salt, flag seed, and API key on startup (or takes them from those env vars) and both ends must use the same values — see Controller secrets.

Detailed setup steps (system dependencies, GDB, static node, agent CLIs) live in docs/setup.md.

Documentation

  • Setup: Python deps, GDB, socat/nc, node + agent CLIs
  • Docker images: pulling target images per task family
  • Evaluation: controller / firewall / LLM proxy + examples/run_agent.py
  • Defenses: disabling system defenses (ASLR, etc.)
  • Firewall: outbound network isolation for agent containers
  • Submission: submission format and requirements for the benchmark leaderboard

Benchmark updates

The released benchmark is actively maintained. The current release is v1.0 with 869 instances. See CHANGELOG.md for the full version history. The canonical task list for the current release is data/task_ids/v1.txt.

Citation

If you use ExploitGym in your research, please cite:

@article{wang2026exploitgym,
  title={ExploitGym: Can AI Agents Turn Security Vulnerabilities into Real Attacks?},
  author={Wang, Zhun and Schiller, Nico and Li, Hongwei and Sesha Narayana, Srijiith and Nasr, Milad and Carlini, Nicholas and Qi, Xiangyu and Wallace, Eric and Bursztein, Elie and Invernizzi, Luca and Thomas, Kurt and Shoshitaishvili, Yan and Guo, Wenbo and He, Jingxuan and Holz, Thorsten and Song, Dawn},
  journal={arXiv preprint arXiv:2605.11086},
  year={2026}
}

License

The source code is licensed under Apache-2.0. The bundled task data under data/tasks/ derives from external upstreams and retains their respective licenses, see DATA_LICENSE.md.

探索相关项目

加载中…