# Semgrep

[BASE product page](<https://base.akulich.dev/en/library/semgrep/>) · [Resource](<https://semgrep.dev>)

ID: semgrep · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

Rule\-based static analysis: finds errors and vulnerable patterns in code; the local Community engine and cloud security products differ\.

## Type

Security tool

## Entry type

tool

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/semgrep/#resource-access>)

freemium

## [What you can use for free](<https://base.akulich.dev/en/library/semgrep/#resource-access>)

The open source component used locally or self\-hosted for the stated workflow, within its license terms\.

## [Paid features and costs](<https://base.akulich.dev/en/library/semgrep/#resource-access>)

Your own server, external APIs, and compute; managed cloud hosting, support, and additional commercial features if selected\.

## [Access and limitations](<https://base.akulich.dev/en/library/semgrep/#resource-access>)

Code licensing and hosting costs are separate matters\. Check the conditions for the specific version and edition\.

## [Use cases](<https://base.akulich.dev/en/library/semgrep/#resource-tasks>)

- Check risky patterns in a repository
- Run a Community scan and manually review the warnings found

## Category IDs

- quality
- infrastructure

## Subcategory IDs

- quality\.security
- infrastructure\.security

## Tags

- Semgrep
- Security tool

## [Selection purpose](<https://base.akulich.dev/en/library/semgrep/#resource-selection>)

Check risky patterns in a repository

## [Choose this when](<https://base.akulich.dev/en/library/semgrep/#resource-selection>)

- Check risky patterns in a repository
- Run a Community scan and manually review the warnings found

## [Requirements](<https://base.akulich.dev/en/library/semgrep/#resource-selection>)

- Choose local CLI, pre\-commit, IDE, or CI; scan rules define the patterns sought\.

## [Limitations](<https://base.akulich.dev/en/library/semgrep/#resource-selection>)

- Costs and limits of free use: Your own server, external APIs, and computing resources; managed cloud hosting, support, and additional commercial features if selected\.
- Terms of use: LGPL\-2\.1
- Community Edition analyzes within one function or file and may miss cross\-file/interprocedural issues\.

## [Questions before use](<https://base.akulich.dev/en/library/semgrep/#resource-faq>)

### What can you use for free in Semgrep?

The openly available portion, used locally or self\-hosted for the stated use case within its license terms\.

### What additional costs might arise with Semgrep?

Your own server, external APIs, and computing resources; managed cloud hosting, support, and additional commercial features if selected\.

### What terms of use matter for Semgrep?

LGPL\-2\.1

### How do you get started with Semgrep?

Set up Semgrep to test: Test code, a rule collection, and permitted exclusions\. Run a Community scan and manually review the warnings found\. Integrate the checked version into your project; document its configuration, limitations, and recovery method\.

### How does CE differ from AppSec Platform?

CE is an open analyzer\. AppSec Platform adds cross\-file/cross\-function analysis, proprietary rules, result management, and separate SAST/SCA/secrets capabilities\. There is no single license covering every component\.

### Is source code sent to the cloud during normal scanning?

The README says analysis runs locally on a computer or in a build environment, and code is not uploaded by default\. This describes the default scan rather than every integration and AI configuration\.

### Are there metrics even with local analysis?

The README reports pseudonymous rule metrics with remote Registry configuration, and with local\-file configuration if the user is logged in\. \-\-metrics=off disables Registry rule metrics\.

## Sources for the selection guide

- [https://semgrep\.dev](<https://semgrep.dev>)
- [https://raw\.githubusercontent\.com/semgrep/semgrep/master/README\.md](<https://raw.githubusercontent.com/semgrep/semgrep/master/README.md>)
- [https://raw\.githubusercontent\.com/semgrep/semgrep/master/LICENSE](<https://raw.githubusercontent.com/semgrep/semgrep/master/LICENSE>)
- [https://semgrep\.dev/pricing/](<https://semgrep.dev/pricing/>)

## [Possible workflow](<https://base.akulich.dev/en/library/semgrep/#resource-scenario>)

Check risky patterns in a repository

A possible workflow; this is not a report of hands-on testing.

## Before you start

- Test code, a rule collection, and permitted exclusions\.
- A test project and completion criteria for the task: Check risky patterns in a repository\.

## Steps

1. Set up Semgrep to test: Test code, a rule collection, and permitted exclusions\.
2. Run a Community scan and manually review the warnings found\.
3. Integrate the checked version into your project; document its configuration, limitations, and recovery method\.

## Check your result

- A reference vulnerable example is available; the absence of findings is not presented as a security guarantee\.
- Check the result against a reference example; separately confirm the terms of any assets and external services used\.

## [License](<https://base.akulich.dev/en/library/semgrep/#resource-license>)

LGPL\-2\.1

## License explanations for the specified scope

### LGPL2\.1 — terms for a library and its modifications

You can use the library while complying with LGPL; distributing a modified version and linking it with an application involves specific requirements for source code, notices, and the ability to replace the library\. Check the linking method and exact version's terms before distribution\.

[License terms](<https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html>)

## [Sources](<https://base.akulich.dev/en/library/semgrep/#resource-sources>)

- [Official purpose](<https://semgrep.dev>)
- [Project documentation](<https://raw.githubusercontent.com/semgrep/semgrep/master/README.md>)
- [License for the selected component](<https://raw.githubusercontent.com/semgrep/semgrep/master/LICENSE>)
- [Pricing and limitations](<https://semgrep.dev/pricing/>)

## Editorial review date

2026\-10\-06

## Editorial review scope

Purpose and published conditions were reviewed against primary sources on 06\.10\.2026\. The software was not installed, and quality and performance in a specific environment were not tested\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
