Semgrep vs Sonarsource: which does AI recommend?

· ChatGPT Search and Google AI Mode

Based on every AI answer that names bothReviewed by

How we measure

AI summary

Some answers tend to favor when custom rules matter, while answers naming both list and first about as often.

Listed first when AI names both

SemgrepSemgrep: 48%SonarsourceSonarsource: 52%

Recommended when named

SemgrepSemgrep: 88%
SonarsourceSonarsource: 75%

Pick Semgrep for

  • SaaS SAST with AI guidance Almost always

Pick Sonarsource for

  • Enforcing coding standards Almost always
  • Identifying code smells Usually

Who AI mentions first

Semgrep listed firstSonarsource listed first

The lead changes hands from month to month.

  1. JulSemgrep listed first: 43%Sonarsource listed first: 57%
  2. AugSemgrep listed first: 44%Sonarsource listed first: 56%
  3. SepSemgrep listed first: 71%Sonarsource listed first: 29%

ChatGPT Search and Google AI Mode list and first about as often.

  • ChatGPT SearchSemgrep listed first: 48%Sonarsource listed first: 52%
  • Google AI ModeSemgrep listed first: 47%Sonarsource listed first: 53%

Also named alongside Semgrep and Sonarsource

and appear in about half of these answers, while appears in many.

  1. Snyk51%
  2. CodeQL43%
  3. Checkmarx37%
  4. GitHub21%
  5. Snyk Code21%
  6. GitHub Advanced Security19%
  7. ESLint16%
  8. Veracode16%
  9. CodeRabbit AI12%
  10. Codacy11%
  11. GitLab10%
  12. Pylint9%

Semgrep vs Sonarsource: common questions

Is Semgrep better than Sonarsource?
Some answers tend to favor Semgrep when custom rules matter, while answers naming both list Semgrep and Sonarsource first about as often.
Do ChatGPT and Google AI Mode recommend Semgrep or Sonarsource?
ChatGPT Search and Google AI Mode list Semgrep and Sonarsource first about as often.
What are the alternatives to Semgrep and Sonarsource?
Snyk and CodeQL appear in about half of these answers, while Checkmarx appears in many.
When is Semgrep the better pick?
AI usually lists Semgrep first for: SaaS SAST with AI guidance.
When is Sonarsource the better pick?
AI usually lists Sonarsource first for: Enforcing coding standards; Identifying code smells.

How would your brand compare?

Find out where you stand in AI answers—and who you’re up against.