Softwr

Cybersecurity · head to head

Syft vs Trunk Code Quality

Syft logo

Syft

Cybersecurity

Generates a software bill of materials from images, filesystems and archives

From
Free
Free plan
Yes
Trunk Code Quality logo

Trunk Code Quality

Developer Tools

Metalinter that runs and manages linters, formatters and security scanners

From
Free
Free plan
Yes

The short version

  • Both are free.
  • Only Syft lists multi-format output; only Trunk Code Quality lists version pinning through trunk.yaml.
  • Where Trunk Code Quality falls short: private repositories with more than five active committers need a paid licence.

How do Syft and Trunk Code Quality differ?

Syft and Trunk Code Quality differ on pricing model, platforms and category (Cybersecurity against Developer Tools). Only the attributes on which Syft and Trunk Code Quality actually diverge.

Attributes where Syft and Trunk Code Quality differ
AttributeSyftTrunk Code Quality
Pricing modelOpen source, no licence feeFreemium
PlatformsmacOS, Linux, Windows, Self-hostedmacOS, Linux, Windows
CategoryCybersecurityDeveloper Tools

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: founded for Syft.

Which features does each one have?

They share no listed features; 6 appear only for Syft 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 Syft

  • Multi-format output
  • Broad ecosystem coverage
  • Binary classifiers
  • In-toto attestations
  • Library and CLI
  • Pairs with Grype

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?

Syft is most often brought in for producing a bill of materials for a customer or regulator that requires one; Trunk Code Quality for running one lint command across a polyglot repository. The jobs each tool is most often brought in to do.

Syft

  • Producing a bill of materials for a customer or regulator that requires onenot Trunk Code Quality
  • Feeding an inventory into a vulnerability scanner rather than scanning images directlynot Trunk Code Quality
  • Recording what shipped in a build so a future disclosure can be answered quicklynot Trunk Code Quality
  • Public sector work where an SBOM is a contractual deliverablenot Trunk Code Quality

Trunk Code Quality

  • Running one lint command across a polyglot repositorynot Syft
  • Gradually fixing legacy code with Hold the Linenot Syft
  • Pinning linter versions across a teamnot Syft
  • Enforcing the same checks locally and in CInot Syft
  • Adding security scanners to pull requestsnot Syft

Where do Syft and Trunk Code Quality fall short?

Trunk Code Quality's most cited limit: 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.

Syft

  • Lockfile parsing can drop packages silently. An open issue filed in August 2026 reports the yarn v1 cataloguer returning 118 of 745 packages with no error raised, which means a complete bill of materials and an 84 percent incomplete one look identical to the caller
  • Fidelity varies sharply by ecosystem. Conan for C and C++, Haskell and Terraform get cataloguer support with no licence data, no dependency relationships and no file ownership, so a C and C++ shop gets the least from it
  • Binary classification yields no licence or dependency metadata, and vendored or statically linked code is exactly where supply chain risk hides, so the blind spot and the risk overlap
  • Incorrect CPE values and CPE collisions are recorded as open issues, and since Grype matches on CPE and PURL, an inventory error becomes a false negative in the security report downstream
  • An inventory is not a risk assessment. Even a perfect bill of materials says a vulnerable version is present, never that the vulnerable function is called, and the triage burden lands entirely on the reader

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 Syft and Trunk Code Quality cost?

Syft is free to use; Trunk Code Quality is free to use. Plan by plan below, from each vendor's own pricing page.

Syft

Free
  • SyftFree
    • Apache-2.0
    • No usage limits
    • Community support
  • Anchore EnterpriseOn request
    • Policy enforcement and reporting
    • Federal and commercial tiers
    • Pricing not published, quoted on request

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 Syft if

  • You need multi-format output.
  • You want to start without paying.
  • You work on macOS, Linux, Windows, Self-hosted.
  • You also want broad ecosystem coverage.

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 Syft or Trunk Code Quality better?
It depends on the job. Syft fits producing a bill of materials for a customer or regulator that requires one; Trunk Code Quality fits running one lint command across a polyglot repository. Syft starts at Free and Trunk Code Quality at Free.
Which is cheaper, Syft or Trunk Code Quality?
Syft starts at Free and Trunk Code Quality at Free.
Does Syft or Trunk Code Quality run on more platforms?
Syft runs on macOS, Linux, Windows, Self-hosted. Trunk Code Quality runs on macOS, Linux, Windows.
Can I use Syft for free?
Both have a free tier, so you can try either at no cost before committing.
What is Syft best used for?
Syft is most often used for producing a bill of materials for a customer or regulator that requires one, feeding an inventory into a vulnerability scanner rather than scanning images directly, recording what shipped in a build so a future disclosure can be answered quickly, public sector work where an sbom is a contractual deliverable. Of those, producing a bill of materials for a customer or regulator that requires one and feeding an inventory into a vulnerability scanner rather than scanning images directly are not what Trunk Code Quality is typically brought in for.
What can Syft do that Trunk Code Quality cannot?
Syft covers Multi-format output, Broad ecosystem coverage, Binary classifiers, In-toto attestations. 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

Syft: Does Syft find vulnerabilities?

No. It produces an inventory. Grype, from the same company, matches that inventory against vulnerability feeds. They are separate tools and the distinction is frequently lost.

Trunk 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.

Source
Syft: Does anything in the Anchore stack do reachability analysis?

No. Neither Syft, Grype nor the commercial Anchore platform performs call graph or reachability analysis, so none of them tells you whether a vulnerable code path is actually invoked.

Trunk 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.

Source
Syft: Is it a CNCF or OpenSSF project?

No. It is single-vendor open source owned by Anchore, with no foundation governance. That is a different licence risk profile from Sigstore.

Trunk 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.

Source
Syft: What does Anchore Enterprise cost?

Not published. The pricing page is contact-sales only, with named but unpriced commercial and federal tiers.

Trunk 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.

Source
Syft: How do I know my SBOM is complete?

You largely cannot, which is the honest answer. Silent partial parsing is a known open defect, so a bill of materials used for compliance should be spot-checked against a known dependency list.

Share

Related pages

Other head to heads