arXiv AI

Comparative Evaluation of Static Embedding Models for HTTP Request Anomaly Detection

The paper benchmarks static embedding models—Word2Vec, FastText, and Doc2Vec—for detecting anomalous HTTP requests using a single‑class classification framework. It introduces HEDA, a modular pipeline that trains both embeddings and detectors solely on benign traffic in an unsupervised setting. Experiments on synthetic and real datasets show that FastText embeddings consistently yield high detection rates with controlled false positives.

arXiv Machine Learning
Oct 2

ModSec-Learn: Boosting ModSecurity with Machine Learning

ModSec-Learn enhances the open-source Web Application Firewall ModSecurity by integrating a machine‑learning model that uses the Core Rule Set (CRS) as input features. The model learns to adjust the weight of each CRS rule, tailoring severity levels to specific web applications and improving the balance between detection and false positives. Additionally, sparse regularization can eliminate over 30% of CRS rules, simplifying inference while maintaining performance.

By Christian Scano, Giuseppe Floris, Biagio Montaruli, Luca Demetrio, Andrea Valenza, Luca Compagna, Davide Ariu, Luca Piras, Davide Balzarotti, Battista Biggio
arXiv AI
Aug 11

Defending Retrieval-Augmented Intrusion Detection Against Knowledge Poisoning and Prompt Injection

arXiv:2608. 08100v1 Announce Type: cross Abstract: Retrieval-Augmented Generation (RAG) enables large language models to classify network flows and generate human-readable incident reports by retrieving semantically similar historical traffic from a vector knowledge base.

By Kaysarul Anas Apurba, Md. Hasibul Hasan, Mahedee Zaman Moon, Sk. Md. Mizanur Rahman, Atsuo Inomata
arXiv Computation and Language
Aug 28

An Embarrassingly Simple Detector for Model Extraction Attacks in Large Language Model API Traffic

The paper presents a simple detector for model extraction attacks on large language model APIs. It frames detection as a benign‑calibrated traffic‑window distribution test, embedding queries into a semantic space and using maximum mean discrepancy (MMD) to compare against historical benign traffic. Evaluated on fourteen attacker‑normal query pairs across four extraction scenarios, MMD achieves near‑perfect true‑positive rates while maintaining a 0.3% false‑positive rate, outperforming several existing baselines.

By Shuze Liu, Qianwen Guo, Yushun Dong
arXiv AI
Sep 24

WAInjectBench: Benchmarking Prompt Injection Detections for Web Agents

WAInjectBench introduces the first comprehensive benchmark for detecting prompt injection attacks against web agents, offering a fine‑grained categorization of threats and datasets that include malicious and benign text and image samples. The study systematically evaluates both text‑based and image‑based detection methods across multiple scenarios, revealing that detectors perform well on attacks with explicit instructions or visible perturbations but struggle with subtle or instruction‑free attacks. The authors release the datasets and code to facilitate further research in this area.

By Yinuo Liu, Xilong Wang, Ruohan Xu, Yuqi Jia, Neil Zhenqiang Gong
arXiv Machine Learning
Jul 3

Embedding Inference Attack

arXiv:2607. 01276v1 Announce Type: cross Abstract: Embedding models are essential components of modern Information Retrieval (IR) systems, yet they are typically hidden behind APIs.

By Cedric Fitiavana Raelijohn, S\'ebastien Gambs, Jean-Francois Rajotte
arXiv Machine Learning
Nov 2

DeepWeave: Weaving Neural and Symbolic Evidence for ML-Based Network Intrusion Detection System

DeepWeave is a neuro‑symbolic network intrusion detection system that integrates logic rules with neural predictions to provide interpretable, probabilistic evidence for alerts. It automatically generates and validates rules, couples evidence across packet, flow, and hybrid views, and produces proofs that explain rule‑supported detections. In experiments, DeepWeave achieves higher macro‑F1 scores and lower false‑positive rates than a purely neural baseline, even with only 50 labeled packets per attack class, and its explanations are more stable than post‑hoc neural attributions.

By Raoul Saad, Enkeleda Bardhi, Andrea Agiollo, Fernando Kuipers