mlsanityData to 7 Oct 2026

Unintentional Security Flaws in Code: Automated Defense via Root Cause Analysis

arXiv 2409.00199 ↗First posted 30 Aug 2024cs.SE cs.CR cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Software security remains a critical concern, particularly as junior developers, often lacking comprehensive knowledge of security practices, contribute to codebases. While there are tools to help developers proactively write secure code, their actual effectiveness in helping developers fix their vulnerable code remains largely unmeasured. Moreover, these approaches typically focus on classifying and localizing vulnerabilities without highlighting the specific code segments that are the root cause of the issues, a crucial aspect for developers seeking to fix their vulnerable code. To address these challenges, we conducted a comprehensive study evaluating the efficacy of existing methods in helping junior developers secure their code. Our findings across five types of security vulnerabilities revealed that current tools enabled developers to secure only 36.2% of vulnerable code. Questionnaire results from these participants further indicated that not knowing the code that was the root cause of the vulnerability was one of their primary challenges in repairing the vulnerable code. Informed by these insights, we developed an automated vulnerability root cause (RC) toolkit called T5-RCGCN, that combines T5 language model embeddings with a graph convolutional network (GCN) for vulnerability classification and localization. Additionally, we integrated DeepLiftSHAP to identify the code segments that were the root cause of the vulnerability. We tested T5-RCGCN with 56 junior developers across three datasets, showing a 28.9% improvement in code security compared to previous methods. Developers using the tool also gained a deeper understanding of vulnerability root causes, resulting in a 17.0% improvement in their ability to secure code independently. These results demonstrate the tool's potential for both immediate security enhancement and long-term developer skill growth.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 29 of its 74 references that are in the map. First posted on arXiv 30 Aug 2024.

Builds on

29 of 74 references.

References · 29

  1. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  3. 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
  4. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
  5. 2017Learning Important Features Through Propagating Activation Differencescited by 1,454
  6. 2019Generalized Intersection over Union: A Metric and A Loss for Bounding Box Regressioncited by 1,361
  7. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
  8. 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
  9. 2021Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributionscited by 417
  10. 2019Devign: Effective Vulnerability Identification by Learning Comprehensive Program Semantics via Graph Neural Networkscited by 266
  11. 2020Deep Learning based Vulnerability Detection: Are We There Yet?cited by 142
  12. 2021Examining Zero-Shot Vulnerability Repair with Large Language Modelscited by 105
17 more
  1. 2020Every Document Owns Its Structure: Inductive Text Classification via Graph Neural Networkscited by 77
  2. 2023How Secure is Code Generated by ChatGPT?cited by 77
  3. 2022Repair Is Nearly Generation: Multilingual Program Repair with LLMscited by 68
  4. 2019Text Level Graph Neural Network for Text Classificationcited by 60
  5. 2022Taxonomy of Attacks on Open-Source Software Supply Chainscited by 57
  6. 2021Vulnerability Detection with Fine-grained Interpretationscited by 56
  7. 2020UNICORN: Runtime Provenance-Based Detector for Advanced Persistent Threatscited by 53
  8. 2022VulBERTa: Simplified Source Code Pre-Training for Vulnerability Detectioncited by 51
  9. 2021D2A: A Dataset Built for AI-Based Vulnerability Detection Methods Using Differential Analysiscited by 48
  10. 2020VulDeeLocator: A Deep Learning-based Fine-grained Vulnerability Detectorcited by 37
  11. 2021Neural Transfer Learning for Repairing Security Vulnerabilities in C Codecited by 36
  12. 2021ReGVD: Revisiting Graph Neural Networks for Vulnerability Detectioncited by 32
  13. 2021VELVET: a noVel Ensemble Learning approach to automatically locate VulnErable sTatementscited by 20
  14. 2022Less is More: Supporting Developers in Vulnerability Detection during Code Reviewcited by 6
  15. 2023An Unbiased Transformer Source Code Learning with Semantic Vulnerability Graphcited by 5
  16. 2021Towards Making Deep Learning-based Vulnerability Detectors Robustcited by 4
  17. 2020On the Relationship between Software Complexity and Securitycited by 2

Built on by

Not cited yet.