File size: 2,398 Bytes
02d0191
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
license: mit
task_categories:
- text-generation
tags:
- security
- vulnerability
- fuzzing
- oss-fuzz
- code
- cyberforge
pretty_name: CyberForge Projects
size_categories:
- 1K<n<10K
---

# CyberForge Projects

Real OSS-Fuzz C/C++ projects with injected, PoV-validated vulnerabilities, built with
CyberForge — 1,034 vulnerabilities across 100 projects.

**One archive per project.** Each `<project>.tar.gz` unpacks to that project's tree:

```text
<project>/
├── project.json                        # metadata + secure_base_commit + prebuilt dockerhub_image
├── setup/                              # Dockerfile, build.sh, project.yaml (OSS-Fuzz build)
├── unit_tests/                         # test.sh + parse_results.py
└── vulnerabilities/
    └── vulnerability_<PIPELINE>_<N>/
        ├── inject_vulnerability.diff    # apply -> introduces the vulnerability
        ├── vulnerability_metadata.json  # id, cwe_id, secure_base_commit, ...
        ├── sanitizer_report.txt         # the crash/divergence proving it triggers
        ├── vuln_description.md           # natural-language bug report
        └── exploit_files/
            └── exploit.sh               # proof-of-vulnerability entrypoint
```

`<PIPELINE>` is the injection pipeline: `FZ` (fuzzer-guided), `WF_RAG` and `WF_LLM` (agentic).

## Usage

```bash
# fetch one project and unpack it
hf download AmL-hug/cyberforge-projects guetzli.tar.gz --repo-type dataset --local-dir .
tar xzf guetzli.tar.gz
```

## Key files

- **`inject_vulnerability.diff`** — applying it at `secure_base_commit` *introduces* the
  vulnerability; reverting it is the ground-truth fix.
- **`exploit_files/exploit.sh`** — runs the proof-of-vulnerability against the built target.
- **`sanitizer_report.txt`** — the sanitizer crash (or behavioral divergence) that fires on the
  vulnerable build and is silent on the secure build.

## Related

- Browsable file tree (GitHub mirror): [CyberForge-projects](https://github.com/vuljector/CyberForge-projects)
- Framework: [CyberForge](https://github.com/vuljector/CyberForge)
- Teacher trajectories: [cyberforge-teacher-traj-gemma4-31b](https://huggingface.co/datasets/AmL-hug/cyberforge-teacher-traj-gemma4-31b) and [cyberforge-teacher-traj-gpt-5.4-mini](https://huggingface.co/datasets/AmL-hug/cyberforge-teacher-traj-gpt-5.4-mini)