Enhanced LLM-Based Framework for Predicting Null Pointer Dereference in Source Code

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Sultan, Md. Fahim, Karim, Tasmin, Shaon, Md. Shazzad Hossain, Wardat, Mohammad, Akter, Mst Shapna
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917852842295296
author Sultan, Md. Fahim
Karim, Tasmin
Shaon, Md. Shazzad Hossain
Wardat, Mohammad
Akter, Mst Shapna
author_facet Sultan, Md. Fahim
Karim, Tasmin
Shaon, Md. Shazzad Hossain
Wardat, Mohammad
Akter, Mst Shapna
contents Software security is crucial in any field where breaches can exploit sensitive data, and lead to financial losses. As a result, vulnerability detection becomes an essential part of the software development process. One of the key steps in maintaining software integrity is identifying vulnerabilities in the source code before deployment. A security breach like CWE-476, which stands for NULL pointer dereferences (NPD), is crucial because it can cause software crashes, unpredictable behavior, and security vulnerabilities. In this scientific era, there are several vulnerability checkers, where, previous tools often fall short in analyzing specific feature connections of the source code, which weakens the tools in real-world scenarios. In this study, we propose another novel approach using a fine-tuned Large Language Model (LLM) termed "DeLLNeuN". This model leverages the advantage of various layers to reduce both overfitting and non-linearity, enhancing its performance and reliability. Additionally, this method provides dropout and dimensionality reduction to help streamline the model, making it faster and more efficient. Our model showed 87% accuracy with 88% precision using the Draper VDISC dataset. As software becomes more complex and cyber threats continuously evolve, the need for proactive security measures will keep growing. In this particular case, the proposed model looks promising to use as an early vulnerability checker in software development.
format Preprint
id arxiv_https___arxiv_org_abs_2412_00216
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Enhanced LLM-Based Framework for Predicting Null Pointer Dereference in Source Code
Sultan, Md. Fahim
Karim, Tasmin
Shaon, Md. Shazzad Hossain
Wardat, Mohammad
Akter, Mst Shapna
Software Engineering
Software security is crucial in any field where breaches can exploit sensitive data, and lead to financial losses. As a result, vulnerability detection becomes an essential part of the software development process. One of the key steps in maintaining software integrity is identifying vulnerabilities in the source code before deployment. A security breach like CWE-476, which stands for NULL pointer dereferences (NPD), is crucial because it can cause software crashes, unpredictable behavior, and security vulnerabilities. In this scientific era, there are several vulnerability checkers, where, previous tools often fall short in analyzing specific feature connections of the source code, which weakens the tools in real-world scenarios. In this study, we propose another novel approach using a fine-tuned Large Language Model (LLM) termed "DeLLNeuN". This model leverages the advantage of various layers to reduce both overfitting and non-linearity, enhancing its performance and reliability. Additionally, this method provides dropout and dimensionality reduction to help streamline the model, making it faster and more efficient. Our model showed 87% accuracy with 88% precision using the Draper VDISC dataset. As software becomes more complex and cyber threats continuously evolve, the need for proactive security measures will keep growing. In this particular case, the proposed model looks promising to use as an early vulnerability checker in software development.
title Enhanced LLM-Based Framework for Predicting Null Pointer Dereference in Source Code
topic Software Engineering
url https://arxiv.org/abs/2412.00216