Skip to content

learjet5/DrillAgent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

262 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DrillAgent

📄 This arxiv branch holds the code accompanying our paper: DrillAgent (arXiv). For the latest development, see the main-dev branch. Paper result data lives in datasets/sec-bench/eval-results/.

About

DrillAgent aims to generate PoV test cases automatically for real-world CVE instances. Currently we only consider vulnerabilities in C/C++ open source repositories.

Target datasets:

Getting Started

To test DrillAgent on SEC-bench tasks, just run:

python3 src/drillagent/entries/single_secb_task.py \
      --instance-id njs.cve-2022-27007 \
      --repo-path /home/shared_project/repos-llvm-cov/njs \
      --basic-model gpt-5.2-2025-12-11 \
      --low-cost-model "openai:gpt-5-mini-2025-08-07"

python3 src/drillagent/entries/multiple_secb_task.py --project-name njs \
      --repos-dir /home/shared_project/repos-llvm-cov/ \
      --basic-model gpt-5.2-2025-12-11 \
      --low-cost-model "openai:gpt-5-mini-2025-08-07"

Only test vulnerability analysis and code instrumentation:

python3 src/drillagent/entries/single_secb_task.py \
      --instance-id imagemagick.cve-2018-6405 \
      --repo-path /home/shared_project/repos-llvm-cov/imagemagick \
      --basic-model gpt-5.2-2025-12-11 \
      --low-cost-model "openai:gpt-5-mini-2025-08-07" \
      --disable-path-exploration --disable-crash-analysis

All the entry points should be included in src/drillagent/entries/. You can also add your own script here.

Developing Tips

Each of us developers should create our own dev branch. After pushing some commits to our dev branch, we can create a pull request and merge it into the main branch.

Classes DrillAgent, AgentConfig, and most of agents should be benchmark-agnostic. Thus we can easily evaluate DrillAgent in different datasets.

About

LLM Agent System for Automated Proof-of-Vulnerability Generation

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages