Skip to content
Publications

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.

Web Application Security VulnerabilitiesSoftware Testing and Debugging TechniquesSoftware Engineering ResearchCommon Weakness Enumerationsoftware vulnerability detectionweb application security

More by Duman Marlambekov