Caelo vs gitleaks: which secret scanner for an AI-built app?
.env files with real values) and an MCP server. Caelo does not read git history.
- gitleaks: thorough secret scanning of a repository and its full git history, in pre-commit and CI.
- Caelo: a one-command check of an AI-built app's current files for Supabase, Firebase and browser-exposure mistakes, with plain-English fixes, from the terminal or an MCP client.
Feature comparison
| Caelo | gitleaks | |
|---|---|---|
| License | MIT | MIT |
| Price | Free | Free |
| Runs locally | Yes | Yes (binary, Homebrew, Docker or Go) |
| Scans git history | No, current files only | Yes, git mode reads git log -p |
| Scans a folder of files | Yes | Yes, dir mode |
| Reads from stdin | No | Yes |
| Secret rules | 12 provider key patterns plus a Supabase service_role JWT check | 222 rules in the default config, regex with optional entropy |
| Custom rules | No | Yes, TOML config |
| Supabase policy and RLS checks | Yes, in SQL files | Not documented |
| Open Firebase rules | Yes | Not documented |
Secret names behind NEXT_PUBLIC_ or VITE_ | Yes | Not documented |
.env file and .gitignore check | Yes | No separate check documented; dir mode scans the contents of .env files like any other file |
| Archives and encoded content | No | Yes, with archive depth and decode depth flags |
| Baseline of known findings | No | Yes |
| Report formats | Plain text, or JSON with --json | JSON, CSV, JUnit, SARIF, custom template |
| Pre-commit hook | Yes | Yes |
| GitHub Action | Yes, caelo-action | Yes, gitleaks-action (organizations need a free license key) |
| MCP server | Yes | Not documented |
| Redacts secrets in output | Always | Optional --redact flag |
| Plain-English fix per finding | Yes | Not documented |
| Maturity | New, version 0.1.6 | Established; license dated 2019, latest release v8.30.1 (March 2026). Its README says gitleaks is feature complete and future releases will be security patches only |
Pricing
Checked 2026-11-27. gitleaks is free and MIT licensed. The separate gitleaks-action for GitHub Actions is free for personal accounts; repositories owned by an organization need a free license key from gitleaks.io, and since v2.0.0 the action uses its own license rather than MIT.
Caelo is free and MIT licensed.
Pros and cons
| Pros | Cons | |
|---|---|---|
| gitleaks | Large default rule set, including generic JWT and API key rules; scans full git history; custom TOML rules; baselines; SARIF and other formats; pre-commit and GitHub Action; long track record. | General purpose, so its default config has no rules for Supabase policies, Firebase rules or browser-prefix naming; output is a scanner report rather than plain-English fixes; redaction is opt-in; no new features planned. |
| Caelo | Checks aimed at AI-built apps (Supabase, Firebase, public prefixes, .env); plain-English fix for each finding; always redacts; runs as an MCP server inside AI editors; zero config. | New and small: 12 provider key patterns; no git history; no custom rules; no SARIF output (plain text or JSON only). |
When to use both
They overlap on provider key patterns, and gitleaks has a generic JWT rule that will also flag a Supabase service_role key (without saying which role it is). A practical setup: run gitleaks in pre-commit and CI to catch secrets anywhere in your history, and run Caelo before launch (or from your AI editor) to catch the Supabase, Firebase and browser-exposure mistakes gitleaks does not look for. If either tool finds a real key, rotate it at the provider first, then clean it up.
Run the free local check
npx caelo .
Caelo is a free, open source (MIT) command line tool and MCP server from Irth Labs that checks the files of an AI-built app for exposed API keys, Supabase and Firebase misconfigurations and .env files with real values. It runs on your machine, uploads nothing and uses no AI model.
If the report flags an untracked file containing secrets, preview a US$19 quick fix. For findings that need an engineer, book the US$490 App Health Check for a written report and repair quote.
Questions
Does Caelo find secrets in git history like gitleaks does?
No. Caelo scans only the files currently in the folder. gitleaks git mode scans the whole history through git log -p.
Which tool detects more kinds of secrets?
gitleaks. Its default config has 222 rules. Caelo has 12 provider key patterns plus a Supabase service_role check.
Does gitleaks check Supabase row level security?
Its default config has no Supabase rule. Caelo flags using (true) policies and tables created without row level security in SQL files.
Do I need a license key for gitleaks?
Not for the gitleaks CLI. The gitleaks-action GitHub Action needs a free license key when the repository belongs to an organization.
Can I run both?
Yes. They run independently and cover different ground.