Cybersecurity · head to head
Semgrep vs Trunk Code Quality

Semgrep
Cybersecurity
Open-source static analysis tool for finding security bugs and enforcing code standards.
- From
- Free
- Free plan
- Yes

Trunk Code Quality
Developer Tools
Metalinter that runs and manages linters, formatters and security scanners
- From
- Free
- Free plan
- Yes
The short version
- Trunk Code Quality is free; Semgrep starts at $30/mo.
- Only Semgrep lists secrets detection; only Trunk Code Quality lists version pinning through trunk.yaml.
- Where Semgrep falls short: free tier caps out at 10 contributors and 10 repositories.
- Where Trunk Code Quality falls short: private repositories with more than five active committers need a paid licence.
How do Semgrep and Trunk Code Quality differ?
Semgrep and Trunk Code Quality differ on platforms, category (Cybersecurity against Developer Tools) and year founded (2017 against 2021). Only the attributes on which Semgrep and Trunk Code Quality actually diverge.
| Attribute | Semgrep | Trunk Code Quality |
|---|---|---|
| Platforms | Web, API, Linux, macOS, Windows | macOS, Linux, Windows |
| Category | Cybersecurity | Developer Tools |
| Founded | 2017 | 2021 |
Identical on both: starting price (Free), pricing model (Freemium), free tier (Yes).
Which features does each one have?
They share no listed features; 6 appear only for Semgrep and 8 only for Trunk Code Quality. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in Semgrep
- Static code scanning
- Supply chain scanning
- Secrets detection
- Cross-file analysis
- AI-powered triage and remediation
- CI/CD integration
Only in Trunk Code Quality
- Installs and runs over 100 linters and formatters
- Version pinning through trunk.yaml
- Hold the Line checks on new changes only
- Background daemon that precomputes results
- VS Code and Neovim editor integration
- GitHub integration for pull request checks
- Security scanning tools such as trivy and gitleaks
- Runs in any CI environment
What is each one used for?
Semgrep is most often brought in for scanning code for security vulnerabilities in CI/CD; Trunk Code Quality for running one lint command across a polyglot repository. The jobs each tool is most often brought in to do.
Semgrep
- Scanning code for security vulnerabilities in CI/CDnot Trunk Code Quality
- Detecting vulnerable open-source dependenciesnot Trunk Code Quality
- Finding hardcoded secrets before code shipsnot Trunk Code Quality
- Enforcing custom code standards with rule setsnot Trunk Code Quality
- Prioritizing findings with AI-assisted triagenot Trunk Code Quality
Trunk Code Quality
- Running one lint command across a polyglot repositorynot Semgrep
- Gradually fixing legacy code with Hold the Linenot Semgrep
- Pinning linter versions across a teamnot Semgrep
- Enforcing the same checks locally and in CInot Semgrep
- Adding security scanners to pull requestsnot Semgrep
Where do Semgrep and Trunk Code Quality fall short?
Semgrep's most cited limit: free tier caps out at 10 contributors and 10 repositories. Trunk Code Quality's: private repositories with more than five active committers need a paid licence. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Semgrep
- Free tier caps out at 10 contributors and 10 repositories
- Secrets scanning is priced as a separate module ($15/contributor) from Code and Supply Chain
- Self-managed repositories and custom CI/CD require the Enterprise tier
- AI credits are limited per tier and additional usage requires upgrading
Trunk Code Quality
- Private repositories with more than five active committers need a paid licence
- Paid Team and Enterprise prices are not published; quotes come from sales
- Core CLI is closed source, with only plugins and the GitHub Action under MIT
- Results depend on the underlying linters, so rule coverage is not Trunk's own
How much do Semgrep and Trunk Code Quality cost?
Semgrep has a free plan, with paid plans from $30/mo; Trunk Code Quality is free to use. Plan by plan below, from each vendor's own pricing page.
Semgrep
Free- FreeFree
- Up to 10 contributors
- Code and Supply Chain scanning
- 60 AI credits total
- Teams$30/mo
- Code, Supply Chain, or Secrets scanning per contributor
- Pro rules
- AI-powered triage and remediation
- EnterpriseOn request
- On-prem support
- Custom CI/CD
- 50 AI credits per developer/month
Trunk Code Quality
Free- Free (up to 5 active committers on private repos)Free
- Team (per seat)On request
- Enterprise (annual site licence)On request
Which should you pick?
Choose Semgrep if
- You need static code scanning.
- You want to start without paying.
- You work on Web, API, Linux, macOS, Windows.
- You also want supply chain scanning.
Choose Trunk Code Quality if
- You need installs and runs over 100 linters and formatters.
- You want to start without paying.
- You work on macOS, Linux, Windows.
- You also want version pinning through trunk.yaml.
Questions people ask
- Is Semgrep or Trunk Code Quality better?
- It depends on the job. Semgrep fits scanning code for security vulnerabilities in CI/CD; Trunk Code Quality fits running one lint command across a polyglot repository. Semgrep starts at Free and Trunk Code Quality at Free.
- Which is cheaper, Semgrep or Trunk Code Quality?
- Semgrep starts at Free and Trunk Code Quality at Free.
- Does Semgrep or Trunk Code Quality run on more platforms?
- Semgrep runs on Web, API, Linux, macOS, Windows. Trunk Code Quality runs on macOS, Linux, Windows.
- Can I use Semgrep for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is Semgrep best used for?
- Semgrep is most often used for scanning code for security vulnerabilities in ci/cd, detecting vulnerable open-source dependencies, finding hardcoded secrets before code ships, enforcing custom code standards with rule sets. Of those, scanning code for security vulnerabilities in ci/cd and detecting vulnerable open-source dependencies are not what Trunk Code Quality is typically brought in for.
- What can Semgrep do that Trunk Code Quality cannot?
- Semgrep covers Static code scanning, Supply chain scanning, Secrets detection, Cross-file analysis. Trunk Code Quality covers Installs and runs over 100 linters and formatters, Version pinning through trunk.yaml, Hold the Line checks on new changes only, Background daemon that precomputes results.
Answered from the vendors’ own pages
Semgrep: What does Semgrep cost?
The Free edition covers up to 10 contributors; Teams starts at $30/contributor/month for Code scanning (Supply Chain also $30, Secrets $15); Enterprise is custom-priced.
SourceTrunk Code Quality: What does Trunk Code Quality do?
It is a metalinter that installs, pins and runs third party linters, formatters and security scanners from one CLI. A background daemon precomputes results for editor annotations.
SourceSemgrep: Is there a free plan, and what are its limits?
Yes, the Free edition supports up to 10 contributors and 10 repositories with Code and Supply Chain scanning plus 60 AI credits total.
SourceTrunk Code Quality: Is Trunk Code Quality free?
Public and open source repositories have no stated usage limit, and private repositories with five or fewer active committers can use the CLI at no cost. Larger private teams need a paid licence.
SourceSemgrep: How is usage metered?
Pricing is per contributor, defined as someone who made at least one commit to a scanned private repository in the past 90 days.
SourceTrunk Code Quality: Which operating systems are supported?
The launcher supports macOS and Linux. Windows is supported from CLI version 1.13.0, using git-bash, msys2 or a PowerShell launcher.
SourceSemgrep: Is there special pricing for startups?
Yes, Semgrep offers special startup pricing upon request for early-stage companies.
SourceTrunk Code Quality: How many linters does it support?
The supported linters page claims over 100 linters and formatters. They cover many languages plus infrastructure, security, SQL and Markdown tooling.
SourceRelated pages
More on Trunk Code Quality
Other head to heads
- Semgrep vs Snyk
- Semgrep vs Veracode
- Semgrep vs Checkmarx One
- Semgrep vs Arnica
- Semgrep vs Aikido
- Semgrep vs Socket
- Semgrep vs Trivy
- Semgrep vs Grype
- Semgrep vs Bitwarden
- Semgrep vs Infisical
- Semgrep vs Chainguard
- Semgrep vs HashiCorp Vault
- Semgrep vs Keeper Password Manager
- Semgrep vs OneTrust
- Semgrep vs Ping Identity
- Semgrep vs Genetec Security Center
- Semgrep vs Surfshark
- Semgrep vs Jumio
- Semgrep vs SonarQube
- Semgrep vs ESLint
- Semgrep vs Earthly
- Semgrep vs Prettier
- Semgrep vs Garden
- Semgrep vs HCP Terraform
- Semgrep vs Okteto
- Semgrep vs Visual Studio Code
- Semgrep vs Ona (formerly Gitpod)
- Semgrep vs Harness
- Semgrep vs Jenkins
- Semgrep vs Depot
- Semgrep vs Bitbucket
- Semgrep vs Daytona
- Semgrep vs Helix
- Semgrep vs Losant
- Semgrep vs Nx Cloud
- Semgrep vs Pants Build
- Trunk Code Quality vs Snyk
- Trunk Code Quality vs Veracode
- Trunk Code Quality vs Checkmarx One
- Trunk Code Quality vs Arnica
- Trunk Code Quality vs Aikido
- Trunk Code Quality vs Socket
- Trunk Code Quality vs Trivy
- Trunk Code Quality vs Grype
- Trunk Code Quality vs Bitwarden
- Trunk Code Quality vs Infisical
- Trunk Code Quality vs Chainguard
- Trunk Code Quality vs HashiCorp Vault
- Trunk Code Quality vs Keeper Password Manager
- Trunk Code Quality vs OneTrust
- Trunk Code Quality vs Ping Identity
- Trunk Code Quality vs Genetec Security Center
- Trunk Code Quality vs Surfshark
- Trunk Code Quality vs Jumio
- Trunk Code Quality vs SonarQube
- Trunk Code Quality vs ESLint
- Trunk Code Quality vs Earthly
- Trunk Code Quality vs Prettier
- Trunk Code Quality vs Garden
- Trunk Code Quality vs HCP Terraform
- Trunk Code Quality vs Okteto
- Trunk Code Quality vs Visual Studio Code
- Trunk Code Quality vs Ona (formerly Gitpod)
- Trunk Code Quality vs Harness
- Trunk Code Quality vs Jenkins
- Trunk Code Quality vs Depot
- Trunk Code Quality vs Bitbucket
- Trunk Code Quality vs Daytona
- Trunk Code Quality vs Helix
- Trunk Code Quality vs Losant
- Trunk Code Quality vs Nx Cloud
- Trunk Code Quality vs Pants Build
