Upload 4 files
Browse files- README.md +66 -2
- data.json +0 -0
- data.jsonl +0 -0
- metadata.json +12 -0
README.md
CHANGED
|
@@ -1,3 +1,67 @@
|
|
| 1 |
-
---
|
| 2 |
license: cc-by-4.0
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
license: cc-by-4.0
|
| 2 |
+
task_categories:
|
| 3 |
+
- text-generation
|
| 4 |
+
- question-answering
|
| 5 |
+
- text-classification
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
tags:
|
| 9 |
+
- cybersecurity
|
| 10 |
+
- vulnerability-detection
|
| 11 |
+
- secure-coding
|
| 12 |
+
- cwe
|
| 13 |
+
- owasp
|
| 14 |
+
- jumplander
|
| 15 |
+
pretty_name: AIForge-03-Security
|
| 16 |
+
size_categories:
|
| 17 |
+
- 1K<n<10K
|
| 18 |
+
|
| 19 |
+
# AIForge-03-Security
|
| 20 |
+
|
| 21 |
+
Security Dataset for AI and Programming Tasks
|
| 22 |
+
|
| 23 |
+
## Overview
|
| 24 |
+
|
| 25 |
+
AIForge-03-Security is a curated English dataset designed for AI systems working on security tasks in software engineering and programming.
|
| 26 |
+
|
| 27 |
+
## Contents
|
| 28 |
+
|
| 29 |
+
- `data.jsonl`
|
| 30 |
+
- `data.json`
|
| 31 |
+
- `metadata.json`
|
| 32 |
+
|
| 33 |
+
## Use Cases
|
| 34 |
+
|
| 35 |
+
- AI agent training
|
| 36 |
+
- Supervised fine-tuning
|
| 37 |
+
- Evaluation and benchmarking
|
| 38 |
+
- Software engineering research
|
| 39 |
+
|
| 40 |
+
## Example Record
|
| 41 |
+
|
| 42 |
+
```json
|
| 43 |
+
{
|
| 44 |
+
"id": "AISEC_00001",
|
| 45 |
+
"category": "security",
|
| 46 |
+
"language": "bash",
|
| 47 |
+
"vulnerability_type": "SQL Injection",
|
| 48 |
+
"severity": "Low",
|
| 49 |
+
"cwe": "CWE-89",
|
| 50 |
+
"owasp": "A03:2021 Injection",
|
| 51 |
+
"domain": "uploads",
|
| 52 |
+
"prompt": "Perform a security review of this Bash code in the uploads domain and explain the vulnerability.",
|
| 53 |
+
"code": "query = f\"SELECT * FROM users WHERE id = {user_id}\"",
|
| 54 |
+
"analysis": "User-controlled input is concatenated directly into the SQL query.",
|
| 55 |
+
"impact": "The issue can expose or manipulate order data in production.",
|
| 56 |
+
"remediation": "Apply least privilege, input validation, and safe framework APIs.",
|
| 57 |
+
"secure_code": "cursor.execute('SELECT * FROM users WHERE id = ?', (user_id,))"
|
| 58 |
+
}
|
| 59 |
+
```
|
| 60 |
+
|
| 61 |
+
## License
|
| 62 |
+
|
| 63 |
+
Released under CC BY 4.0.
|
| 64 |
+
|
| 65 |
+
## Source
|
| 66 |
+
|
| 67 |
+
JumpLander
|
data.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
metadata.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "AIForge-03-Security",
|
| 3 |
+
"pretty_name": "Security",
|
| 4 |
+
"category": "security",
|
| 5 |
+
"samples": 1000,
|
| 6 |
+
"language": "en",
|
| 7 |
+
"license": "CC BY 4.0",
|
| 8 |
+
"format": [
|
| 9 |
+
"jsonl",
|
| 10 |
+
"json"
|
| 11 |
+
]
|
| 12 |
+
}
|