Getting started
Do I need a lockfile to scan my project?
Do I need a lockfile to scan my project?
setup.py projects, and NuGet. Dynamic Dependency Resolution doesn’t work on Windows.If you scan a manifest file, Supply Chain reports vulnerabilities for dependencies with exact (pinned) versions. Starting with Semgrep CLI version 1.184.0, Supply Chain also reports vulnerabilities for dependencies in a Python requirements.txt file that declare a version range or no version. These findings are labeled Needs review because Semgrep can’t determine the installed version.For more information, see Dynamic Dependency Resolution (beta).Which languages and package managers does Supply Chain support?
Which languages and package managers does Supply Chain support?
Can Supply Chain scan a monorepo?
Can Supply Chain scan a monorepo?
Do I need to connect my private registry?
Do I need to connect my private registry?
Coverage for new vulnerabilities
How quickly does Semgrep add coverage for a new CVE?
How quickly does Semgrep add coverage for a new CVE?
Does Semgrep cover unreviewed GitHub Security Advisories?
Does Semgrep cover unreviewed GitHub Security Advisories?
Does Semgrep cover known exploited vulnerabilities (KEVs)?
Does Semgrep cover known exploited vulnerabilities (KEVs)?
How quickly does Semgrep respond to a malware incident?
How quickly does Semgrep respond to a malware incident?
What happens if an incident affects packages that Supply Chain doesn't support?
What happens if an incident affects packages that Supply Chain doesn't support?
Findings and scans
When do findings for a new vulnerability appear in my projects?
When do findings for a new vulnerability appear in my projects?
Does Semgrep rescan my projects automatically when it adds a new rule?
Does Semgrep rescan my projects automatically when it adds a new rule?
Why did a finding I already triaged come back as a new finding?
Why did a finding I already triaged come back as a new finding?
Why isn't Supply Chain showing findings for my project?
Why isn't Supply Chain showing findings for my project?
requirements.txt files are an exception: dependencies with version ranges still produce findings that need review.For a full checklist, see Why aren’t Supply Chain findings showing?How do I find out when Semgrep declares a new threat?
How do I find out when Semgrep declares a new threat?
Reachability
What's the difference between reachable, unreachable, and no reachability analysis?
What's the difference between reachable, unreachable, and no reachability analysis?
- Reachable: your code matches the vulnerable code pattern. A finding is always reachable when upgrading the dependency is the only fix, and conditionally reachable when it’s exploitable only under conditions that Semgrep can’t check, such as a specific operating system. Conditionally reachable findings require manual review.
- Unreachable: you don’t use the vulnerable package, or you don’t use its vulnerable code.
- No reachability analysis: you use a vulnerable version of the dependency, but Supply Chain doesn’t have a reachability rule for the vulnerability.
Why don't all findings have reachability analysis?
Why don't all findings have reachability analysis?
Does Supply Chain scan transitive dependencies?
Does Supply Chain scan transitive dependencies?
Triage and fix
How do I stop specific files, dependencies, or rules from generating findings?
How do I stop specific files, dependencies, or rules from generating findings?
- To ignore a code file, manifest file, or lockfile, add its path to a
.semgrepignorefile. Ignoring a code file stops its reachable findings. Ignoring a manifest file or lockfile stops findings from its dependencies. - To skip a specific rule, pass its rule ID to
semgrep ci --exclude-rule.
What's the difference between Upgrade Guidance and Autofix?
What's the difference between Upgrade Guidance and Autofix?
Malicious dependencies
Which ecosystems can Semgrep detect malicious dependencies in?
Which ecosystems can Semgrep detect malicious dependencies in?
Licenses and reporting
Can Semgrep block dependencies based on their license?
Can Semgrep block dependencies based on their license?
Which SBOM formats does Semgrep support?
Which SBOM formats does Semgrep support?
How do I export Supply Chain findings?
How do I export Supply Chain findings?
Comparisons
How does Supply Chain compare with Dependabot?
How does Supply Chain compare with Dependabot?
How does Semgrep compare with other tools?
How does Semgrep compare with other tools?