mlsanityData to 7 Oct 2026

HogVul: Black-box Adversarial Code Generation Framework Against LM-based Vulnerability Detectors

arXiv 2601.05587 ↗First posted 9 Jan 2026cs.CR cs.AIcited by 3

Not on the map. Why?

Abstract (arXiv)

Recent advances in software vulnerability detection have been driven by Language Model (LM)-based approaches. However, these models remain vulnerable to adversarial attacks that exploit lexical and syntax perturbations, allowing critical flaws to evade detection. Existing black-box attacks on LM-based vulnerability detectors primarily rely on isolated perturbation strategies, limiting their ability to efficiently explore the adversarial code space for optimal perturbations. To bridge this gap, we propose HogVul, a black-box adversarial code generation framework that integrates both lexical and syntax perturbations under a unified dual-channel optimization strategy driven by Particle Swarm Optimization (PSO). By systematically coordinating two-level perturbations, HogVul effectively expands the search space for adversarial examples, enhancing the attack efficacy. Extensive experiments on four benchmark datasets demonstrate that HogVul achieves an average attack success rate improvement of 26.05% over state-of-the-art baseline methods. These findings highlight the potential of hybrid optimization strategies in exposing model vulnerabilities.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 19 of its 40 references that are in the map. First posted on arXiv 9 Jan 2026.

Builds on

19 of 40 references.

References · 19

  1. 2016Enriching Word Vectors with Subword Informationcited by 1,578
  2. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  3. 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
  4. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
  5. 2019Devign: Effective Vulnerability Identification by Learning Comprehensive Program Semantics via Graph Neural Networkscited by 266
  6. 2023Survey of Vulnerabilities in Large Language Models Revealed by Adversarial Attackscited by 189
  7. 2023DiverseVul: A New Vulnerable Source Code Dataset for Deep Learning Based Vulnerability Detectioncited by 98
  8. 2021SynCoBERT: Syntax-Guided Multi-Modal Contrastive Pre-Training for Code Representationcited by 63
  9. 2021D2A: A Dataset Built for AI-Based Vulnerability Detection Methods Using Differential Analysiscited by 48
  10. 2022CodeAttack: Code-Based Adversarial Attacks for Pre-trained Programming Language Modelscited by 48
  11. 2022An Empirical Study of Deep Learning Models for Vulnerability Detectioncited by 44
  12. 2020Composite Adversarial Attackscited by 29
7 more
  1. 2025Dynamic Parametric Retrieval Augmented Generation for Test-time Knowledge Enhancementcited by 24
  2. 2025Bottom-up Policy Optimization: Your Language Model Policy Secretly Contains Internal Policiescited by 22
  3. 2021Challenging Machine Learning-based Clone Detectors via Semantic-preserving Code Transformationscited by 15
  4. 2024Multi-granular Adversarial Attacks against Black-box Neural Ranking Modelscited by 14
  5. 2024Adversarial Attacks on Large Language Models Using Regularized Relaxationcited by 12
  6. 2023Code Difference Guided Adversarial Example Generation for Deep Code Modelscited by 8
  7. 2023Adversarial Attacks on Code Models with Discriminative Graph Patternscited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 3.

3 papers.