Jurnal Tanpa peringkat SINTA
SQL Injection Detection Using Character-Level Embedding with Convolutional Neural Network and Gated Recurrent Unit
Recursive Journal of Informatics · Vol. 4 No. 2 (2026) · hlm. 92–101
- ISSN
- 2986-6588, 2963-5551
- Terbit
- 2026-09-30
- Penerbit
- Universitas Negeri Semarang
- Bahasa
- eng
Abstrak
Abstract. SQL Injection is one of the most common cyberattacks targeting web applications by exploiting malicious SQL queries to gain unauthorized access to database systems. Conventional SQL Injection detection methods generally rely on manually engineered features or word-level representations, which may overlook fine-grained syntactic characteristics contained in SQL queries. Purpose: This study aims to develop and evaluate a SQL Injection detection model based on Character-level Embedding, Convolutional Neural Network (CNN), and Gated Recurrent Unit (GRU). The proposed model is expected to preserve character-level information while improving the capability to distinguish legitimate SQL queries from SQL Injection attacks. Methods/Study design/approach: The proposed model combines Character-Level Embedding, CNN, and GRU for binary classification of SQL queries. The dataset used is the SQL Injection Dataset obtained from the Kaggle website, consisting of 30,907 SQL queries with 19,529 legitimate queries and 11,378 SQL Injection queries. Before model training, the dataset was preprocessed using character-level tokenization, sequence padding, and dataset splitting with a ratio of 80:10:10 for training, validation, and testing. The model was implemented using TensorFlow and Keras, trained with the Adam optimizer and Binary Cross-entropy loss function, and evaluated using Accuracy, Precision, Recall, F1-score, and Confusion Matrix. Result/Findings: The proposed CNN-GRU model achieved an Accuracy of 99.64%, Precision of 100%, Recall of 99.03%, and F1-score of 99.51% indicating that the model effectively classifies legitimate SQL queries and SQL Injection attacks with high performance. Novelty/Originality/Value: It can be concluded that integrating Character-Level Embedding with hybrid CNN-GRU architecture enables the proposed model to learn both local character patterns and long-term sequential dependencies without requiring manual feature engineering. Therefore, the proposed approach provides an effective alternative for SQL Injection detection and has the potential to improve web application security.
Kata kunci
Jaringan kolaborasi para penulis
39 penulis · 105 tautan kepenulisan bersama · 51 lintas organisasi
Arahkan kursor atau ketuk sebuah nama untuk menyorot rekan penulisnya. Klik dua kali untuk membuka halaman penulis.
- State University of Semarang
- Universitas Halu Oleo
- Universitas Islam Negeri Ar-Raniry
- University of Miyazaki
- Universitas Sulawesi Tenggara
- IPB University
- Universitas Papua
- Organisasi lain
- Afiliasi tidak diketahui
- Organisasi berbeda
- Organisasi sama
- Afiliasi tidak diketahui
- Garis lebih tebal = lebih banyak artikel bersama · lingkaran lebih besar = lebih banyak artikel
Tampilkan sebagai tabel
| Rekan penulis | Organisasi | Artikel bersama |
|---|---|---|
| Yahya Nur Ifriza | State University of Semarang | 3 |
| Arif Widiyatmoko | State University of Semarang | 1 |
| Zaenuri Zaenuri | State University of Semarang | 1 |
| Daiki Nakamura | University of Miyazaki | 1 |
| Asri Djauhar | Universitas Sulawesi Tenggara | 1 |
| Nasir Andi Baso | Afiliasi tidak diketahui | 1 |
| A. Ginong Pratikino | Universitas Halu Oleo | 1 |
| Muhammad Trial Fiar Erawan | IPB University | 1 |
| Arwan Arif Rahman | Universitas Halu Oleo | 1 |
| Duaitd Kolibongso | Universitas Papua | 1 |
| Adi Imam Wahyudi | Universitas Halu Oleo | 1 |
| La Ode Musni | Universitas Halu Oleo | 1 |
| Anung Wijaya | Universitas Halu Oleo | 1 |
| Ishaq Warsandi | Universitas Halu Oleo | 1 |
| Baso Amrullah | Afiliasi tidak diketahui | 1 |
| Jupri Jupri | Afiliasi tidak diketahui | 1 |
| Indri Maharani Tenriabeng | Afiliasi tidak diketahui | 1 |
| Muhammad Ahmi Husein | University of Pembangunan Nasional Veteran Jawa Timur | 1 |
| Muhammad Ramli | Universitas Halu Oleo | 1 |
| Riska Nur Amelia | Universitas Halu Oleo | 1 |
| Gideon Ramot Aprilliano Panjaitan | State University of Semarang | 1 |
| Dimas Hardi Pamungkas | State University of Semarang | 1 |
| Ibrahim Ibrahim | State University of Medan | 1 |
| Marwan Marwan | Universitas Syiah Kuala | 1 |
| Safrilsyah Safrilsyah | Universitas Islam Negeri Ar-Raniry | 1 |
| Mohd Zailani Mohd Yusoff | Universiti Utara Malaysia | 1 |
| Mhd. Ricky Darusman | Universitas Islam Negeri Ar-Raniry | 1 |
| Riza Arifudin | State University of Semarang | 1 |
| Nur Fateah | State University of Semarang | 1 |
| Ruslaini Ruslaini | Universitas Halu Oleo | 1 |
| Kadir Sabilu | Universitas Halu Oleo | 1 |
| Abdul Rahman Nurdin | Universitas Halu Oleo | 1 |
| Eko Harianto | Universitas Batanghari | 1 |
| Muhammad Sam’an | Universitas Muhammadiyah Semarang | 1 |
| Endah Widhihastuti | State University of Semarang | 1 |
| Senda Kartika Rakainsa | State University of Semarang | 1 |
| Deny Lukman Syarif | State University of Semarang | 1 |
Afiliasi berasal dari OpenAlex; metadata OAI-PMH jurnal tidak memuatnya. Penulis tanpa ID OpenAlex dicocokkan berdasarkan nama, sehingga dua orang bisa tergabung atau satu orang bisa terpisah.