Enhancing SQL Query Security using Graph-based Hierarchical Embeddings with SMOTE and Advanced Neural Networks for Robust Detection

SQL Injection Attacks (SQLIA) are still a significant security vulnerability, targeting issues in database query validation for intruder access. The research proposes a graph-based hierarchical embedding framework for SQLIA detection using Abstract Syntax Trees (ASTs) and spectral graph theory to identify structural and semantic features of SQL queries. SMOTE is employed for class imbalance, and Isolation Forest is applied for outliers to give robust feature representation. An attention-based customized neural network integrating Graph Neural Networks (GNNs) with attention significantly improves classification. Experimental results on a proposed dataset of 3323 SQL queries exhibit the effectiveness of the proposed algorithm with 96% accuracy, precision (96.97%), recall (95.50%), and F1score (96%), which significantly outperforms traditional approaches. The results indicate using graph-based embeddings, data balancing, and outlier detection improves SQLIA detection with fewer false positives and negatives while remaining scalable and efficient. Establishes a benchmark for secure, adaptive, and real-time SQL query analysis and contributes to more secure database security solutions.

Authors

Institutions

Publication Details

Published
2025-04-02
DOI
https://doi.org/10.23919/indiacom66777.2025.11115253
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhancing SQL Query Security using Graph-based Hierarchical Embeddings with SMOTE and Advanced Neural Networks for Robust Detection

Uma Priyadarsini P. S, K. Mangaiyarkarasi
Network Security and Intrusion Detection
article

Enhancing SQL Query Security using Graph-based Hierarchical Embeddings with SMOTE and Advanced Neural Networks for Robust Detection

Uma Priyadarsini P. S, K. Mangaiyarkarasi
article en

Abstract

SQL Injection Attacks (SQLIA) are still a significant security vulnerability, targeting issues in database query validation for intruder access. The research proposes a graph-based hierarchical embedding framework for SQLIA detection using Abstract Syntax Trees (ASTs) and spectral graph theory to identify structural and semantic features of SQL queries. SMOTE is employed for class imbalance, and Isolation Forest is applied for outliers to give robust feature representation. An attention-based customized neural network integrating Graph Neural Networks (GNNs) with attention significantly improves classification. Experimental results on a proposed dataset of 3323 SQL queries exhibit the effectiveness of the proposed algorithm with 96% accuracy, precision (96.97%), recall (95.50%), and F1score (96%), which significantly outperforms traditional approaches. The results indicate using graph-based embeddings, data balancing, and outlier detection improves SQLIA detection with fewer false positives and negatives while remaining scalable and efficient. Establishes a benchmark for secure, adaptive, and real-time SQL query analysis and contributes to more secure database security solutions.

Saveetha University (IN)
Openalex Percentile: Top 76%
Network Security and Intrusion Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.