1348-UC PatchPilot: Autonomous Pentesting and Remediation

Finding a vulnerability starts the job. A verified repair completes it. We developed and tested an autonomous penetration testing and remediation agent that connects offensive security testing with defensive repair. The system brings vulnerability discovery, controlled validation, code changes, and verification into one workflow. A Java client coordinates a locally hosted language model and a custom Model Context Protocol (MCP) server. The model interprets evidence and selects the next action, while the server validates requests and executes approved tools. Nmap identifies exposed ports and services, while Nikto and curl support focused web checks and vulnerability confirmation. Remediation tools apply controlled code, configuration, or dependency changes. Target and file path restrictions, execution limits, backups, and audit logs constrain and document the agent's actions. Implementation and testing used an intentionally vulnerable Flask application with mock data inside an isolated Docker environment. Three predefined scenarios cover exposed configuration data, SQL injection in a login endpoint, and an outdated dependency. Evaluation compares evidence collected before and after remediation. A repair is considered successful only when the original vulnerability test no longer succeeds and legitimate application behavior remains functional. Reports connect findings, changes, and verification outcomes for review. The completed system demonstrates an integrated approach to AI directed security testing and remediation within a defined lab scope. Its contribution is a repeatable workflow that moves beyond identifying weaknesses to applying changes and evaluating their effects. Future work includes broader vulnerability coverage and evaluation on additional applications.

Authors

Institutions

Publication Details

Journal
DigitalCommons - Kennesaw State University (Kennesaw State University)
Published
2026-11-20
Primary Topic
Web Application Security Vulnerabilities
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

1348-UC PatchPilot: Autonomous Pentesting and Remediation

Efe Akbaş, Ahmad Ibrahim, Andrew Lopez, Noel Chi
DigitalCommons - Kennesaw State University (Kennesaw State University)
Web Application Security Vulnerabilities
article

1348-UC PatchPilot: Autonomous Pentesting and Remediation

Efe Akbaş, Ahmad Ibrahim, Andrew Lopez, Noel Chi
article en

Abstract

Finding a vulnerability starts the job. A verified repair completes it. We developed and tested an autonomous penetration testing and remediation agent that connects offensive security testing with defensive repair. The system brings vulnerability discovery, controlled validation, code changes, and verification into one workflow. A Java client coordinates a locally hosted language model and a custom Model Context Protocol (MCP) server. The model interprets evidence and selects the next action, while the server validates requests and executes approved tools. Nmap identifies exposed ports and services, while Nikto and curl support focused web checks and vulnerability confirmation. Remediation tools apply controlled code, configuration, or dependency changes. Target and file path restrictions, execution limits, backups, and audit logs constrain and document the agent's actions. Implementation and testing used an intentionally vulnerable Flask application with mock data inside an isolated Docker environment. Three predefined scenarios cover exposed configuration data, SQL injection in a login endpoint, and an outdated dependency. Evaluation compares evidence collected before and after remediation. A repair is considered successful only when the original vulnerability test no longer succeeds and legitimate application behavior remains functional. Reports connect findings, changes, and verification outcomes for review. The completed system demonstrates an integrated approach to AI directed security testing and remediation within a defined lab scope. Its contribution is a repeatable workflow that moves beyond identifying weaknesses to applying changes and evaluating their effects. Future work includes broader vulnerability coverage and evaluation on additional applications.

DigitalCommons - Kennesaw State University (Kennesaw State University)
Kennesaw State University (US)
Web Application Security Vulnerabilities
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
1348-UC PatchPilot: Autonomous Pentesting and Remediation — Efe Akbaş, Ahmad Ibrahim, et al. · DigitalCommons - Kennesaw State University (Kennesaw State University) (2026) | TGRS Research Map | TGRS