Automated Java Code Vulnerability Detection and Remediation via Semantic Graph Analysis and Reinforcement Learning

**Abstract:** This paper introduces a novel system, the Automated Semantic Vulnerability Hunter (ASVH), leveraging semantic graph analysis and reinforcement learning to automatically detect and remediate vulnerabilities in Java codebases. ASVH moves beyond traditional static analysis and dynamic testing by constructing a comprehensive semantic graph representing the code's structure and data flow. The system then employs a reinforcement learning agent trained on a massive dataset of vulnerability patterns to identify potential vulnerabilities within the graph and propose automated code remediation strategies. Unlike existing approaches that primarily flag vulnerabilities, ASVH actively fixes them, significantly reducing development time and improving overall security posture. The system's combination of graph-based reasoning and RL offers a 2x improvement in vulnerability detection accuracy compared to state-of-the-art static analysis tools and reduces manual remediation effort by an estimated 60%.

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2025-10-08
DOI
https://doi.org/10.5281/zenodo.17292320
Primary Topic
Scientific Computing and Data Management
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Automated Java Code Vulnerability Detection and Remediation via Semantic Graph Analysis and Reinforcement Learning

Zenodo (CERN European Organization for Nuclear Research)
Scientific Computing and Data Management
article

Automated Java Code Vulnerability Detection and Remediation via Semantic Graph Analysis and Reinforcement Learning

article en

Abstract

**Abstract:** This paper introduces a novel system, the Automated Semantic Vulnerability Hunter (ASVH), leveraging semantic graph analysis and reinforcement learning to automatically detect and remediate vulnerabilities in Java codebases. ASVH moves beyond traditional static analysis and dynamic testing by constructing a comprehensive semantic graph representing the code's structure and data flow. The system then employs a reinforcement learning agent trained on a massive dataset of vulnerability patterns to identify potential vulnerabilities within the graph and propose automated code remediation strategies. Unlike existing approaches that primarily flag vulnerabilities, ASVH actively fixes them, significantly reducing development time and improving overall security posture. The system's combination of graph-based reasoning and RL offers a 2x improvement in vulnerability detection accuracy compared to state-of-the-art static analysis tools and reduces manual remediation effort by an estimated 60%.

Zenodo (CERN European Organization for Nuclear Research)
Freed–Hardeman University (US)
Peace, Justice and strong institutions
Openalex Percentile: Top 30%
Scientific Computing and Data Management
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.