Enhancing Web Application Firewalls with BERT-GNN for SQL Injection Detection

📅 2026-08-28
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
研究通过结合BERT和GNN的方法提高了SQL注入攻击检测的准确性和鲁棒性,减少了误报和漏报。
📝 Abstract
Detecting sophisticated SQL Injection (SQLi) attacks remains among the most critical challenges in web applications security. This research study has resulted in an optimised hybrid BERT-GNN pipeline with improved detection accuracy and robustness while reducing false-positive and false-negative rates. SQL queries are tokenised and encoded into contextual BERT embeddings, which then initialise the node features of a Graph Neural Network (GNN) trained to classify each query, with the architecture tuned by Optuna over accuracy, precision, recall, and F1-score. The proposed model achieved 99.67% accuracy, with 99.71% precision, 99.39% recall, and 99.55% F1-score on the attack class. A sensitivity analysis, performed by perturbing graph inputs, further assessed the model robustness and yielded a low mean sensitivity score of 0.0037, indicating stable predictions under such perturbations. The results have demonstrated the potential of a novel hybrid model that couples BERT contextual understanding with the GNN structural modelling to detect sophisticated SQLi attack vectors. For open validation, the dataset, test sets and models are made available at https://github.com/mlily2024/Final-project-SQL-injection-pipeline.
Problem

Research questions and friction points this paper is trying to address.

SQL Injection
Web Application Security
Detection
Innovation

Methods, ideas, or system contributions that make the work stand out.

BERT-GNN
SQL Injection Detection
Optuna
Contextual Embeddings
Graph Neural Network
🔎 Similar Papers
No similar papers found.
💼 Related Jobs
No related jobs found.
L
Lilliane Linnet Musoke
Department of Computer Science, University of Reading, UK
A
Atta Badii
Department of Computer Science, University of Reading, UK
Ahmed Ashlam
Ahmed Ashlam
Dr
(AIcybersecuritydata science)