Large language models (LLMs) are now embedded in many digital systems, which has exposed a new and distinctive attack surface. The most pressing threat is the prompt injection attack, in which adversarial text causes a model to ignore its developer-defined instructions, leak its hidden system prompt, or perform unintended actions. This paper proposes a layered hybrid defense gateway that combines three complementary detectors: a fast prefilter based on lexical rules, a semantic classifier that uses word-level TF-IDF features together with a multilayer perceptron, and a character-level classifier that is robust to obfuscation. Their outputs are merged by a lightweight meta-decision block based on logistic regression. In a fully reproducible experiment, the detectors are trained on clean and standard obfuscated attacks and evaluated on held-out data that additionally contains unseen, newly phrased attacks and an unseen adaptive obfuscation style. On this controlled benchmark the proposed hybrid system reaches an F1 score of 0.989 and the lowest false-positive rate among all compared systems, clearly outperforming a brittle rule-based baseline (F1 = 0.504) and every single classifier across all attack categories. An ablation study confirms that each layer covers a distinct class of attacks, empirically supporting the defense-in-depth principle.
| Mualliflar | O. Esanov, Ch. Erkinova |
|---|---|
| Jurnal | Samarqand davlat universiteti ilmiy tadqiqotlar axborotnomasi |
| Nashr sanasi | 2026-07-01 |
| Jild | 2 |
| Son | 3 |
| Betlar | 207-216 |
| DOI | 10.59251/2181-3973.2025.v1.138.1.3998 |
DOI: 10.59251/2181-3973.2025.v1.138.1.3998 · Maqolaning asl sahifasi
This article investigates the magnetic and electronic properties of the magnesioferrite (MgFe₂O₄) mineral found in the rock formations of Uzbekistan using both experimental and computational methods. The magnetic…
The paper describes the process of developing the use cases for the functional model of the “Scientific Expertise and Control” module within the digitalisation of scientific attestation processes. The module is intended…
In this paper, we study the second-order Hardy inequality with the periodic and anti-periodic boundary conditions. We establish the corresponding necessary and sufficient conditions for the inequality to hold.
This article presents the synthesis, physicochemical characterization and structural analysis of a new complex compound based on quercetin (3,3',4',5,7-pentahydroxyflavone) and Mo³⁺ ions. The complex was synthesized in…
This paper presents a single-layer feedforward neural network for morphological stemming of Uzbek words. Each word is encoded using character-level one-hot vectors (810-dimensional input: 27 characters × 30 positions)…
This manuscript draft summarizes the gravitational lensing effect in the Bocharova-Bronnikov-Melnikov-Bekenstein (BBMB) spacetime. The analysis includes the photon equations of motion, strong-field deflection…
In this paper, a problem of anomalous fluid filtration and solute transport is considered. Fractional derivatives are used to represent anomaly of the filtration process. Using finite difference method, the problem is…
In this study, SrTiO₃ perovskite nanoparticles were synthesized using the sol–gel method. Strontium nitrate (Sr(NO₃)₂) and titanium isopropoxide were employed as precursors in a 1:1 molar ratio, while dimethyl sulfoxide…
Samarqand davlat universiteti ilmiy tadqiqotlar axborotnomasi — barcha maqolalar