Overview of the `cve_patches` pipeline
mainThe cve_patches pipeline is an experimental tool for the Python ecosystem that maps OSV (Open Source Vulnerabilities) records to fixing commits in a target repository. It creates reusable tasks for the Repo2RLEnv format by replaying the pre-fix state in a sandbox and using the upstream security patch as an oracle.
Key Characteristics:
- Status: Experimental (Python ecosystem).
- Requirements: Requires a sandbox for generation and an LLM (for bootstrapping and PoC synthesis).
- Reward Kinds: Emits
test_executionanddiff_similarity. - Yield: Typically low (~5–25%) because it requires a verifiable 'fail-to-pass' oracle (either a shipped regression test or a synthesized PoC).