EUVIMEDEUVIMED entdecken
Open Access · CC BY-NC-SA 4.0

Real-Time Detection and Mitigation of Prompt Injection Attacks in LLM-Integrated Enterprise Systems

Fatimah Alhamzawi

Al-Noor Journal of Engineering Management and Computer Science · 09.08.2026 · 99-113

DOI: 10.71229/5cn8a439 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Al-Noor Journal of Engineering Management and Computer Science, online erschienen am 09.08.2026. Verfasst von Fatimah Alhamzawi. Die Arbeit nennt 26 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY-NC-SA 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Large language models (LLMs) embedded in enterprise workflows cannot structurally distinguish legitimate instructions from adversarial ones in the same token stream, making prompt injection OWASP's top LLM risk for two consecutive editions a persistent threat across direct and indirect vectors. This paper presents PromptShield-RT, a layered, real-time, model-agnostic framework combining input normalization and provenance tagging, lexical-heuristic pattern matching, a statistical classifier, structural anomaly features, and calibrated risk fusion, with policy-driven mitigation (allow/sanitize/quarantine/block) and an explainable, adaptive-feedback mechanism for SOC workflows. We construct an original evaluation corpus, SynPI-Bench (n = 450, six categories), and a template-disjoint held-out generalization set (n = 31) with novel phrasings, obfuscation encodings, and adversarial hard-negative benign text. Using template-grouped 5-fold cross-validation, the fused pipeline achieves 92.4% accuracy (F1 = 0.930, AUC = 0.990), outperforming heuristic-only (57.0%) and naive-averaged (59.2%) baselines, while a lexical classifier reaches 85.9% with lower precision. We report a pronounced generalization gap on the held-out set (48.4% accuracy, 90% false-positive rate on hard negatives), quantifying a known limitation of surface-lexical defenses. The pipeline achieves sub-millisecond P95 latency (0.266 ms), within typical 50 ms enterprise SLAs. We situate PromptShield-RT relative to structural, architectural, and guardrail-product defenses, arguing for layered, defense-in-depth architectures, with reproducible code provided.

Zitieren

APA

Alhamzawi, F. (2026). Real-Time Detection and Mitigation of Prompt Injection Attacks in LLM-Integrated Enterprise Systems. Al-Noor Journal of Engineering Management and Computer Science, 99-113. https://doi.org/10.71229/5cn8a439

Vancouver

Alhamzawi F. Real-Time Detection and Mitigation of Prompt Injection Attacks in LLM-Integrated Enterprise Systems. Al-Noor Journal of Engineering Management and Computer Science. 2026:99-113. doi:10.71229/5cn8a439

BibTeX
@article{Alhamzawi2026,
  author = {Alhamzawi, Fatimah},
  title = {Real-Time Detection and Mitigation of Prompt Injection Attacks in LLM-Integrated Enterprise Systems},
  journal = {Al-Noor Journal of Engineering Management and Computer Science},
  year = {2026},
  pages = {99--113},
  doi = {10.71229/5cn8a439}
}
Kostenlos starten →