Copyright © 2026 Authors retain the copyright of this article. This article is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
@article{210981,
author = {Soham Murkar and Dev Parab and Aarohi Talele and Paarth Oturkar and Teena Verma},
title = {LLM Prompt Injection / Jailbreak Detection System},
journal = {International Journal of Innovative Research in Technology},
year = {2026},
volume = {13},
number = {6},
pages = {3137-3143},
issn = {2349-6002},
url = {https://ijirt.org/article?manuscript=210981},
abstract = {Large language models (LLMs) can be exposed to prompt-injection and jailbreak attempts that preserve malicious intent while changing its surface representation. This work builds a lightweight classical machine-learning detector and uses it to study how such representation shifts affect detection. A unified corpus of 1,093 deduplicated behaviors (993 attack/harmful, 100 benign) is assembled from AdvBench, HarmBench, Jailbreak Bench and ArtPrompt; 600 further unique benign prompts are added to training only. Twelve text transformations (plain text, Base64, mathematical, ASCII-art, code, reasoning, Uni-code and structural forms) expand the data to 20,316 rows, which are represented with TF-IDF word and character features (77,626 features). Logistic Regression, Linear SVM, CART, Random Forest and a Voting Ensemble are compared on a behavior-level held-out test set of 1,980 rows. Random Forest obtains the highest F1 (0.9448) and recall (0.9833), but its specificity is only 0.0167; the best specificity, from Logis-tic Regression, is 0.2222. Benign false-positive rates exceed 50% for every model on every transformation, including plain text. The results show that high attack recall and F1 do not establish reliable benign-versus-attack discrimination, and the study is positioned as a reproducible baseline and error-analysis framework rather than a production security control.},
keywords = {prompt injection, jailbreak detection, TF-IDF, Logistic Regression, support vector machine, random forest, specificity, adversarial robustness},
month = {November},
}
Submit your research paper and those of your network (friends, colleagues, or peers) through your IPN account, and receive 800 INR for each paper that gets published.
Join NowNational Conference on Sustainable Engineering and Management - 2024 Last Date: 15th March 2024
Submit inquiry