mlsanityData to 14 Oct 2026

Simulating SQL Injection Vulnerability Exploitation Using Q-Learning Reinforcement Learning Agents

arXiv 2101.03118 ↗First posted 8 Jan 2021cs.CR cs.LGcited by 6

Not on the map. Why?

Abstract (arXiv)

In this paper, we propose a formalization of the process of exploitation of SQL injection vulnerabilities. We consider a simplification of the dynamics of SQL injection attacks by casting this problem as a security capture-the-flag challenge. We model it as a Markov decision process, and we implement it as a reinforcement learning problem. We then deploy reinforcement learning agents tasked with learning an effective policy to perform SQL injection; we design our training in such a way that the agent learns not just a specific strategy to solve an individual challenge but a more generic policy that may be applied to perform SQL injection attacks against any system instantiated randomly by our problem generator. We analyze the results in terms of the quality of the learned policy and in terms of convergence time as a function of the complexity of the challenge and the learning agent's complexity. Our work fits in the wider research on the development of intelligent agents for autonomous penetration testing and white-hat hacking, and our results aim to contribute to understanding the potential and the limits of reinforcement learning in a security environment.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 4 of its 23 references that are in the map. First posted on arXiv 8 Jan 2021.

Builds on

4 of 23 references.

References · 4

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018Automated Vulnerability Detection in Source Code Using Deep Representation Learningcited by 114
  3. 2013Penetration Testing == POMDP Solving?cited by 9
  4. 2020The Agent Web Model -- Modelling web hacking for reinforcement learningcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 1; 2024: 1; 2025: 3; 2026: 1.

6 papers.