AI-Augmented Vulnerability Discovery through Static Code Pattern Clustering in Micro services

The mushrooming adoption of microservice architecture in modern software engineering certainly resulted in a substantial boost in scalability, deployment flexibility, and system resilience. Nevertheless, it has also given rise to excessively extensive security concerns owing to its inherent distribution of communication among one or more high viscosity services. In many cases, current techniques of anomaly identification have been ineffective in dealing with subtle non-robust vulnerabilities that are specific to the microservice-based systems. To close this exploration and design gap, we propose an AI-inspired framework for anomaly identification, applied in particular to a collection of microservices, which integrates static code pattern clustering with deep learning-based code embeddings. This method combines static code parsing, semantic vectorization using CodeBERT, and feature space clustering techniques: DBSCAN and k-means. The goal is for the model to organize semantically similar blocks of code and point out instances where anomalous patterns might reveal further vulnerability. The approach is conceived across the multilanguage microservices landscape for the capture of both intra- and inter-service anomalies. Unlike traditional scanners, the present AI-driven model learns from the structure and semantics of real-world code, thereby providing reduced false positives and higher detection for novel or zero-day vulnerabilities. Evaluation results on microservices repositories from the ensemble of open-source repositories showed that our method is highly precise and recall, outperforming even conventional tools in terms of both absolute accuracy and readability. Moreover, visualization technologies like t-SNE have been shown to get coherent code clusters with outliers relevant to high-risk segments. This study demonstrates the potential for AI-based static analysis to create secure microservices that are supposed to have the ability, if subjected to collaborative efforts, to automate the detection of security flaws with the help of correlative understanding of code patterns. Our results suggest that integrating these techniques in DevSecOps workflows will eventually result in further vigilant and scalable vulnerability management within the software development lifecycle.

Authors

Institutions

Publication Details

Journal
International Journal of Scientific Research and Management (IJSRM)
Published
2025-05-05
DOI
https://doi.org/10.18535/ijsrm/v13i05.ec01
Primary Topic
Software System Performance and Reliability
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

AI-Augmented Vulnerability Discovery through Static Code Pattern Clustering in Micro services

Gopinath Kathiresan
International Journal of Scientific Research and Management (IJSRM)
Software System Performance and Reliability
article

AI-Augmented Vulnerability Discovery through Static Code Pattern Clustering in Micro services

Gopinath Kathiresan
article en

Abstract

The mushrooming adoption of microservice architecture in modern software engineering certainly resulted in a substantial boost in scalability, deployment flexibility, and system resilience. Nevertheless, it has also given rise to excessively extensive security concerns owing to its inherent distribution of communication among one or more high viscosity services. In many cases, current techniques of anomaly identification have been ineffective in dealing with subtle non-robust vulnerabilities that are specific to the microservice-based systems. To close this exploration and design gap, we propose an AI-inspired framework for anomaly identification, applied in particular to a collection of microservices, which integrates static code pattern clustering with deep learning-based code embeddings. This method combines static code parsing, semantic vectorization using CodeBERT, and feature space clustering techniques: DBSCAN and k-means. The goal is for the model to organize semantically similar blocks of code and point out instances where anomalous patterns might reveal further vulnerability. The approach is conceived across the multilanguage microservices landscape for the capture of both intra- and inter-service anomalies. Unlike traditional scanners, the present AI-driven model learns from the structure and semantics of real-world code, thereby providing reduced false positives and higher detection for novel or zero-day vulnerabilities. Evaluation results on microservices repositories from the ensemble of open-source repositories showed that our method is highly precise and recall, outperforming even conventional tools in terms of both absolute accuracy and readability. Moreover, visualization technologies like t-SNE have been shown to get coherent code clusters with outliers relevant to high-risk segments. This study demonstrates the potential for AI-based static analysis to create secure microservices that are supposed to have the ability, if subjected to collaborative efforts, to automate the detection of security flaws with the help of correlative understanding of code patterns. Our results suggest that integrating these techniques in DevSecOps workflows will eventually result in further vigilant and scalable vulnerability management within the software development lifecycle.

International Journal of Scientific Research and Management (IJSRM)Vol. 13(05)
Sunnyvale Public Library (US)
Openalex Percentile: Top 91%
Software System Performance and Reliability
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.