CRAIJan 9

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

arXiv:2601.05587v12 citationsh-index: 9
Originality Incremental advance
AI Analysis

This work addresses the problem of improving adversarial attacks on LM-based vulnerability detectors for software security, representing an incremental advance by combining existing perturbation strategies with a novel optimization approach.

The paper tackled the vulnerability of LM-based software vulnerability detectors to adversarial attacks by proposing HogVul, a black-box adversarial code generation framework that integrates lexical and syntax perturbations with a dual-channel optimization strategy, achieving an average attack success rate improvement of 26.05% over state-of-the-art baselines.

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.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes