File size: 2,222 Bytes
2c994a5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a8932b3
 
 
2c994a5
 
 
 
29cfaaf
 
c6d5220
29cfaaf
 
c6d5220
29cfaaf
a8932b3
c43593f
 
 
 
 
 
31ae58d
c43593f
 
31ae58d
c43593f
a8932b3
 
c43593f
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
---
license: cc-by-4.0
language:
- ar
- en
tags:
- llm-security
- prompt-injection
- jailbreak-detection
- arabic-nlp
- triple-anchor
---

# SemGuard: Arabic Security Dataset (v2)

This dataset is released as part of the research paper: **"SemGuard: A Triple-Anchor Semantic Security Gateway for Multilingual Prompt Attack Detection in Large Language Models"**.

## Dataset Overview
The dataset provides a comprehensive benchmark for evaluating LLM prompt attacks in Arabic, Arabizi, and English across multiple threat categories.

### Files Included:
1. `semguard_arabic_security_v2_accepted.csv`: Clean, validated dataset (807 examples) ready for direct model training and evaluation.
2. `semguard_arabic_security_v2_accepted_detailed.csv`: Detailed version of the validated dataset including individual LLM judges' outputs and agreement scores.
3. `semguard_arabic_security_v2_rejected_disagreement.csv`: The Disagreement Corpus (527 examples) containing generated instances rejected by the LLM-as-a-Judge pipeline.
4. `semguard_arabic_security_v2_raw_generated.csv`: The complete raw set of generated instances (1,334 examples) prior to validation.

## Source Code
The source code will be made publicly available soon once the repository setup is fully archived. Stay tuned!

## Citation
If you use this dataset in your research, please cite our paper:

```bibtex
@dataset{abughallous2026semguard,
  author       = {Abdullah M. Abughallous},
  title        = {SemGuard: Arabic Security Dataset for Multilingual Prompt Attack Detection },
  year         = {2026},
  publisher    = {Hugging Face},
  url          = {https://huggingface.co/datasets/AG-31625874/SemGuard-Dataset},
  note         = {Multilingual Arabic, Arabizi, and English prompt attack detection benchmark}

```
# Paper Citation
```bibtex
@inproceedings{abughallous2026semguard_paper,
  author    = {Abughallous, Abdullah M. and Abufakher, Somia},
  title     = {SemGuard: A Triple-Anchor Semantic Security Gateway for Multilingual Prompt Attack Detection in Large Language Models},
  booktitle = {IEEE Jordan International Conference on Electrical Engineering and Information Technologies (AEECT)},
  year      = {2026},
  publisher = {IEEE}
}
```
}