LLM-based Vulnerable Code Augmentation: Generate or Refactor?
9 Dec · Dyna Soumhane Ouchebara, Stéphane Dupont · arXiv:2512.08493
Vulnerability code-bases often suffer from severe imbalance, limiting the effectiveness of Deep Learning-based vulnerability classifiers. Data Augmentation could help solve this by mitigating the scarcity of under-represented vulnerability types. In this context, we investigate LLM-based augmentation for vulnerable functions, comparing controlled generation of new vulnerable samples with semantics-preserving…