Softwr

Cybersecurity · head to head

Hanko vs Semgrep

Hanko logo

Hanko

Cybersecurity

Open-source, passkey-first authentication and user management you can self-host or run in the cloud

From
Free
Free plan
Yes
Semgrep logo

Semgrep

Cybersecurity

Open-source static analysis tool for finding security bugs and enforcing code standards.

From
Free
Free plan
Yes

The short version

  • Free plans on both; paid from $29/mo and $30/mo.
  • Only Hanko lists passkeys, passwords and passcodes; only Semgrep lists static code scanning.
  • Where Hanko falls short: organisations, roles and permissions are not yet released.
  • Where Semgrep falls short: free tier caps out at 10 contributors and 10 repositories.

How do Hanko and Semgrep differ?

Hanko and Semgrep differ on pricing model (Open-source against Freemium) and platforms. Only the attributes on which Hanko and Semgrep actually diverge.

Attributes where Hanko and Semgrep differ
AttributeHankoSemgrep
Pricing modelOpen-sourceFreemium
PlatformsWebWeb, API, Linux, macOS, Windows

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

Not yet recorded: category for Hanko, founded for Hanko.

Which features does each one have?

They share no listed features; 8 appear only for Hanko and 6 only for Semgrep. 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 Hanko

  • Passkeys, passwords and passcodes
  • Social and OAuth login
  • MFA with TOTP and security keys
  • SAML enterprise SSO
  • Hanko Elements web components
  • Webhooks and admin API
  • Server-side sessions and revocation
  • Self-hosting or managed cloud

Only in Semgrep

  • Static code scanning
  • Supply chain scanning
  • Secrets detection
  • Cross-file analysis
  • AI-powered triage and remediation
  • CI/CD integration

What is each one used for?

Hanko is most often brought in for passkey-first login for consumer apps; Semgrep for scanning code for security vulnerabilities in CI/CD. The jobs each tool is most often brought in to do.

Hanko

  • Passkey-first login for consumer appsnot Semgrep
  • Self-hosted auth for privacy-sensitive productsnot Semgrep
  • Replacing a Firebase or Cognito loginnot Semgrep
  • Adding MFA to a web appnot Semgrep
  • EU-hosted authenticationnot Semgrep

Semgrep

  • Scanning code for security vulnerabilities in CI/CDnot Hanko
  • Detecting vulnerable open-source dependenciesnot Hanko
  • Finding hardcoded secrets before code shipsnot Hanko
  • Enforcing custom code standards with rule setsnot Hanko
  • Prioritizing findings with AI-assisted triagenot Hanko

Where do Hanko and Semgrep fall short?

Hanko's most cited limit: organisations, roles and permissions are not yet released. Semgrep's: free tier caps out at 10 contributors and 10 repositories. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Hanko

  • Organisations, roles and permissions are not yet released
  • Native iOS, Android and Flutter SDKs are still on the roadmap
  • AGPL-3.0 licence may need a commercial licence for some products
  • SAML SSO costs $49 a month per connection on top of Pro

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

How much do Hanko and Semgrep cost?

Hanko has a free plan, with paid plans from $29/mo; Semgrep has a free plan, with paid plans from $30/mo. Plan by plan below, from each vendor's own pricing page.

Hanko

Free
  • StarterFree
    • 10,000 monthly active users
    • 2 projects
    • Passkeys, passwords, MFA, social login
  • Pro$29/mo
    • $0.01 per monthly active user above 10,000
    • 5 projects
    • Webhooks and admin API

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

Which should you pick?

Choose Hanko if

  • You need passkeys, passwords and passcodes.
  • You want to start without paying.
  • You also want social and oauth login.

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.

Questions people ask

Is Hanko or Semgrep better?
It depends on the job. Hanko fits passkey-first login for consumer apps; Semgrep fits scanning code for security vulnerabilities in CI/CD. Hanko starts at Free and Semgrep at Free.
Which is cheaper, Hanko or Semgrep?
Hanko starts at Free and Semgrep at Free.
Does Hanko or Semgrep run on more platforms?
Hanko runs on Web. Semgrep runs on Web, API, Linux, macOS, Windows.
Can I use Hanko for free?
Both have a free tier, so you can try either at no cost before committing.
What is Hanko best used for?
Hanko is most often used for passkey-first login for consumer apps, self-hosted auth for privacy-sensitive products, replacing a firebase or cognito login, adding mfa to a web app. Of those, passkey-first login for consumer apps and self-hosted auth for privacy-sensitive products are not what Semgrep is typically brought in for.
What can Hanko do that Semgrep cannot?
Hanko covers Passkeys, passwords and passcodes, Social and OAuth login, MFA with TOTP and security keys, SAML enterprise SSO. Semgrep covers Static code scanning, Supply chain scanning, Secrets detection, Cross-file analysis.

Answered from the vendors’ own pages

Hanko: Is Hanko open source?

Yes. Hanko is open-source under the AGPL-3.0 licence and can be self-hosted, or used as the managed Hanko Cloud.

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

Source
Hanko: How much does Hanko Cloud cost?

Starter is free with 10,000 monthly active users. Pro is $29 a month plus $0.01 per user above 10,000.

Source
Semgrep: 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.

Source
Hanko: Does Hanko support SAML SSO?

Yes. SAML SSO is available on Pro at $49 a month per connection.

Source
Semgrep: 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.

Source
Hanko: What counts as a monthly active user?

A user who is issued a session token at least once in a month, or whose session token is validated through Hanko, counts once for that month.

Source
Semgrep: Is there special pricing for startups?

Yes, Semgrep offers special startup pricing upon request for early-stage companies.

Source
Share

Related pages

Other head to heads