Sarif parsing vs Semgrep
Sarif parsing is an open-source agent skill for security. Semgrep is an open-source agent skill for security.
- Sarif parsing is best for summarize the findings in a codeql or semgrep sarif report.
- Semgrep is best for audit a repository for security vulnerabilities before a code review.
- What it is
- Sarif parsing is an open-source agent skill for security.Semgrep is an open-source agent skill for security.
- Best for
- Summarize the findings in a CodeQL or Semgrep SARIF reportAudit a repository for security vulnerabilities before a code review
- Kind
- SkillSkill
- Pricing
- Open sourceOpen source
- Platforms
- Claude CodeClaude Code
- GitHub stars
- 8.2K8.2K
- Last commit
- Nov 2026Nov 2026
- License
- CC-BY-SA-4.0CC-BY-SA-4.0
- Open source
- Good for
- Summarize the findings in a CodeQL or Semgrep SARIF report; Merge SARIF output from several scanners and remove duplicate alerts; Fail a CI build when scan results contain errorsAudit a repository for security vulnerabilities before a code review; Scan a Python or JavaScript project with Semgrep rulesets; Produce a SARIF report of high-confidence security findings
What Sarif parsing does
Severity resolution
Determines each result's severity from the result itself or from the rule it inherits, so tools that omit the level are scored correctly.
Finding deduplication
Removes duplicate findings across files and runs using tool fingerprints or a hash of rule, normalized path, line and message.
Path normalization
Converts URI-encoded, absolute and relative paths from different tools into a comparable form.
jq query library
Provides ready-to-use jq queries for filtering, counting per rule and extracting file locations from SARIF output.
Baseline diffing
Compares a baseline SARIF file with a current one to surface new and fixed findings.
CI severity gating
Shows how to fail a pipeline when findings reach a chosen severity, with a GitHub Actions example.
What Semgrep does
Language detection
Identifies the languages in the target and counts their files to choose matching rulesets.
Approval-gated plan
Shows the exact rulesets, engine and mode and waits for explicit confirmation before scanning.
Batched parallel scans
A script runs one Semgrep command per ruleset in batches and records exit status per scan.
Failure reporting
Lists scans that failed, were skipped or covered no files so partial runs are not mistaken for complete ones.
SARIF merging
Combines raw per-ruleset outputs into one results file, with an optional important-only filter.
Semgrep Pro check
Detects whether Pro is available so cross-file taint analysis can be used when it is.
Sarif parsing vs Semgrep: questions
Is Sarif parsing or Semgrep cheaper?
Both are open source. Compare current plans on each official site.
What is the difference between Sarif parsing and Semgrep?
Sarif parsing is an open-source agent skill for security. Semgrep is an open-source agent skill for security.
