
This paper presents a 5-layer detection pipeline for semantically disguised prompt injection attacks in Hinglish, a code-mixed language spoken by over 600 million people. The system combines normalization, rule-based filtering, a novel "Contextual Guard" derived from red-teaming five frontier models, and an SVM classifier on multilingual embeddings. On a 250-sample stealth benchmark, the full pipeline achieves 98.4% detection (compared to 85.6% for a syntactic baseline) with a 0.6% false positive rate on clean prompts. The pipeline is CPU-deployable (~475 MB, 35–45ms latency) and exported to ONNX. This work addresses the semantic gap in Hinglish prompt injection detection and provides an empirically grounded first step toward safety infrastructure for code-mixed AI deployments.
Multilingual AI, Semantic Attacks, Adversarial ML, prompt injection, AI Safety, Contextual Guard, hinglish, Code-Mixed NLP, LLM Security
Multilingual AI, Semantic Attacks, Adversarial ML, prompt injection, AI Safety, Contextual Guard, hinglish, Code-Mixed NLP, LLM Security
| selected citations These citations are derived from selected sources. This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | 0 | |
| popularity This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network. | Average | |
| influence This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | Average | |
| impulse This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network. | Average |
