File size: 1,491 Bytes
26f0c77
f4ba748
c2d6cb4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26f0c77
c2d6cb4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
63
64
65
66
67
68
69
---
license: cc-by-4.0
task_categories:
- text-generation
- question-answering
- text-classification
language:
- en
tags:
- cybersecurity
- vulnerability-detection
- secure-coding
- cwe
- owasp
- jumplander
pretty_name: AIForge-03-Security
size_categories:
- 1K<n<10K
---
# AIForge-03-Security

Security Dataset for AI and Programming Tasks

## Overview

AIForge-03-Security is a curated English dataset designed for AI systems working on security tasks in software engineering and programming.

## Contents

- `data.jsonl`
- `data.json`
- `metadata.json`

## Use Cases

- AI agent training
- Supervised fine-tuning
- Evaluation and benchmarking
- Software engineering research

## Example Record

```json
{
  "id": "AISEC_00001",
  "category": "security",
  "language": "bash",
  "vulnerability_type": "SQL Injection",
  "severity": "Low",
  "cwe": "CWE-89",
  "owasp": "A03:2021 Injection",
  "domain": "uploads",
  "prompt": "Perform a security review of this Bash code in the uploads domain and explain the vulnerability.",
  "code": "query = f\"SELECT * FROM users WHERE id = {user_id}\"",
  "analysis": "User-controlled input is concatenated directly into the SQL query.",
  "impact": "The issue can expose or manipulate order data in production.",
  "remediation": "Apply least privilege, input validation, and safe framework APIs.",
  "secure_code": "cursor.execute('SELECT * FROM users WHERE id = ?', (user_id,))"
}
```

## License

Released under CC BY 4.0.

## Source

JumpLander