Article · IEEE Open Journal of the Communications Society · January 1, 2026
A Cost-Efficient CWE-Grounded Multi-Agent LLM Pipeline for Web and API Vulnerability Analysis: Design, Statistical Evaluation, and Implications for 5G/6G Edge Deployment
Aibek B. Zhenissov, Ibraheem Abdullah Mohammed Shayea, Duman Marlambekov, Aksultan Mukhanbet, Yedil S. Nurakhov, Leila Rzayeva
Abstract
Software-defined fifth-generation (5G) and sixth-generation (6G) networks expose web and application programming interface layers across distributed edge infrastructure, enlarging the attack surface while commercial static analysis stays costly for small teams. This study introduces a Common Weakness Enumeration (CWE)-based multi-agent pipeline: a detector agent achieves high recall, a validator agent scores candidates, and ambiguous cases are escalated to a human analyst. Escalation is formalized as classification with a reject option, with closed-form thresholds and proof that human review does not reduce precision. The pipeline was evaluated over ten runs on the Spiracle benchmark (blinded re-annotation), and against the OWASP Benchmark, compared to CodeQL, a single-agent configuration, and a rule-plus-large-language-model baseline. Precision reached 83.3% on Spiracle and 0.683 with 0.867 recall on labeled data, costing under $0.10 per scan. Model drift—not sampling temperature—explained most run-to-run variation. The evaluation used Java web code from two benchmarks; no 5G network function was scanned, and a deterministic analyzer outperformed the pipeline on detection.
More by Duman Marlambekov
- BENCHMARKING DEEP LEARNING MODELS FOR FEW-SHOT CLASSIFICATION OF KAZAKH NEWS TEXTS UNDER LIMITED ANNOTATIONHerald of Kazakh-British technical university · 2026
- Machine Learning-Based Early Warning System for Transport-Layer Bottlenecks in Open-Source 5G TestbedsAlgorithms · 2026
- Machine Learning-Based Early Warning System for Transport-Layer Bottlenecks in Open-Source 5G TestbedsZenodo · 2026
- Bridging the Semantic Gap in 5G: A Hybrid RAG Framework for Dual-Domain Understanding of O-RAN Standards and srsRAN ImplementationApplied Sciences · 2026 · Citations: 1
