遇见数据集

Patch Validation in Automated Vulnerability Repair

收藏
Zenodo2026-03-27 更新2026-05-26 收录
官方服务:

资源简介:

PVBench A comprehensive evaluation benchmark for **Automated Vulnerability Repair** tools. Overview - Vulnerability Dataset: Real-world bugs with ground-truth patches, test cases, and PoCs- Framework: Automated evaluation infrastructure for patch validation Repository Structure PVBench/├── PatchAgent/ # LLM-based program repair agent (submodule)├── San2Patch/ # Sanitizer-to-Patch framework (submodule)├── vuln/ # Vulnerability dataset (21 projects, 209 vulnerabilities)├── cold/ # COLD evaluation framework├── litellm/ # LiteLLM proxy for unified LLM API access├── artifacts/ # Generated evaluation artifacts├── data/ # Data directory└── docker-compose.yaml # Docker orchestration for evaluation Vulnerability Dataset Per-Vulnerability Structure Each vulnerability includes: vuln/{project}/{id}/├── config.yaml # Metadata (id, project, sanitizer, type, commits, references)├── patch.diff # Human-written ground-truth patch├── patch-rich.diff # Annotated patch with context├── test.diff # Test case changes├── test-rich.diff # Annotated test changes├── test.sh # Test script for validation├── report.txt # Sanitizer report from PoC└── input/ # Proof-of-Concept files └── poc.{bin|py} # PoC to trigger vulnerability Components Framework Evaluation infrastructure (`cold/` directory): - Actions: - `check`: Verify vulnerability reproduction and patch validation - `gentest`: Generate test cases for vulnerabilities - Features: - Concurrent processing with configurable thread pools - Patch validation pipeline: build → replay → function test → post-test - Multi-model LLM evaluation via LiteLLM proxy Configuration Vulnerability Config (`config.yaml`) id: CVE-2023-XXXXXproject: cpythonsanitizer: AddressSanitizertype: heap-buffer-overflowvulnerable_commit: abc123fixed_commit: def456references: - https://bugs.python.org/issue12345

提供机构:
Zenodo
创建时间:
2026-03-27
二维码
社区交流群
二维码
科研交流群
商业服务