Cybersecurity · head to head
Hanko vs Trivy

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
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.
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.
SourceTrivy: 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.
SourceTrivy: 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.
SourceTrivy: 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.
SourceRelated pages
Other head to heads
- Hanko vs Zitadel
- Hanko vs SuperTokens
- Hanko vs Amazon Cognito
- Hanko vs Auth0
- Hanko vs authentik
- Hanko vs Authelia
- Hanko vs FusionAuth
- Hanko vs IBM Verify
- Hanko vs Kinde
- Hanko vs BeyondTrust
- Hanko vs SailPoint
- Hanko vs Beyond Identity
- Hanko vs Authy
- Hanko vs OneLogin
- Hanko vs Google Cloud Identity
- Hanko vs ManageEngine AD360
- Hanko vs AWS IAM Identity Center
- Hanko vs SailPoint IdentityIQ
- Hanko vs Grype
- Hanko vs Snyk
- Hanko vs Palo Alto Networks Prisma Cloud
- Hanko vs Sysdig
- Hanko vs Chainguard
- Hanko vs Semgrep
- Hanko vs Bitwarden
- Hanko vs Infisical
- Hanko vs Ory Kratos
- Hanko vs HashiCorp Vault
- Hanko vs OWASP ZAP
- Hanko vs Milestone XProtect
- Hanko vs NordPass
- Hanko vs Signicat
- Hanko vs Veriff
- Hanko vs Enpass
- Hanko vs Passbolt
- Hanko vs Syft
- Trivy vs Zitadel
- Trivy vs SuperTokens
- Trivy vs Amazon Cognito
- Trivy vs Auth0
- Trivy vs authentik
- Trivy vs Authelia
- Trivy vs FusionAuth
- Trivy vs IBM Verify
- Trivy vs Kinde
- Trivy vs BeyondTrust
- Trivy vs SailPoint
- Trivy vs Beyond Identity
- Trivy vs Authy
- Trivy vs OneLogin
- Trivy vs Google Cloud Identity
- Trivy vs ManageEngine AD360
- Trivy vs AWS IAM Identity Center
- Trivy vs SailPoint IdentityIQ
- Trivy vs Grype
- Trivy vs Snyk
- Trivy vs Palo Alto Networks Prisma Cloud
- Trivy vs Sysdig
- Trivy vs Chainguard
- Trivy vs Semgrep
- Trivy vs Bitwarden
- Trivy vs Infisical
- Trivy vs Ory Kratos
- Trivy vs HashiCorp Vault
- Trivy vs OWASP ZAP
- Trivy vs Milestone XProtect
- Trivy vs NordPass
- Trivy vs Signicat
- Trivy vs Veriff
- Trivy vs Enpass
- Trivy vs Passbolt
- Trivy vs Syft
