arrow
Return

Question-Answer Methodology for Vulnerable Source Code Review via Prototype-Based Model-Agnostic Meta-Learning

delete2025-01-14
delete0
delete
OA
AI
P
Pablo Corona-Fraga
A
Aldo Hernandez-Suarez
G
Gabriel Sanchez-Perez *
K
Karina Toscano
H
Héctor Pérez-Meana
J
José Portillo-Portillo
J
Jesús Olivares-Mercado
L
Luis Javier García Villalba *
DOI:10.3390/fi17010033delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
In cybersecurity, identifying and addressing vulnerabilities in source code is essential for maintaining secure IT environments. Traditional static and dynamic analysis techniques, although widely used, often exhibit high false-positive rates, elevated costs, and limited interpretability. Machine Learning (ML)-based approaches aim to overcome these limitations but encounter challenges related to scalability and adaptability due to their reliance on large labeled datasets and their limited alignment with the requirements of secure development teams. These factors hinder their ability to adapt to rapidly evolving software environments. This study proposes an approach that integrates Prototype-Based Model-Agnostic Meta-Learning(Proto-MAML) with a Question-Answer (QA) framework that leverages the Bidirectional Encoder Representations from Transformers (BERT) model. By employing Few-Shot Learning (FSL), Proto-MAML identifies and mitigates vulnerabilities with minimal data requirements, aligning with the principles of the Secure Development Lifecycle (SDLC) and Development, Security, and Operations (DevSecOps). The QA framework allows developers to query vulnerabilities and receive precise, actionable insights, enhancing its applicability in dynamic environments that require frequent updates and real-time analysis. The model outputs are interpretable, promoting greater transparency in code review processes and enabling efficient resolution of emerging vulnerabilities. Proto-MAML demonstrates strong performance across multiple programming languages, achieving an average precision of 98.49%, recall of 98.54%, F1-score of 98.78%, and exact match rate of 98.78% in PHP, Java, C, and C++.
Keywords:
question-answer methodology
vulnerable source code review
prototype-based learning
model-agnostic meta-learning
Proto-MAML
code vulnerability detection
software security
few-shot learning
source code analysis
meta-learning techniques
automated code review
cybersecurity
knowledge transfer
code reconstruction

Journal

Future Internet cover
Future Internet
IF:
3.6
Papers:
1.3K
Citations:
6.5K

Organization

I
Inst Politecn Nacl
Scholars:
642
Papers: 280
Citations: 59
U
Univ Complutense Madrid UCM
Scholars:
47
Papers: 23
Citations: 6
researcher View more organizations
Cited Papers

Cited Papers

Holding on to Compliance While Adopting DevSecOps: An SLR
err2022-11-12
err0
errOAAI
errXhesika Ramaj; Mary Sánchez-Gordón; Vasileios Gkioulos; Sabarathinam Chockalingam; Ricardo Colomo-Palacios
errShare
errSave
Fundamentals of Software Testing
err
IF0
err2024-06-14
err0
errOAAI
errBernard Homès
errShare
errSave
VulDeeLocator: A Deep Learning-Based Fine-Grained Vulnerability Detector
err2022-07-01
err87
errOAAI
errLi, Zhen; Zou, Deqing; Xu, Shouhuai; Chen, Zhaoxuan; Zhu, Yawei; Jin, Hai
errShare
errSave
SySeVR: A Framework for Using Deep Learning to Detect Software Vulnerabilities
err2022-07-01
err261
errOAAI
errLi, Zhen; Zou, Deqing; Xu, Shouhuai; Jin, Hai; Zhu, Yawei; Chen, Zhaoxuan
errShare
errSave
errShare
errSave
errShare
errSave
A survey of deep meta-learning
err2021-04-19
err234
errOAAI
errHuisman, Mike; van Rijn, Jan N.; Plaat, Aske
errShare
errSave
Multimodality in meta-learning: A comprehensive survey
err2022-08-01
err35
errOAAI
errMa, Yao; Zhao, Shilin; Wang, Weixiao; Li, Yaoman; King, Irwin
errShare
errSave
Improved prototypical networks for few-Shot learninge
err2020-12-01
err77
PREAI
errJi, Zhong; Chai, Xingliang; Yu, Yunlong; Pang, Yanwei; Zhang, Zhongfei
errShare
errSave
researcher View more