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
- Freed–Hardeman University (US)
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