Ranking Warnings of Static Analysis Tools Using Representation Learning

10/07/2021
by   Kien-Tuan Ngo, et al.
0

Static analysis tools are frequently used to detect potential vulnerabilities in software systems. However, an inevitable problem of these tools is their large number of warnings with a high false positive rate, which consumes time and effort for investigating. In this paper, we present DeFP, a novel method for ranking static analysis warnings. Based on the intuition that warnings which have similar contexts tend to have similar labels (true positive or false positive), DeFP is built with two BiLSTM models to capture the patterns associated with the contexts of labeled warnings. After that, for a set of new warnings, DeFP can calculate and rank them according to their likelihoods to be true positives (i.e., actual vulnerabilities). Our experimental results on a dataset of 10 real-world projects show that using DeFP, by investigating only 60 Moreover, DeFP improves the state-of-the-art approach 30 Recall.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/25/2022

Using Multiple Code Representations to Prioritize Static Analysis Warnings

In order to ensure the quality of software and prevent attacks from hack...
research
10/14/2022

Learning Algorithms in Static Analysis of Web Applications

Web applications are distributed applications, they are programs that ru...
research
05/07/2021

Test Suites as a Source of Training Data for Static Analysis Alert Classifiers

Flaw-finding static analysis tools typically generate large volumes of c...
research
03/31/2023

Ranking Regularization for Critical Rare Classes: Minimizing False Positives at a High True Positive Rate

In many real-world settings, the critical class is rare and a missed det...
research
07/06/2021

Furthering a Comprehensive SETI Bibliography

In 2019, Reyes Wright used the NASA Astrophysics Data System (ADS) t...
research
06/01/2023

TriSig: Assessing the statistical significance of triclusters

Tensor data analysis allows researchers to uncover novel patterns and re...
research
04/18/2022

AB/BA analysis: A framework for estimating keyword spotting recall improvement while maintaining audio privacy

Evaluation of keyword spotting (KWS) systems that detect keywords in spe...

Please sign up or login with your details

Forgot password? Click here to reset