File size: 2,564 Bytes
0ae71bd | 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 | ---
language: [en]
license: gpl-2.0
task_categories: [text-generation]
tags: [cybersecurity, application-security, bug-bounty, pentest, thinking, reasoning, tool-calling, jsonl, qwen]
size_categories: [1K<n<10K]
---
# OffsecCyber-Thinking — reasoning-optimized web-security SFT
A **thinking-mode** supervised fine-tuning set for web application security / bug-bounty models (Qwen3-style `<think>` + tool-calling). Reasoning-dominant and grounded: CVE-metadata **recitation was deliberately dropped** to reduce hallucination.
## Composition (9,417 records)
| grounding | count | source |
|---|---:|---|
| grounded | 4,001 | Exploit-DB verified webapps, PoC extracted from the real exploit files |
| authored_curated | 2,500 | offensive/web-appsec instruction data |
| real_report | 2,000 | HackerOne-style reports |
| authored | 643 | synthetic tail-class + modern-stack + negatives (think + tool-calling) |
| grounded_lab | 273 | PortSwigger labs |
- **`<think>` share: 49%** · **negatives: 7.5%** · tool-calling trajectories included.
- Splits: train 8,475 / valid 470 / test 472, **leakage-safe** (grouped by CVE/EDB/report-id/hash), 0 cross-split leaks, 0 fabricated/forward CVEs, near-dup ≤3/template.
- Each record tags `metadata.grounding / license / provenance / has_think / is_negative / cvss_source / tool_output`.
## ⚠️ Use in production (read before training/deploying)
This set trains **reasoning and judgment**, not a fact oracle. To avoid hallucination:
1. **RAG for facts** — CVSS is estimated, not authoritative; CVE recall is unreliable at ≤8B. Supply CVE/CVSS/version truth from NVD/GHSA at inference.
2. **Real tools, never invented output** — `metadata.tool_output="simulated"` marks learned tool results; execute tools for real in production.
3. **Human-in-the-loop on exploitation** — PoCs are drafts to verify in a sandbox.
## License / provenance (IMPORTANT)
Mixed provenance, tagged per record in `metadata.license`:
- **`GPL-2.0-or-later`** (4,001, provenance=exploit-db) — the card license reflects this (most restrictive).
- **`review-upstream`** (4,773, h1/portswigger/web_offensive) — confirm each upstream source's terms before redistribution.
- **`synthetic-authored`** (643) — project-authored.
For a **closed-source** product: training is generally permissible, but redistribution of GPL-derived data/weights can carry obligations — get legal review, or train a shippable model on the non-GPL (`provenance != exploit-db`) subset.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
|