Lune

ICSE2023顶会

VULGEN: Realistic Vulnerability Generation Via Pattern Mining and Deep Learning

Yu Nong, Yuzhe Ou, Michael Pradel, Feng Chen, Haipeng Cai

摘要

Building new, powerful data-driven defenses against prevalent software vulnerabilities needs sizable, quality vulnerability datasets, so does large-scale benchmarking of existing defense solutions. Automatic data generation would promisingly meet the need, yet there is little work aimed to generate much-needed quality vulnerable samples. Meanwhile, existing similar and adaptable techniques suffer critical limitations for that purpose. In this paper, we present VULGEN, the first injection-based vulnerability-generation technique that is not limited to a particular class of vulnerabilities. VULGEN combines the strengths of deterministic (pattern-based) and probabilistic (deep-learning/DL-based) program transformation approaches while mutually overcoming respective weaknesses. This is achieved through close collaborations between pattern mining/application and DL-based injection localization, which separates the concerns with how and where to inject. By leveraging large, pretrained programming language modeling and only learning locations, VULGEN mitigates its own needs for quality vulnerability data (for training the localization model). Extensive evaluations show that VULGEN significantly outperforms a state-of-the-art (SOTA) pattern-based peer technique as well as both Transformer- and GNN-based approaches in terms of the percentages of generated samples that are vulnerable and those also exactly matching the ground truth (by 38.0-430.1% and 16.3-158.2%, respectively). The VULGEN-generated samples led to substantial performance improvements for two SOTA DL-based vulnerability detectors (by up to 31.8% higher in F1), close to those brought by the ground-truth real-world samples and much higher than those by the same numbers of existing synthetic samples.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 10 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generation 引用了 CodeBERT: A Pre-Trained Model for Programming and Natural Languages
  • VulRepair: a T5-based automated software vulnerability repair 引用了 CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generation
  • VulRepair: a T5-based automated software vulnerability repair 引用了 CodeBERT: A Pre-Trained Model for Programming and Natural Languages
  • VulRepair: a T5-based automated software vulnerability repair 引用了 CURE: Code-Aware Neural Machine Translation for Automatic Program Repair
  • VGX: Large-Scale Sample Generation for Boosting Learning-Based Software Vulnerability Analyses 引用了 CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generation
  • VGX: Large-Scale Sample Generation for Boosting Learning-Based Software Vulnerability Analyses 引用了 CodeBERT: A Pre-Trained Model for Programming and Natural Languages
  • VGX: Large-Scale Sample Generation for Boosting Learning-Based Software Vulnerability Analyses 引用了 VulRepair: a T5-based automated software vulnerability repair
  • Less training, more repairing please: revisiting automated program repair via zero-shot learning 引用了 CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generation
  • Less training, more repairing please: revisiting automated program repair via zero-shot learning 引用了 CodeBERT: A Pre-Trained Model for Programming and Natural Languages
  • Less training, more repairing please: revisiting automated program repair via zero-shot learning 引用了 CURE: Code-Aware Neural Machine Translation for Automatic Program Repair
  • Template-Guided Program Repair in the Era of Large Language Models 引用了 CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generation
  • Template-Guided Program Repair in the Era of Large Language Models 引用了 CodeBERT: A Pre-Trained Model for Programming and Natural Languages
  • Template-Guided Program Repair in the Era of Large Language Models 引用了 VulRepair: a T5-based automated software vulnerability repair
  • Template-Guided Program Repair in the Era of Large Language Models 引用了 Less training, more repairing please: revisiting automated program repair via zero-shot learning
  • Template-Guided Program Repair in the Era of Large Language Models 引用了 CURE: Code-Aware Neural Machine Translation for Automatic Program Repair
  • Template-Guided Program Repair in the Era of Large Language Models 引用了 An Empirical Study on Fine-Tuning Large Language Models of Code for Automated Program Repair
  • Learning to Detect and Localize Multilingual Bugs 引用了 CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generation
  • Learning to Detect and Localize Multilingual Bugs 引用了 VGX: Large-Scale Sample Generation for Boosting Learning-Based Software Vulnerability Analyses
  • An Empirical Study on Fine-Tuning Large Language Models of Code for Automated Program Repair 引用了 CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generation
  • An Empirical Study on Fine-Tuning Large Language Models of Code for Automated Program Repair 引用了 CodeBERT: A Pre-Trained Model for Programming and Natural Languages
  • An Empirical Study on Fine-Tuning Large Language Models of Code for Automated Program Repair 引用了 VulRepair: a T5-based automated software vulnerability repair
  • An Empirical Study on Fine-Tuning Large Language Models of Code for Automated Program Repair 引用了 Less training, more repairing please: revisiting automated program repair via zero-shot learning
  • An Empirical Study on Fine-Tuning Large Language Models of Code for Automated Program Repair 引用了 CURE: Code-Aware Neural Machine Translation for Automatic Program Repair
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper10

  1. An Empirical Study on Fine-Tuning Large Language Models of Code for Automated Program RepairKai Huang, Xiangxin Meng, Jian Zhang, Yang Liu 等ASE 2023 · 91 次引用
  2. Coca: Improving and Explaining Graph Neural Network-Based Vulnerability Detection SystemsSicong Cao, Xiaobing Sun, Xiaoxue Wu, David Lo 等ICSE 2024 · 27 次引用
  3. VGX: Large-Scale Sample Generation for Boosting Learning-Based Software Vulnerability AnalysesYu Nong, Richard Fang, Guangbei Yi, Kunsong Zhao 等ICSE 2024 · 23 次引用
  4. Learning to Detect and Localize Multilingual BugsHaoran Yang, Yu Nong, Tao Zhang, Xiapu Luo 等FSE 2024 · 8 次引用
  5. Template-Guided Program Repair in the Era of Large Language ModelsKai Huang, Jian Zhang, Xiangxin Meng, Yang LiuICSE 2025 · 7 次引用

它引用的 Paper14

  1. CodeBERT: A Pre-Trained Model for Programming and Natural LanguagesZhangyin Feng, Daya Guo, Duyu Tang, Nan Duan 等EMNLP Findings 2020 · 2,828 次引用
  2. CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and GenerationYue Wang, Weishi Wang, Shafiq R. Joty, Steven C. H. HoiEMNLP 2021 · 1,224 次引用
  3. CURE: Code-Aware Neural Machine Translation for Automatic Program RepairNan Jiang, Thibaud Lutellier, Lin TanICSE 2021 · 267 次引用
  4. Less training, more repairing please: revisiting automated program repair via zero-shot learningChunqiu Steven Xia, Lingming ZhangFSE 2022 · 223 次引用
  5. VulRepair: a T5-based automated software vulnerability repairMichael Fu, Chakkrit Tantithamthavorn, Trung Le, Van Nguyen 等FSE 2022 · 206 次引用

相关 Paper

  1. Generating realistic vulnerabilities via neural code editing: an empirical studyYu Nong, Yuzhe Ou, Michael Pradel, Feng Chen 等FSE 2022 · 23 次引用
  2. Dataflow Analysis-Inspired Deep Learning for Efficient Vulnerability DetectionBenjamin Steenhoek, Hongyang Gao, Wei LeICSE 2024 · 54 次引用
  3. Are We Learning the Right Features? A Framework for Evaluating DL-Based Software Vulnerability Detection SolutionsSatyaki Das, Syeda Tasnim Fabiha, Saad Shafiq, Nenad MedvidovicICSE 2025 · 1 次引用
  4. GVI: Guided Vulnerability Imagination for Boosting Deep Vulnerability DetectorsHeng Yong, Zhong Li, Minxue Pan, Tian Zhang 等ICSE 2025 · 2 次引用
  5. Exploring and Improving Real-World Vulnerability Data Generation via Prompting Large Language ModelsGuangbei Yi, Yu Nong, Minzhang Li, Haipeng CaiICSE 2026
黄昏的海面,两侧是细线勾勒的悬崖