Reinforcement learning-based security vulnerability detection for microservices

dc.contributor.advisorPerera, I
dc.contributor.authorMaduranga, K
dc.date.accept2025
dc.date.accessioned2026-02-09T09:24:12Z
dc.date.issued2025
dc.description.abstractMicroservices architecture (MSA) is the main architectural model for contemporary software systems due to its scalability, flexibility, and maintainability. Yet, there are major security concerns that emerge from the distributed and dynamic nature of microservices. Most of these risks and vulnerabilities are difficult to identify due to the complexity and the evolving nature of microservice based systems. Due to this reason, conventional security vulnerability detection methods designed for monolithic systems are inadequate and ineffective in microservice based systems. To address this shortcoming, this thesis investigates the use of Reinforcement Learning (RL) and offers a Proximal Policy Optimization (PPO)-based framework as an automated and adaptive tool for finding security vulnerabilities in microservices. “Online Boutique” application, which built on microservices architecture is utilized as a testbed for assessing the performance of the developed RL framework in finding security vulnerabilities. The PPO agent learns to interact with the system, simulate attacks, and find real-time security vulnerabilities. The study intends to mimic DoS attack situations targeting the Online Boutique application. The suggested approach is a scalable, consistent security testing tool able to evolve to identify developing threats and adapt to new security vulnerabilities. This study proposes a promising substitute for conventional manual testing for DoS attacks. The results illustrate the efficacy of the PPO framework in detecting vulnerabilities in the microservices environment, with implications for improving the security of microservices-based applications.
dc.identifier.accnoTH5997
dc.identifier.citationMaduranga, K. (2025). Reinforcement learning-based security vulnerability detection for microservices [Master’s theses, University of Moratuwa]. Institutional Repository University of Moratuwa. https://dl.lib.uom.lk/handle/123/24824
dc.identifier.degreeMSc in Computer Science
dc.identifier.departmentDepartment of Computer Science & Engineering
dc.identifier.facultyEngineering
dc.identifier.urihttps://dl.lib.uom.lk/handle/123/24824
dc.language.isoen
dc.subjectMICROSERVICES ARCHITECTURE-Vulnerability Detection
dc.subjectMICROSERVICES ARCHITECTURE-Security Testing
dc.subjectREINFORCEMENT LEARNING
dc.subjectPROXIMAL POLICY OPTIMIZATION
dc.subjectAUTOMATED SECURITY
dc.subjectPENETRATION TESTING
dc.subjectDOS SIMULATION
dc.subjectMACHINE LEARNING
dc.subjectCYBERSECURITY
dc.subjectCOMPUTER SCIENCE-Dissertation
dc.subjectCOMPUTER SCIENCE AND ENGINEERING-Dissertation
dc.subjectMSc in Computer Science
dc.titleReinforcement learning-based security vulnerability detection for microservices
dc.typeThesis-Full-text

Files

Original bundle

Now showing 1 - 3 of 3
Loading...
Thumbnail Image
Name:
TH5997-1.pdf
Size:
875.31 KB
Format:
Adobe Portable Document Format
Description:
Pre-text
Loading...
Thumbnail Image
Name:
TH5997-2.pdf
Size:
190.07 KB
Format:
Adobe Portable Document Format
Description:
Post-text
Loading...
Thumbnail Image
Name:
TH5997.pdf
Size:
3.47 MB
Format:
Adobe Portable Document Format
Description:
Full-thesis

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed upon to submission
Description: