Can a Llama Be a Watchdog? Exploring Llama 3 and Code Llama for Static Application Security Testing

Research in software vulnerability detection has seen significant growth, with numerous systems and techniques being developed. Deep learning approaches have become partic-ularly popular, with various architectures being adapted for this purpose. Llama 3, the newest AI model from Meta, was released in April 2024. It has been trained on an extensive text corpus and contains four times the amount of code compared to its prede-cessor, Llama 2. In contrast, Code Llama stands out as the only model in the Llama series that has been pre-trained specifically on source code. In this study, we examine the effectiveness of the Llama architectures in static security analysis tasks by fine-tuning Llama 3 and Code Llama for vulnerability classification and detection with high precision. To provide comprehensive insights, we compare their performance against three leading models-CodeBERT, PolyCoder, and NatGen-known for their effectiveness in source code analysis, using two benchmark C/C++ datasets.

Authors

Institutions

Publication Details

Published
2024-09-02
DOI
https://doi.org/10.1109/csr61664.2024.10679444
Citations
3
Primary Topic
Digital and Cyber Forensics
Type
article
Field-Weighted Citation Impact
2.34
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Can a Llama Be a Watchdog? Exploring Llama 3 and Code Llama for Static Application Security Testing

Daniela Giordano, Claudio Curto, Vladimiro Patatu, Daniel Gustav Indelicato
3 citations
Digital and Cyber Forensics
2.34
article

Can a Llama Be a Watchdog? Exploring Llama 3 and Code Llama for Static Application Security Testing

Daniela Giordano, Claudio Curto, Vladimiro Patatu, Daniel Gustav Indelicato
article en
3 citations

Abstract

Research in software vulnerability detection has seen significant growth, with numerous systems and techniques being developed. Deep learning approaches have become partic-ularly popular, with various architectures being adapted for this purpose. Llama 3, the newest AI model from Meta, was released in April 2024. It has been trained on an extensive text corpus and contains four times the amount of code compared to its prede-cessor, Llama 2. In contrast, Code Llama stands out as the only model in the Llama series that has been pre-trained specifically on source code. In this study, we examine the effectiveness of the Llama architectures in static security analysis tasks by fine-tuning Llama 3 and Code Llama for vulnerability classification and detection with high precision. To provide comprehensive insights, we compare their performance against three leading models-CodeBERT, PolyCoder, and NatGen-known for their effectiveness in source code analysis, using two benchmark C/C++ datasets.

University of Catania (IT)
Peace, Justice and strong institutions
Openalex Percentile: Top 9%
Digital and Cyber Forensics
2.34
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Can a Llama Be a Watchdog? Exploring Llama 3 and Code Llama for Static Application Security Testing — Daniela Giordano, Claudio Curto, et al. · (2024) | TGRS Research Map | TGRS