AETHON: Deterministic Pre-Inference Defense for LLM Prompt Injection
Leonardo Bruscagini de Lima, Jorge Valverde-Rebaza, Alexandre de Barros Barreto, Yuzo Iano
Abstract
Pre-inference defenses provide a lightweight and model-agnostic approach to mitigating prompt injection attacks in Large Language Model (LLM) applications. However, their practical reliability depends not only on detecting adversarial inputs, but also on preserving legitimate requests across heterogeneous data distributions. This paper investigates this challenge through AETHON, a deterministic pre-inference middleware combining rule-based detection with a calibrated TF-IDF/logistic-regression classifier. We extend the analysis of a previously reported experimental evaluation comprising 546 training prompts, 116 calibration prompts, and 7,064 external observations across four benchmarks, without introducing new model inference or experimental runs. Despite achieving an AUROC of 0.9515 on validation data, the detector exhibited substantial degradation under distribution shift, reaching an external macro AUROC of 0.5500. At the selected operating threshold, AETHON achieved a dataset-macro true-positive rate of 0.8098, accompanied by a false-positive rate of 0.6924. Moreover, 69.9% of benign NotInject prompts were incorrectly rejected, while the heuristic layer provided no additional detections beyond the supervised classifier. By distinguishing dataset-macro from pooled evaluation, examining the contribution of individual detection layers, and characterizing threshold-transfer failures, this study exposes critical limitations of conventional guardrail evaluation. The findings establish practical requirements for calibration governance, false-positive control, and reproducible security assessment, positioning AETHON as an efficient and auditable experimental framework while demonstrating why deployment readiness cannot be inferred from computational efficiency or in-domain detection performance alone.
Create a lesson
Metadata
- Categories
- cs.CR, cs.AI, cs.CL
- Comments
- Accepted for publication in proceedings of the: \textit{Brazilian Technology Symposium} (BTSym 2026). Access the research repository: https://github.com/leobrusc/aethon_repo
Related papers
DefenseComposer: Knowledge-Guided Defense Stacking Against Indirect Prompt Injection
Shared title terminologycs.CRJiahe Chen, Mengdi Li, Junjie Huang et al.
Aligning Tool Descriptions and Implementations to Detect Prompt Injections in LLM Agents
Shared title terminologycs.CRJohnny Song, Shih-Chieh Dai, Guanhong Tao
Prompt Injection in Aviation NOTAM Assessment: Relayed Authority, Expert Adjudication and Coded Field Defences
Shared title terminologycs.CRAlex Brooker
Copied and Perturbed: A String-Based Likelihood-Ratio Membership Inference Attack on LLM In-Context Table Synthesis
Shared title terminologycs.CRJoshua Ward, Haoyuan Cheng, Yue Zhang et al.
zk-Sable: Per-Client Zero-Knowledge Proofs of Batched, Bit-Exact LLM Inference with Open Weights
Shared title terminologycs.CRTomer Solberg
Assessing the Robustness of Defense Frameworks Against Data Attacks on AI Systems
Shared title terminologycs.CRVishnu Kurnala, Nelly Elsayed