Home / Companies / Semgrep / Blog / Post Details
Content Deep Dive

We put GPT-4 in Semgrep to point out false positives & fix code

Blog post from Semgrep

Post Details
Company
Date Published
Author
Bence Nagy
Word Count
1,635
Company Posts That Month
4
Language
English
Hacker News Points
-
Post removed?
No
Summary

Semgrep, a popular code search tool used for security scanning, has integrated GPT-4 into its cloud service to improve the triaging of security findings, aiming to distinguish which alerts are relevant before notifying developers. This integration has shown promising results in internal projects, offering insightful triaging decisions and sometimes automatically fixing code, though not always perfectly. The tool addresses a common issue in the SAST industry of high false positive rates, which can be challenging for less experienced developers to manage. By leveraging GPT-4's understanding of programming languages, Semgrep can reduce confusion around false positives and provide helpful explanations. Additionally, the AI's ability to suggest code fixes is being tested, with the goal of achieving a high rate of directly committable changes, though challenges remain in prompting the AI correctly. The integration aims to enhance productivity by reducing the need for discussions around code fixes, similar to how auto-formatters work, and is available for private beta testing, where AI suggestions are still being refined.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.