Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

AI Agentic Vulnerability Injection And Transformation with Optimized Reasoning

About

The increasing complexity of software systems and the sophistication of cyber-attacks have underscored the need for reliable automated software vulnerability detection. Data-driven approaches using deep learning models show promise but critically depend on the availability of large, accurately labeled datasets. Yet existing datasets either suffer from noisy labels, limited vulnerability coverage, or fail to reflect vulnerabilities as they occur in real-world software. This also limits large-scale benchmarking of such solutions. Automated vulnerability injection provides a way to address these limitations, but existing techniques remain limited in coverage, contextual fidelity, or injection success. In this paper, we present AVIATOR, the first AI-agentic vulnerability injection framework. AVIATOR decomposes vulnerability injection into a coordinated workflow of specialized AI agents, tool-based analysis, and iterative self-correction, explicitly mirroring expert reasoning. It integrates RAG and lightweight LoRA-based fine-tuning to produce realistic, category-specific vulnerabilities without relying on handcrafted patterns. Across three benchmarks, AVIATOR achieves high injection fidelity (91-95%) surpassing existing injection techniques in both accuracy and vulnerability coverage. When used for data augmentation to train deep learning-based vulnerability detection (DLVD) models, AVIATOR provides the strongest downstream gains in vulnerability detection. Across models and base datasets, AVIATOR improves average F1 scores by +22% over no augmentation, +25% over VGX, holding the prior best injection success rate, and +3% over VulScribeR, the prior state-of-the-art LLM-based injection model, with +7% higher recall and no precision loss. Its augmented data exhibits the lowest distributional distortion and scales efficiently with <2% syntax rejection at 4.3x lower cost than VulScribeR.

Amine Lbath, Massih-Reza Amini, Aurelien Delaitre, Vadim Okun• 2025

Related benchmarks

TaskDatasetResultRank
Vulnerability DetectionBigVul Seed: Devign (test)
Precision11.27
24
Vulnerability DetectionPrimeVul Seed: PrimeVul Train (test)
Precision19.74
24
Vulnerability InjectionMajor Vulnerability Datasets Injection
Accuracy93
8
Vulnerability LabelingMajor Vulnerability Datasets Labeling--
4
Showing 4 of 4 rows

Other info

Follow for update