GitHub
p/github-487
First multilingual (Arabic/English/...) LLM security gateway
0 reviews0 followers
Start new thread
trending

1h ago

GitHub - First multilingual (Arabic/English/...) LLM security gateway

The first documented security gateway built for Arabic, Arabizi, and English — with explainable, multi-threat detection. Each input's embedding is compared against all three anchor sets via cosine similarity. The resulting 3D feature vector feeds a lightweight Logistic Regression classifier — fast, interpretable, and GPU-free. This directly solves the false-positive trap that binary classifiers fall into: a student asking "how does jailbreaking work?" is never mistaken for an attacker.