Pith. sign in

REVIEW 2 cited by

Transformer-based Vulnerability Detection in Code at EditTime: Zero-shot, Few-shot, or Fine-tuning?

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2306.01754 v1 pith:AQVWVRUS submitted 2023-05-23 cs.CR cs.AIcs.LG

classification cs.CRcs.AIcs.LG
keywords codevulnerabilitydetectiondetectedittimepatternssoftwarestate
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Software vulnerabilities bear enterprises significant costs. Despite extensive efforts in research and development of software vulnerability detection methods, uncaught vulnerabilities continue to put software owners and users at risk. Many current vulnerability detection methods require that code snippets can compile and build before attempting detection. This, unfortunately, introduces a long latency between the time a vulnerability is injected to the time it is removed, which can substantially increases the cost of fixing a vulnerability. We recognize that the current advances in machine learning can be used to detect vulnerable code patterns on syntactically incomplete code snippets as the developer is writing the code at EditTime. In this paper we present a practical system that leverages deep learning on a large-scale data set of vulnerable code patterns to learn complex manifestations of more than 250 vulnerability types and detect vulnerable code patterns at EditTime. We discuss zero-shot, few-shot, and fine-tuning approaches on state of the art pre-trained Large Language Models (LLMs). We show that in comparison with state of the art vulnerability detection models our approach improves the state of the art by 10%. We also evaluate our approach to detect vulnerability in auto-generated code by code LLMs. Evaluation on a benchmark of high-risk code scenarios shows a reduction of up to 90% vulnerability reduction.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Closing the Gap: A User Study on the Real-world Usefulness of AI-powered Vulnerability Detection & Repair in the IDE

    cs.SE 2024-12 conditional novelty 7.0 of 10

    A user study of 17 developers using an IDE-integrated AI vulnerability scanner on their own projects found high false-positive rates and non-applicable fixes, making the tool not yet practical.

  2. Code Change Intention, Development Artifact and History Vulnerability: Putting Them Together for Vulnerability Fix Detection by LLM

    cs.SE 2025-01 conditional novelty 6.0 of 10

    LLM4VFD combines LLM-generated summaries of commit intent, issue/PR context, and retrieved historical fixes to detect vulnerability-fixing commits, reporting F1 gains of 68.1% to 145.4% over prior PLM baselines.

Pith tools