<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>semgrep on The Trail of Bits Blog</title><link>https://miscreants.github.io/blog.trailofbits.com/categories/semgrep/</link><description>Recent content in semgrep on The Trail of Bits Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 09 Dec 2024 09:00:43 -0500</lastBuildDate><atom:link href="https://miscreants.github.io/blog.trailofbits.com/categories/semgrep/index.xml" rel="self" type="application/rss+xml"/><item><title>35 more Semgrep rules: infrastructure, supply chain, and Ruby</title><link>https://miscreants.github.io/blog.trailofbits.com/2024/12/09/35-more-semgrep-rules-infrastructure-supply-chain-and-ruby/</link><pubDate>Mon, 09 Dec 2024 09:00:43 -0500</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2024/12/09/35-more-semgrep-rules-infrastructure-supply-chain-and-ruby/</guid><description>We are publishing another set of custom Semgrep rules, bringing our total number of public rules to 115. This blog post will briefly cover the new rules, then explore two Semgrep features in depth: regex mode (especially how it compares against generic mode), and HCL language support for technologies […]</description></item><item><title>Announcing the Trail of Bits and Semgrep partnership</title><link>https://miscreants.github.io/blog.trailofbits.com/2024/09/19/announcing-the-trail-of-bits-and-semgrep-partnership/</link><pubDate>Thu, 19 Sep 2024 09:00:30 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2024/09/19/announcing-the-trail-of-bits-and-semgrep-partnership/</guid><description>At Trail of Bits, we aim to share and develop tools and resources used in our security assessments with the broader security community. Many clients, we observed, don’t use Semgrep to its fullest potential or even at all. To bridge this gap and encourage broader adoption, our CEO, Dan Guido, initiated discussions with the Semgrep […]</description></item><item><title>30 new Semgrep rules: Ansible, Java, Kotlin, shell scripts, and more</title><link>https://miscreants.github.io/blog.trailofbits.com/2024/01/17/30-new-semgrep-rules-ansible-java-kotlin-shell-scripts-and-more/</link><pubDate>Wed, 17 Jan 2024 08:30:32 -0500</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2024/01/17/30-new-semgrep-rules-ansible-java-kotlin-shell-scripts-and-more/</guid><description>We are publishing a set of 30 custom Semgrep rules for Ansible playbooks, Java/Kotlin code, shell scripts, and Docker Compose configuration files. These rules were created and used to audit for common security vulnerabilities in the listed technologies. This new release of our Semgrep rules joins our public CodeQL […]</description></item><item><title>How to introduce Semgrep to your organization</title><link>https://miscreants.github.io/blog.trailofbits.com/2024/01/12/how-to-introduce-semgrep-to-your-organization/</link><pubDate>Fri, 12 Jan 2024 09:00:26 -0500</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2024/01/12/how-to-introduce-semgrep-to-your-organization/</guid><description>Semgrep, a static analysis tool for finding bugs and specific code patterns in more than 30 languages, is set apart by its ease of use, many built-in rules, and the ability to easily create custom rules. We consider it an essential automated tool for discovering security issues in a […]</description></item><item><title>Security flaws in an SSO plugin for Caddy</title><link>https://miscreants.github.io/blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/</link><pubDate>Mon, 18 Sep 2023 08:00:42 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/</guid><description>We identified 10 security vulnerabilities within the caddy-security plugin for the Caddy web server that could enable a variety of high-severity attacks in web applications, including client-side code execution, OAuth replay attacks, and unauthorized access to resources. During our evaluation, Caddy was deployed as a reverse proxy […]</description></item><item><title>Secure your Apollo GraphQL server with Semgrep</title><link>https://miscreants.github.io/blog.trailofbits.com/2023/08/29/secure-your-apollo-graphql-server-with-semgrep/</link><pubDate>Tue, 29 Aug 2023 08:00:14 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2023/08/29/secure-your-apollo-graphql-server-with-semgrep/</guid><description>tl;dr: Our publicly available Semgrep ruleset has nine new rules to detect misconfigurations of versions 3 and 4 of the Apollo GraphQL server. Try them out with semgrep –config p/trailofbits! When auditing several of our clients’ Apollo GraphQL servers, I kept finding the same issues over and over: cross-site request forgery (CSRF) […]</description></item><item><title>Announcing the Trail of Bits Testing Handbook</title><link>https://miscreants.github.io/blog.trailofbits.com/2023/07/26/announcing-the-trail-of-bits-testing-handbook/</link><pubDate>Wed, 26 Jul 2023 07:00:28 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2023/07/26/announcing-the-trail-of-bits-testing-handbook/</guid><description>Trail of Bits is thrilled to announce the Testing Handbook, the shortest path for developers and security professionals to derive maximum value from the static and dynamic analysis tools we use at Trail of Bits. Why did we create the Testing Handbook? At Trail of Bits, we have spent countless hours studying, […]</description></item><item><title>Secure your machine learning with Semgrep</title><link>https://miscreants.github.io/blog.trailofbits.com/2022/10/03/semgrep-maching-learning-static-analysis/</link><pubDate>Mon, 03 Oct 2022 09:00:53 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2022/10/03/semgrep-maching-learning-static-analysis/</guid><description>tl;dr: Our publicly available Semgrep ruleset now has 11 rules dedicated to the misuse of machine learning libraries. Try it out now! Picture this: You’ve spent months curating images, trying out different architectures, downloading pretrained models, messing with Kubernetes, and you’re finally ready to ship your sparkling new machine learning (ML) product. […]</description></item><item><title>Discovering goroutine leaks with Semgrep</title><link>https://miscreants.github.io/blog.trailofbits.com/2021/11/08/discovering-goroutine-leaks-with-semgrep/</link><pubDate>Mon, 08 Nov 2021 23:28:45 -0500</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2021/11/08/discovering-goroutine-leaks-with-semgrep/</guid><description>Originally published May 10, 2021 While learning how to write multithreaded code in Java or C++ can make computer science students reconsider their career choices, calling a function asynchronously in Go is just a matter of prefixing a function call with the go keyword. However, writing concurrent Go code can […]</description></item></channel></rss>