Back to search

Oberlin College Honors Theses

Quality of SQL Code Security on StackOverflow and Methods of Prevention

Abstract

dc:description

This paper explores the frequency at which SQL/PHP posts on the website Stackoverflow.com contain code susceptible to SQL Injection, a common database vulnerability. Specifically, we analyze whether other users give notice of the vulnerability or provide an answer that is secure. The majority of questions analyzed were vulnerable to SQL Injection and were not corrected in their answers or brought to the attention of the original poster. To mitigate this, we present a machine learning bot which analyzes the poster’s code and alerts them of potential injection vulnerabilities, if necessary.

Degree

thesis:*
Name thesis:degree_name
BA
Level thesis:degree_level
bachelors
Discipline thesis:degree_discipline
Computer Science
Grantor dc:publisher
Oberlin College Honors Theses
Year dc:date
2021

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Klock, Robert
Advisor dc:contributor.advisor
  • Taylor, Cynthia Bagier

Subjects

dc:subject × 6

Rights

dc:rights
Statement dc:rights
  • unrestricted
  • This thesis or dissertation is protected by copyright: some rights reserved. It is licensed for use under a Creative Commons license. Specific terms and permissions are available from this document's record in the OhioLINK ETD Center.
Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
OhioLINK
Base URL
etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Klock, Robert. Quality of SQL Code Security on StackOverflow and Methods of Prevention. bachelors thesis, Oberlin College Honors Theses, 2021. http://rave.ohiolink.edu/etdc/view?acc_num=oberlin1625831198110328