Home / Companies / Semgrep / Blog / August 2022

August 2022 Summaries

2 posts from Semgrep

Filter
Month: Year:
Post Summaries Back to Blog
In the realm of Static Application Security Testing (SAST), accurately identifying vulnerabilities is crucial, with the common challenge being the differentiation between true positives, false positives, and the often-overlooked false negatives, which are vulnerabilities not detected by the system. The iterative process of using SAST involves scanning for vulnerabilities, triaging results, and refining detection rules to improve accuracy. r2c has introduced a new feature in the Semgrep CLI called "shouldafound," which allows users to report false negatives directly to the security research team for further analysis and rule updates. This feature is particularly useful in scenarios such as when a bug bounty report reveals an undetected vulnerability, during manual code reviews, or by security consultants seeking automated detection for specific issues. Users can report false negatives by specifying code segments and messages, with the process ensuring data anonymization for public access considerations. The security research team then reviews these reports to update existing rules or create new ones, aiming to enhance the detection accuracy and reduce false negatives, thereby allowing users to focus on more critical tasks.
Aug 16, 2022 454 words in the original blog post.
Semgrep has introduced autofix tests to enhance its functionality, allowing users to automatically test the autofix feature of custom rules, which transforms non-compliant code into compliant code. This addition addresses a long-standing gap in automated testing for rule compliance after updates. Users can now create a separate file to test autofix behavior, and Semgrep will compare the fixed code to the original test code, providing clear diffs if discrepancies occur. The security research team at r2c, where Semgrep is developed, prioritizes the quality of its rules and continuously updates them based on user feedback and internal testing. This includes scanning open-source repositories and using purposefully vulnerable applications to measure false positives and negatives. The team is committed to improving the testing suite and plans to investigate past CVEs to assess whether current Semgrep rules could have prevented them.
Aug 03, 2022 1,410 words in the original blog post.