Hacker ApprovedDepartments

Semgrep

Shares rank 4 of 9 static analyzers by recommenders

More people criticize it than recommend it. Free open-source static analysis tool that catches common bugs like secrets, SQL injection and weak hashing. Critics say it misses AI-specific bugs and produces many false positives.

7 people recommended Semgrep in Hacker News comments, 3 had mixed feelings and 9 criticized it, November 2025 to October 2026.

Summary written by Claude from the comments below.

19 people gave an opinion

recommend it
7
mixed feelings
3
warn against or regret it
9

The record

Each figure is one person. RecommendsMixed feelingsCriticizes

Recommended in 4 of 12 months

In 7 different threads.

  1. November 2025: not recommended
  2. December 2025: not recommended
  3. January 2026: not recommended
  4. February 2026: recommended
  5. March 2026: not recommended
  6. April 2026: recommended
  7. May 2026: recommended
  8. June 2026: not recommended
  9. July 2026: not recommended
  10. August 2026: recommended
  11. September 2026: not recommended
  12. October 2026: not recommended

Why it doesn’t carry the badge

  • 7 people recommend itNeeds 10 or more, not met.
  • 0.7 recommenders for every criticNeeds 2 to 1 or better, not met.
  • Recommended in 4 of 12 monthsNeeds 4 or more, met.
  • Recommended in 7 threadsNeeds 5 or more, met.
  • The biggest thread supplies 14% of its recommendersNeeds half or less, met.

The same rules apply to every product, and the badge can’t be bought. Mixed feelings count toward neither side. How the badge works

What people say about it

Reasons grouped from a sample of 18 of the 21 opinions about it, picked in proportion to how many people recommend it, have mixed feelings and criticize it. Each mark is one comment in the sample. Open a reason to read what they said.

What people warn about

Each mark is one comment

  • Misses AI-specific and behavioural bugs

    “Existing tools like Bandit and Semgrep use generic rules that were not built around AI tool failure modes.”

    Comment from 2 Sep 2026 in “VibeGuard – security linter for AI-generated code”

    “Existing tools like ESLint, Semgrep, and Bandit were built for human-written code.”

    Comment from 18 Mar 2026 in “Vchk – Security scanner for AI-generated code”
  • Hard to adopt and use

    “haven't tried semgrep but the rules engine seemed intimidating”

    Comment from 14 Jun 2026 in “Formal Methods and the Future of Programming”

    “sound great but in practice are painful to consistently use”

    Comment from 16 Dec 2025 in “AI will make formal verification go mainstream”
  • Many false positives

    “flagging patterns will always lead to huge false positive rates”

    Comment from 20 Feb 2026 in “Making frontier cybersecurity capabilities available to defenders”

    “Semgrep scanned the same codebase and found 222 issues, 208 of which were false positives”

    Comment from 11 Feb 2026 in “Vulnerabilities in 45 Open Source Projects (vLLM, Langfuse, Phase, NocoDB)”
  • Slow on large repositories

    “tired of waiting 5–20 minutes for Semgrep/CodeQL/SonarQube on large monorepos”

    Comment from 2 Feb 2026 in “RMA – Fast Rust monorepo scanner cross-file taint, typestate, <0.5s on 100k LOC”

    “Semgrep takes 10-30s on a medium repo.”

    Comment from 4 Apr 2026 in “Foxguard – a security scanner as fast as a linter”

Why people recommend it

Each mark is one comment

  • Catches common bugs like secrets and SQLi

    “Semgrep's a solid choice for this. The stuff you're catching - secrets, SQLi, weak hashing- is where pattern matching shines.”

    Comment from 3 Feb 2026 in “Yikes – Security scanner for AI-generated code”

    “These tools have been catching bugs reliably for years.”

    Comment from 4 Apr 2026 in “LLMs audit code from the same blind spot they wrote it from. Here's the fix”
  • Runs in security and verification pipelines

    “No more breaking security policies… we have semgrep, trivy and kerno running in the verfication pipelines”

    Comment from 14 Aug 2026 on Hacker News

    “tools like trivy and sempreg are basically the backbone of every safe program”

    Comment from 7 May 2026 on Hacker News
  • Recommended as a must-know tool

    “For a tool that actually legitimately does this, look at Semgrep.”

    Comment from 5 Apr 2026 in “Isseven”

    “just FYI for anyone who doesn't know about this amazing tool yet”

    Comment from 27 Aug 2026 in “Beyond Recall and the Illusion of Competence”

Other static analyzers people recommend

The four most recommended other static analyzers, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

Semgrep compared with 4 alternatives
ProductRecommendMixedCriticizeApprovalMonthsHad forBadge
zizmor132193%6—Approved
clang-tidy121380%5—Approved
PHPStan820100%5——
SemgrepThis page73944%4——
SonarQube731041%5——
See all 9 static analyzers, ranked

What people said

18 of the 21 opinions about it, picked in proportion to the three counts, newest first. Each links to the original comment.

“Existing tools like Bandit and Semgrep use generic rules that were not built around AI tool failure modes.”

CriticizesComment from 2 Sep 2026 in “VibeGuard – security linter for AI-generated code”

“just FYI for anyone who doesn't know about this amazing tool yet”

RecommendsComment from 27 Aug 2026 in “Beyond Recall and the Illusion of Competence”

“No more breaking security policies… we have semgrep, trivy and kerno running in the verfication pipelines”

RecommendsComment from 14 Aug 2026 on Hacker News

“makes some perform worse and none perform better”

CriticizesComment from 28 Jun 2026 in “Semgrep: GLM 5.2 beats Claude in our Cyber Benchmarks”

“makes what semgrep sells obsolete”

MixedComment from 28 Jun 2026 in “Semgrep: GLM 5.2 beats Claude in our Cyber Benchmarks”

“which is almost cheating, since it finds bugs on its own, but worth a try”

MixedComment from 23 Jun 2026 in “Will It Mythos?”

“haven't tried semgrep but the rules engine seemed intimidating”

MixedComment from 14 Jun 2026 in “Formal Methods and the Future of Programming”

“tools like trivy and sempreg are basically the backbone of every safe program”

RecommendsComment from 7 May 2026 on Hacker News

“For a tool that actually legitimately does this, look at Semgrep.”

RecommendsComment from 5 Apr 2026 in “Isseven”

“These tools have been catching bugs reliably for years.”

RecommendsComment from 4 Apr 2026 in “LLMs audit code from the same blind spot they wrote it from. Here's the fix”

“Semgrep takes 10-30s on a medium repo.”

CriticizesComment from 4 Apr 2026 in “Foxguard – a security scanner as fast as a linter”

“Existing tools like ESLint, Semgrep, and Bandit were built for human-written code.”

CriticizesComment from 18 Mar 2026 in “Vchk – Security scanner for AI-generated code”

“flagging patterns will always lead to huge false positive rates”

MixedComment from 20 Feb 2026 in “Making frontier cybersecurity capabilities available to defenders”

“Semgrep scanned the same codebase and found 222 issues, 208 of which were false positives”

CriticizesComment from 11 Feb 2026 in “Vulnerabilities in 45 Open Source Projects (vLLM, Langfuse, Phase, NocoDB)”

“without the Python runtime overhead”

CriticizesComment from 5 Feb 2026 in “RMA – Compile Semgrep rules to native Rust/Tree-sitter matchers”

“Semgrep's a solid choice for this. The stuff you're catching - secrets, SQLi, weak hashing- is where pattern matching shines.”

RecommendsComment from 3 Feb 2026 in “Yikes – Security scanner for AI-generated code”

“tired of waiting 5–20 minutes for Semgrep/CodeQL/SonarQube on large monorepos”

CriticizesComment from 2 Feb 2026 in “RMA – Fast Rust monorepo scanner cross-file taint, typestate, <0.5s on 100k LOC”

“sound great but in practice are painful to consistently use”

CriticizesComment from 16 Dec 2025 in “AI will make formal verification go mainstream”

Counts come from 1,791,911 Hacker News comments labeled by Claude, November 2025 to October 2026, with data through October 31, 2026. Counts updated 2 Nov 2026. How we count. Report a mistake.