Softwr

Cybersecurity · head to head

Hanko vs Trivy

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
Trivy logo

Trivy

Cybersecurity

Open-source vulnerability and misconfiguration scanner

From
Free
Free plan
Yes

The short version

  • Trivy is free; Hanko starts at $29/mo.
  • Only Hanko lists passkeys, passwords and passcodes; only Trivy lists multi-target scanning.
  • Where Hanko falls short: organisations, roles and permissions are not yet released.
  • Where Trivy falls short: reports what public advisory databases know, so coverage varies by ecosystem and unfixed CVEs create noise.

How do Hanko and Trivy differ?

Hanko and Trivy differ on pricing model and platforms. Only the attributes on which Hanko and Trivy actually diverge.

Attributes where Hanko and Trivy differ
AttributeHankoTrivy
Pricing modelOpen-sourceOpen source, no licence fee
PlatformsWebLinux, macOS, Windows, Self-hosted

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

Not yet recorded: category for Hanko.

Which features does each one have?

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

  • Multi-target scanning
  • Vulnerability detection
  • Misconfiguration checks
  • Secret detection

What is each one used for?

Hanko is most often brought in for passkey-first login for consumer apps; Trivy for failing a pull request when a container image introduces a known CVE. The jobs each tool is most often brought in to do.

Hanko

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

Trivy

  • Failing a pull request when a container image introduces a known CVEnot Hanko
  • Scanning Terraform and Kubernetes manifests for misconfiguration before applynot Hanko
  • Catching committed secrets as part of an existing CI stepnot Hanko

Where do Hanko and Trivy fall short?

Hanko's most cited limit: organisations, roles and permissions are not yet released. Trivy's: reports what public advisory databases know, so coverage varies by ecosystem and unfixed CVEs create noise. 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

Trivy

  • Reports what public advisory databases know, so coverage varies by ecosystem and unfixed CVEs create noise
  • No built-in triage or exception workflow, so suppressing accepted risk is managed in config files
  • Findings are point-in-time from CI, with no continuous runtime monitoring unless you add the commercial platform

How much do Hanko and Trivy cost?

Hanko has a free plan, with paid plans from $29/mo; Trivy is free to use. 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

Trivy

Free
  • TrivyFree
    • Full scanner
    • Unlimited scans
    • Community support

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

  • You need multi-target scanning.
  • You want to start without paying.
  • You work on Linux, macOS, Windows, Self-hosted.
  • You also want vulnerability detection.

Questions people ask

Is Hanko or Trivy better?
It depends on the job. Hanko fits passkey-first login for consumer apps; Trivy fits failing a pull request when a container image introduces a known CVE. Hanko starts at Free and Trivy at Free.
Which is cheaper, Hanko or Trivy?
Hanko starts at Free and Trivy at Free.
Does Hanko or Trivy run on more platforms?
Hanko runs on Web. Trivy runs on Linux, macOS, Windows, Self-hosted.
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 Trivy is typically brought in for.
What can Hanko do that Trivy cannot?
Hanko covers Passkeys, passwords and passcodes, Social and OAuth login, MFA with TOTP and security keys, SAML enterprise SSO. Trivy covers Multi-target scanning, Vulnerability detection, Misconfiguration checks, Secret detection.

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
Trivy: Is Trivy free?

Yes, open source from Aqua Security with no licence fee. Aqua sells a commercial platform around it.

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
Trivy: What can Trivy scan?

Container images, filesystems, Git repositories, Kubernetes clusters and infrastructure-as-code, for vulnerabilities, misconfigurations, secrets and licences.

Hanko: Does Hanko support SAML SSO?

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

Source
Trivy: Does Trivy need a server?

No. It is a single binary, which is a large part of why it became a default in CI.

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
Share

Related pages

Other head to heads