{"schemaVersion":1,"id":"semgrep","name":"Semgrep","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/semgrep/","officialUrl":"https://semgrep.dev","isCatalog":false,"description":"Rule-based static analysis: finds errors and vulnerable patterns in code; the local Community engine and cloud security products differ.","tasks":["Check risky patterns in a repository","Run a Community scan and manually review the warnings found"],"categoryIds":["quality","infrastructure"],"subcategoryIds":["quality.security","infrastructure.security"],"tags":["Semgrep","Security tool"],"aliases":[],"platforms":[],"stack":[],"compatibility":null,"pricing":"freemium","freeUsage":"The open source component used locally or self-hosted for the stated workflow, within its license terms.","paidUsage":"Your own server, external APIs, and compute; managed cloud hosting, support, and additional commercial features if selected.","license":"LGPL-2.1","selectionGuide":{"purpose":"Check risky patterns in a repository","chooseWhen":["Check risky patterns in a repository","Run a Community scan and manually review the warnings found"],"considerInstead":[],"requirements":["Choose local CLI, pre-commit, IDE, or CI; scan rules define the patterns sought."],"limitations":["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."],"faq":[{"question":"What can you use for free in Semgrep?","answer":"The openly available portion, used locally or self-hosted for the stated use case within its license terms."},{"question":"What additional costs might arise with Semgrep?","answer":"Your own server, external APIs, and computing resources; managed cloud hosting, support, and additional commercial features if selected."},{"question":"What terms of use matter for Semgrep?","answer":"LGPL-2.1"},{"question":"How do you get started with Semgrep?","answer":"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."},{"question":"How does CE differ from AppSec Platform?","answer":"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."},{"question":"Is source code sent to the cloud during normal scanning?","answer":"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."},{"question":"Are there metrics even with local analysis?","answer":"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."}],"related":[],"sources":["https://semgrep.dev","https://raw.githubusercontent.com/semgrep/semgrep/master/README.md","https://raw.githubusercontent.com/semgrep/semgrep/master/LICENSE","https://semgrep.dev/pricing/"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Check risky patterns in a repository","inputs":["Test code, a rule collection, and permitted exclusions.","A test project and completion criteria for the task: Check risky patterns in a repository."],"steps":["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."],"checks":["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."]},"sources":["https://semgrep.dev","https://raw.githubusercontent.com/semgrep/semgrep/master/README.md","https://raw.githubusercontent.com/semgrep/semgrep/master/LICENSE","https://semgrep.dev/pricing/"],"checkedAt":"2026-10-06","reviewScope":"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.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"Security tool","kind":"tool","pricingNote":"Code licensing and hosting costs are separate matters. Check the conditions for the specific version and edition.","notes":null,"labeledSources":[{"url":"https://semgrep.dev","label":"Official purpose"},{"url":"https://raw.githubusercontent.com/semgrep/semgrep/master/README.md","label":"Project documentation"},{"url":"https://raw.githubusercontent.com/semgrep/semgrep/master/LICENSE","label":"License for the selected component"},{"url":"https://semgrep.dev/pricing/","label":"Pricing and limitations"}],"licenseGuides":[{"id":"lgpl-2.1","title":"LGPL2.1 — terms for a library and its modifications","scope":null,"summary":"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.","url":"https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html"}],"entryIds":[],"composition":null}