Answers are grounded in this paper and cite their sources.
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.
No takes yet. Share an insight, caveat, or question.
Arasteh et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: