← Back to home
Comparison · Infra & APIs

Clair vs Semgrep

A side-by-side editorial comparison of Clair and Semgrep — release velocity, themes, recent moves, and the top alternatives to consider.

Clair vs Semgrep: at a glance

FeatureClairSemgrep
SectorInfra & APIsInfra & APIs
Velocity score2.55.0
Sparks · 30d00
Top themescontainer-security, vulnerability-scanning, sbom, red-hatsast, supply-chain, php, container security
Last editorial update8h ago3d ago
WebsiteVisit →Visit →

What is Clair?

Clair 4.10 RC can read SBOMs to match Java vulnerabilities.

Clair cut its first 4.10.0 release candidate on November 13, eleven months after 4.9.0. Its Java indexers can now read CycloneDX SBOM files and treat them as the source of truth, and Red Hat's VEX data now covers Maven advisories, so Java packages in Red Hat images can be matched. It also reduces memory use when many packages share a source package.

Read the full Clair trajectory →

What is Semgrep?

Semgrep 1.185 drops the SSH server from its Docker image and sharpens PHP call resolution.

Semgrep keeps a weekly cadence on two tracks, matcher depth and Supply Chain. 1.185 resolves virtual calls through basic PHP trait composition, extends range-based requirements.txt findings to the native resolver, adds structured JSON execution logs and secrets-validator telemetry, and removes sshd and sftp-server from the semgrep/semgrep Docker image. A 3% median scan speedup comes from simpler dataflow variable keys.

Read the full Semgrep trajectory →

Clair vs Semgrep: editorial side-by-side

C
Clair
INFRA · APIS
2.5

Clair 4.10 RC can read SBOMs to match Java vulnerabilities.

◆ Current state

Clair cut its first 4.10.0 release candidate on November 13, eleven months after 4.9.0. Its Java indexers can now read CycloneDX SBOM files and treat them as the source of truth, and Red Hat's VEX data now covers Maven advisories, so Java packages in Red Hat images can be matched. It also reduces memory use when many packages share a source package.

◆ Where it's heading

Since 4.8 Clair has moved from Red Hat's older OVAL data to VEX, and each release follows Red Hat's security data more closely. 4.10 adds SBOMs as an input, so Clair can match what an image's own manifest declares, not only what it finds on disk.

◆ Prediction

More 4.10 release candidates and then a final are likely; the long gap between releases suggests that could take weeks.

S
Semgrep
INFRA · APIS
5.0

Semgrep 1.185 drops the SSH server from its Docker image and sharpens PHP call resolution.

◆ Current state

Semgrep keeps a weekly cadence on two tracks, matcher depth and Supply Chain. 1.185 resolves virtual calls through basic PHP trait composition, extends range-based requirements.txt findings to the native resolver, adds structured JSON execution logs and secrets-validator telemetry, and removes sshd and sftp-server from the semgrep/semgrep Docker image. A 3% median scan speedup comes from simpler dataflow variable keys.

◆ Where it's heading

Supply Chain is closing the gaps where unpinned Python requirements used to go unseen, now in both resolvers. Alongside, Semgrep is investing in operability: structured logs, telemetry and a smaller container attack surface suggest more customers run it in their own pipelines and want to audit it.

◆ Prediction

Expect the requirements.txt range logic to spread to other ecosystems with loose version specs, and more structured log events following SEMGREP_LOG_JSON_FILE.

Alternatives to Clair and Semgrep

Other Infra & APIs products tracked by Sparkpulse, ranked by recent ship velocity. Each card links to a full editorial trajectory and lets you pivot into a head-to-head comparison with either Clair or Semgrep.

See all Clair alternatives → · See all Semgrep alternatives →

Recent activity from Clair and Semgrep

Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.

  1. 13h agoClairClair 4.10 RC reads CycloneDX SBOMs for Java matching
  2. 4d agoSemgrepDocker image drops sshd; PHP trait call resolution improves
  3. 8d agoSemgrepUnpinned Python requirements now raise advisory findings
  4. 15d agoSemgrepIntel Mac binaries dropped; Bash and Swift parsing widened
  5. 24d agoSemgrepObjective-C alpha support; C#, Terraform and Lua grammars updated
  6. 1mo agoSemgrepSupply Chain inventories unpinned Python requirements
  7. 1mo agoSemgrepDart reaches GA; QL language support removed
  8. 11mo agoClairClair 4.9 moves CVSS data to NVD's 2.0 feeds
  9. 2y agoClairClair 4.8 replaces Red Hat OVAL data with VEX
  10. 2y agoClairClair 4.7.4 changes the default layer download location
  11. 2y agoClairClair 4.7.3 requires TLS 1.2 or newer
  12. 3y agoClairClair 4.7.2 drops the retired CRDA source

Frequently asked questions

What is the difference between Clair and Semgrep?

They serve adjacent needs but don't currently overlap on shipped themes. Semgrep is currently shipping more aggressively (velocity 5.0 vs 2.5), with 0 editorial sparks in the last 30 days against 0. See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is Clair better than Semgrep?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. Semgrep is currently shipping more aggressively (velocity 5.0 vs 2.5), with 0 editorial sparks in the last 30 days against 0. For your specific use case, the alternatives sections above list other Infra & APIs products to evaluate alongside.

What are the best alternatives to Clair?

Top Clair alternatives in Infra & APIs are ranked by recent ship velocity. Browse the "Clair alternatives" section above for the current picks, or visit /alternatives/clair for the full list with editorial commentary on each.

What are the best alternatives to Semgrep?

Top Semgrep alternatives in Infra & APIs are ranked by recent ship velocity. Browse the "Semgrep alternatives" section above for the current picks, or visit /alternatives/semgrep for the full list with editorial commentary on each.