Chaos-based shuffled frog-leaping and machine learning approach for SQL injection detection in web applications

SQL injection (SQLi) attacks are a serious security threat that allow unauthorized access to application databases, expose sensitive information, and modify stored data. Identifying a compact and informative feature subset remains a challenging combinatorial optimization problem, despite the widespread application of machine learning (ML) methods for SQLi detection. In this paper, we propose an improved chaos-based binary Shuffled Frog-Leaping Algorithm (bSFLA) for feature selection. The method uses chaotic search, local memeplex evolution, and periodic information exchange to balance exploration and exploitation. ANN, KNN, SVM and DT classifiers were trained using the selected features. The framework was tested on two SQLi datasets with 1,027 and 30,919 queries, respectively. Each query was represented by 12 input features and one class label. The average accuracy, sensitivity, precision, and F1-score on Dataset 1 increased from 95.64%, 96.99%, 94.24%, and 95.41% to 98.32%, 98.35%, 97.58%, and 97.89%, respectively, after the inclusion of bSFLA. In Dataset 2, the proposed framework achieved an average accuracy, sensitivity, precision, and F1-score of 99.47%, 98.95%, 99.61%, and 99.28%, respectively. The ROC analysis yielded an average AUC of 0.9988. Overall, the selection of about 30% of the original features improved the predictive performance and reduced the feature-processing requirements, which demonstrated the effectiveness and potential deployment suitability of the proposed SQLi detection framework.

Authors

Institutions

Publication Details

Journal
Discover Internet of Things
Published
2026-11-26
DOI
https://doi.org/10.1007/s43926-026-00494-5
Primary Topic
Web Application Security Vulnerabilities
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Chaos-based shuffled frog-leaping and machine learning approach for SQL injection detection in web applications

Bahman Arasteh, Hüseyin Kusetoğulları, Keyvan Arasteh
Discover Internet of Things
Web Application Security Vulnerabilities
article

Chaos-based shuffled frog-leaping and machine learning approach for SQL injection detection in web applications

Bahman Arasteh, Hüseyin Kusetoğulları, Keyvan Arasteh
article en

Abstract

SQL injection (SQLi) attacks are a serious security threat that allow unauthorized access to application databases, expose sensitive information, and modify stored data. Identifying a compact and informative feature subset remains a challenging combinatorial optimization problem, despite the widespread application of machine learning (ML) methods for SQLi detection. In this paper, we propose an improved chaos-based binary Shuffled Frog-Leaping Algorithm (bSFLA) for feature selection. The method uses chaotic search, local memeplex evolution, and periodic information exchange to balance exploration and exploitation. ANN, KNN, SVM and DT classifiers were trained using the selected features. The framework was tested on two SQLi datasets with 1,027 and 30,919 queries, respectively. Each query was represented by 12 input features and one class label. The average accuracy, sensitivity, precision, and F1-score on Dataset 1 increased from 95.64%, 96.99%, 94.24%, and 95.41% to 98.32%, 98.35%, 97.58%, and 97.89%, respectively, after the inclusion of bSFLA. In Dataset 2, the proposed framework achieved an average accuracy, sensitivity, precision, and F1-score of 99.47%, 98.95%, 99.61%, and 99.28%, respectively. The ROC analysis yielded an average AUC of 0.9988. Overall, the selection of about 30% of the original features improved the predictive performance and reduced the feature-processing requirements, which demonstrated the effectiveness and potential deployment suitability of the proposed SQLi detection framework.

Discover Internet of ThingsVol. 6(1)
Khazar University (AZ), Islamic Azad University of Tabriz (IR), Istinye University (TR), Blekinge Institute of Technology (SE)
Web Application Security Vulnerabilities
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.

Laika access coming soon