Skip to content
OSSsoftware

Semgrep

Lightweight static analysis for many languages. Find bug variants with patterns that look like source code.

Open sourceThriving · 97/10018k GitHub stars

Semgrep is an open-source project in the JavaScript category written in C, released under the LGPL-2.1 license. It has 17,977 GitHub stars and its last commit was today. People use it as an alternative to Snyk.

About Semgrep

Semgrep is a lightweight static analysis tool that supports multiple programming languages. It helps developers find bug variants by searching for patterns that resemble source code. With Semgrep, developers can quickly identify potential issues in their codebase, such as security vulnerabilities, performance bottlenecks, and coding style violations. The tool provides a flexible and customizable framework for creating and applying rules, allowing teams to tailor their analysis to their specific needs. By integrating Semgrep into their development workflow, teams can catch bugs early in the development process, leading to more reliable and secure software.

Semgrep screenshot

GitHub activity

Stars
17,977
Forks
1,213
Open issues
913
Last commit
today
Latest release
v1.187.0 · 3 days ago
Created
2019

#static-analysis#static-code-analysis#java#go#sast#semgrep#r2c#c#python#ruby#javascript#typescript

Semgrep is an alternative to

Semgrep at a glance

Source code
semgrep/semgrep
Open source
Yes
License
LGPL-2.1
Language
C
Pricing
Freemium

Semgrep vs similar projects

Semgrep compared with similar open-source projects
ProjectStarsLicenseLanguageLast commitHealth
SemgrepLightweight static analysis for many languages. Find bug variants with patterns that look like source code.18k GitHub starsLGPL-2.1CtodayThriving
Posthog:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observ41k GitHub starsOtherPythontodayThriving
Tiny CorpYou like pytorch? You like micrograd? You love tinygrad! ❤️.34k GitHub starsMITPythontodayThriving
Invoke AIleading creative engine for Stable Diffusion models / empowering professionals / artists and enthusiasts to ge29k GitHub starsApache-2.0TypeScripttodayThriving
RedashMake Your Company Data Driven. Connect to any data source / easily visualize / dashboard and share your data.29k GitHub starsBSD-2-ClauseTypeScript2 days agoThriving
ZulipZulip server and web application. Open-source team chat that helps teams stay productive and focused.26k GitHub starsApache-2.0PythontodayThriving
WekanThe Open Source kanban (built with Meteor). Keep variable/table/field names camelCase.21k GitHub starsMITJavaScripttodayThriving

Semgrep FAQ

What is Semgrep?

Lightweight static analysis for many languages. Find bug variants with patterns that look like source code. Semgrep is a lightweight static analysis tool that supports multiple programming languages. It helps developers find bug variants by searching for patterns that resemble source code. With Semgrep, developers can quickly identify potential issues in their codebase, such as security vulnerabilities, p

Is Semgrep open source?

Yes. Semgrep's source code is public on GitHub (semgrep/semgrep) under the LGPL-2.1 license.

Is Semgrep still maintained?

Semgrep's last commit was on 2026-11-26 (today), latest release v1.187.0 on 2026-11-24. Health score: 97/100.

Is Semgrep free?

Semgrep is free to use and can be self-hosted; some projects also sell an optional hosted plan.

What are the best alternatives to Semgrep?

Similar projects include Posthog (★ 41k), Tiny Corp (★ 34k), Invoke AI (★ 29k), Redash (★ 29k), Zulip (★ 26k).

Share:XLinkedIn

Maintain Semgrep? Add the badge to your README

Shows your project's health score and links back to this page.

Semgrep on OSS Software
[![Semgrep on OSS Software](https://osssoftware.org/badge/semgrep.svg)](https://osssoftware.org/tools/semgrep/)