Semgrep*: Improving the Limited Performance of Static Application Security Testing (SAST) Tools


연구 분야: Analysis



학회: EASE '24: Proceedings of the 28th International Conference on Evaluation and Assessment in Software Engineering


초록

Vulnerabilities in code should be detected and patched quickly to reduce the time in which they can be exploited. There are many automated approaches to assist developers in detecting vulnerabilities, most notably Static Application Security Testing (SAST) tools. However, no single tool detects all vulnerabilities and so relying on any one tool may leave vulnerabilities dormant in code. In this study, we use a manually curated dataset to evaluate four SAST tools on production code with known vulnerabilities. Our results show that the vulnerability detection rates of individual tools range from 11.2% to 26.5%, but combining these four tools can detect 38.8% of vulnerabilities. We investigate why SAST tools are unable to detect 61.2% of vulnerabilities and identify missing vulnerable code patterns from tool rule sets. Based on our findings, we create new rules for Semgrep, a popular configurable SAST tool. Our newly configured Semgrep tool detects 44.7% of vulnerabilities, more than using a combination of tools, and a 181% improvement in Semgrep’s detection rate.


Author Profile
Gareth Bennett

School of Computing and Communications Lancaster University United Kingdom

Andorra
Author Profile
Tracy Hall

School of Computing and Communications Lancaster University United Kingdom

Andorra
Author Profile
Emily Rowan Winter

School of Computing and Communications Lancaster University United Kingdom

Andorra

📄 논문 정보

발행 연도 2024년
인용수 8
출판 국가 United Kingdom, Andorra
사이트 ACM
좋아요 수 0

연관 논문 목록 (384건)