SemGuard: A Triple-Anchor Semantic Security Gateway for Multilingual Prompt Attack Detection in Large Language Models
Source Reddit Cybersecurity
Discussion
SemGuard is a research project introducing a semantic security gateway designed to detect multilingual prompt injection attacks in large language models (LLMs), with a focus on Arabic NLP. It includes a formally validated Arabic LLM security dataset and a novel Triple-Anchor framework for explainable threat detection, achieving high accuracy metrics. The project is intended for researchers working on LLM security and adversarial robustness and is available as an open-source resource.
r/cybersecurity (opens in a new tab)u/Strict-Result-70390 points0 comments
For researchers working on LLM security, prompt injection detection, or Arabic NLP:
Our paper "SemGuard: A Triple-Anchor Semantic Security Gateway for Multilingual Prompt Attack Detection in Large Language Models" is now live on IEEE Xplore.
It introduces the first formally validated Arabic LLM security dataset (807 examples, 7 threat categories, Fleiss' κ = 0.839) and a novel Triple-Anchor framework for explainable, multilingual threat detection — achieving 0.989 F1 / 0.991 recall on Arabic prompt injection, outperforming English-only baselines.
If this overlaps with your work on LLM safety, multilingual NLP, or adversarial robustness, happy to discuss or collaborate. Citations and feedback welcome.
DOI: 10.1109/AEECT69724.2026.11657880
the project on Github : https://github.com/AbdaullahAG/SemGuard
Dataset : https://huggingface.co/datasets/AG-31625874/SemGuard-Dataset
#LLMSecurity #PromptInjection #ArabicNLP #AISecurity #ExplainableAI #NLP
Links cited in the discussion
References
- linkedin.com/safety/go/?url=https%3A%2F%2Fgithub%2Ecom%2FAbdaullahAG%2FSemGuard&urlhash=xA2K&mt=_QOfz9VNuMJfYK8ZZrRXV8rIsAVagy7I1X-qxe_HjXjcc45042OqTHPqfZGl016z68OO3ia8qS_ImVoi2_PgkKHmTg8hKXLTj5UkRvd68W5yqFOYq0wzGK8d6UHbWyVYKrAO7yrvqpeNvpRJcsT9YaKXeQQwyVEz9iw&isSdui=true (opens in a new tab)
- reddit.com/r/cybersecurity/comments/1vypoa2/semguard_a_tripleanchor_semantic_security_gateway/ (opens in a new tab)
- github.com/AbdaullahAG/SemGuard (opens in a new tab)
- huggingface.co/datasets/AG-31625874/SemGuard-Dataset (opens in a new tab)