arXiv Science⌕ Search

arXiv subjects

Mirza Akhi

Publications and source records attributed to Mirza Akhi.

2 recordsLinked to original sources

Prompt Injection Detection using DeBERTa-v3: A Position-Neutral Dataset for AI Security

Prompt injection attacks attempt to override application-provided instructions and redirect Large Language Models (LLMs) towards attacker-specified behaviour, posing an Artificial Intelligence (AI) security threat. Defending against these attacks commonly involves classifiers that distinguish malicious from benign prompts. However, existing classifiers often achieve high accuracy on datasets whose training and test samples share attack categories or textual patterns. This overlap obscures whether a model learns malicious intent or recognises familiar patterns. To address the limitation, this research proposes a synthetic prompt injection dataset spanning 16 categories, in which each prompt's class is defined by the intent of its instruction rather than its position or attack vocabulary (e.g., ignore). Benign and malicious instructions appear within and outside the quoted content block. This position-neutral design ensures that an instruction's location alone cannot determine whether a prompt is benign or malicious. The proposed dataset also includes hard negatives, benign prompts that contain attack terminology. To evaluate generalisation beyond known threats, an attack-type-held-out strategy excludes obfuscation, payload splitting, and multilingual attacks from training. This research fine-tunes a DeBERTa-v3-base classifier, which achieves 75.5% accuracy under that strategy. The same model configuration, trained on a random 90:10 split, scores 100% on its test portion. An ablation study traces this gap to attack-type exposure, which affects detection more than training-set size or model capacity. On the public deepset/prompt-injections dataset, the fine-tuned and ProtectAI classifiers each detect fewer than half the injections. These results demonstrate that classifier-based cybersecurity defences for LLM-integrated applications depend on the attack types covered in training.

cs.CR↗

Deep Learning for Cyber Threat Detection and Mitigation in Healthcare-IoT

Cybersecurity is a fundamental requirement for protecting wearable devices used in healthcare Internet of Things (H-IoT) systems. Security failures in these resource-constrained systems directly compromise patient safety. Physiological data and network traffic are frequent targets of cyberattacks in H-IoT environments. To address these risks, deep learning-based cybersecurity mechanisms for H-IoT often involve complex architectures with large parameter counts. Existing datasets are also rarely assessed for quality, limiting their applicability. However, this research addresses these challenges by developing multiple realistic datasets and proposing lightweight deep learning models, namely the Temporal Convolutional Network (TCN) and Residual TCN (Res-TCN), for H-IoT. It includes two binary classification datasets for Distributed Denial of Service (DDoS) attacks and a multiclass dataset representing Selective Forwarding (SF), Man-in-the-Middle (MITM), and DDoS attacks. The datasets UL-ECE-MQTT-DDoS-H-IoT2025 and UL-ECE-UDP-DDoS-H-IoT2025 are generated in Cooja and ns-3 to capture transmission behaviours and protocol variations. The third dataset, UL-ECE-MultiAttack-H-IoT2025, integrates physiological and network features to represent multiple cyber threats in H-IoT. Building on this, the TCN model is designed to detect and mitigate DDoS attacks over the MQTT and UDP-based datasets. It incorporates a monitoring frequency-based detection mechanism and a dynamic threshold-based mitigation strategy. To enable edge deployment, the model is quantised and converted into TensorFlow Lite (TFLite) for real-time DDoS detection on Raspberry Pi 4, achieving low latency and power-efficient operation in H-IoT. This thesis establishes a deep learning-based cybersecurity defence mechanism encompassing realistic dataset generation, lightweight model design, and edge deployment for securing H-IoT systems.

cs.CR↗