International Journal on Science and Technology

E-ISSN: 2229-7677     Impact Factor: 9.88

A Widely Indexed Open Access Peer Reviewed Multidisciplinary Bi-monthly Scholarly International Journal

Call for Paper Volume 16 Issue 2 April-June 2025 Submit your research before last 3 days of June to publish your research paper in the issue of April-June.

Sql Injection Attack Detection using Logistic Regression and TF-IDF Vectorization

Author(s) K.Harini, N.Dilip, M.Aditya, P.Priyanka
Country India
Abstract SQL injection attacks pose a serious security risk to online applications because they provide hackers access to sensitive data and the ability to manipulate databases using malicious SQL commands. This project uses TF-IDF vectorization and logistic regression to detect SQL injection attacks using a machine learning method. To train the model, a dataset of legitimate and malicious SQL instructions is generated and preprocessed. An intuitive user
interface for the realtime detection of SQL injection attempts is provided by the integration of the trained model into a Flask web application. Users can enter attempts at SQL injection into the program. Users can enter SQL instructions
into the application to get immediate feedback on whether the command is malicious or genuine. By successfully identifying and mitigating possible SQL injection risks through machine learning, this technology improves the
security posture of web applications.
Keywords Cybersecurity, Flask, Web Application Security, Machine Learning, Logistic Regression, TF-IDF Vectorization, SQL Injection, Real-Time Detection, Data Preprocessing, and ModelTrainCybersecurity, Flask, Web Application Security, Machine Learning, Logistic Regression, TF-IDF Vectorization, SQL Injection, Real- Time Detection, Data Preprocessing, and ModelTrain
Field Computer > Network / Security
Published In Volume 16, Issue 2, April-June 2025
Published On 2025-05-31
DOI https://doi.org/10.71097/IJSAT.v16.i2.5711
Short DOI https://doi.org/g9mvt9

Share this