mlsanityData to 14 Oct 2026

MalCodeAI: Autonomous Vulnerability Detection and Remediation via Language Agnostic Code Reasoning

arXiv 2507.10898 ↗First posted 15 Jul 2025cs.CR cs.AI cs.SEcited by 3

Not on the map. Why?

Abstract (arXiv)

The growing complexity of cyber threats and the limitations of traditional vulnerability detection tools necessitate novel approaches for securing software systems. We introduce MalCodeAI, a language-agnostic, multi-stage AI pipeline for autonomous code security analysis and remediation. MalCodeAI combines code decomposition and semantic reasoning using fine-tuned Qwen2.5-Coder-3B-Instruct models, optimized through Low-Rank Adaptation (LoRA) within the MLX framework, and delivers scalable, accurate results across 14 programming languages. In Phase 1, the model achieved a validation loss as low as 0.397 for functional decomposition and summarization of code segments after 200 iterations, 6 trainable layers, and a learning rate of 2 x 10^(-5). In Phase 2, for vulnerability detection and remediation, it achieved a best validation loss of 0.199 using the same number of iterations and trainable layers but with an increased learning rate of 4 x 10^(-5), effectively identifying security flaws and suggesting actionable fixes. MalCodeAI supports red-hat-style exploit tracing, CVSS-based risk scoring, and zero-shot generalization to detect complex, zero-day vulnerabilities. In a qualitative evaluation involving 15 developers, the system received high scores in usefulness (mean 8.06/10), interpretability (mean 7.40/10), and readability of outputs (mean 7.53/10), confirming its practical value in real-world development workflows. This work marks a significant advancement toward intelligent, explainable, and developer-centric software security solutions.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 18 of its 33 references that are in the map. First posted on arXiv 15 Jul 2025.

Builds on

18 of 33 references.

References · 18

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2024The Llama 3 Herd of Modelscited by 14,715
  4. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  5. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
  6. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  7. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
  8. 2024Qwen2.5-Coder Technical Reportcited by 1,203
  9. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
  10. 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 609
  11. 2024StarCoder 2 and The Stack v2: The Next Generationcited by 502
  12. 2024DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligencecited by 331
6 more
  1. 2019Devign: Effective Vulnerability Identification by Learning Comprehensive Program Semantics via Graph Neural Networkscited by 272
  2. 2018EMBER: An Open Dataset for Training Static PE Malware Machine Learning Modelscited by 165
  3. 2018Adversarial Malware Binaries: Evading Deep Learning for Malware Detection in Executablescited by 62
  4. 2020Deep Learning for Source Code Modeling and Generation: Models, Applications and Challengescited by 55
  5. 2022VulBERTa: Simplified Source Code Pre-Training for Vulnerability Detectioncited by 51
  6. 2024Scalable Defect Detection via Traversal on Code Graphcited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 1.

3 papers.