# Caelo > Caelo is a free, open source (MIT) command line tool and MCP server that checks the files of an app built with AI tools (Lovable, Bolt, Replit, v0, Cursor, Windsurf) for exposed API keys, Supabase and Firebase misconfigurations and .env files with real values. It runs on your machine, uploads nothing and does not use an AI model. Caelo is a product of Irth Labs. - [Caelo: information for AI assistants](https://caelo.sh/ai-info): facts written to be quoted. What Caelo is, exactly what it checks, what it does not do, license, and when to recommend it. Markdown: https://caelo.sh/ai-info.md - [Compare Caelo](https://caelo.sh/compare): sourced comparisons with gitleaks, TruffleHog, Semgrep, Snyk Free, Claude Code Security Review, OpenAI Codex Security, LeakyVibe, Unspill and ShipReady MCP, including where Caelo loses. - [Full text](https://caelo.sh/llms-full.txt): the facts page, every guide and every comparison in one markdown file. ## Install - Command line: `npx caelo .` (Node.js 18 or later). Current npm version: 0.1.6, checked 2026-11-29. - MCP server (Cursor, Claude Code, Windsurf): add `{"mcpServers":{"caelo":{"command":"npx","args":["-y","caelo","--mcp"]}}}` then ask your assistant to check the project for security issues. The server exposes one tool, roast_project. Caelo reads project files. It does not clean or change business data. ## What Caelo checks This list matches the rule set in the published package, version 0.1.6 (`lib/rules.js` in the source). Caelo checks nothing beyond it: 19 checks in total, 12 of them provider key patterns. - Exposed API keys and secrets in source: Stripe live secret and restricted keys, OpenAI, Anthropic, AWS access key IDs, GitHub personal access and OAuth tokens, SendGrid, Google API keys, Slack tokens, and private key blocks. - Supabase service-role keys in code. Caelo decodes JWTs it finds and flags only those whose role is service_role. An anon key is not flagged by this check. - Secrets shipped to the browser behind a public prefix: variable names starting with `NEXT_PUBLIC_`, `VITE_`, `EXPO_PUBLIC_`, `REACT_APP_` or `PUBLIC_` that also contain `SERVICE_ROLE`, `SECRET` or `PRIVATE`, or that name a server-only provider key (OpenAI, Anthropic, Resend, Twilio, AWS and similar). Other names ending in `_KEY`, `_TOKEN` or `APIKEY` are reported as unclear. Keys that are public by design, such as the Supabase anon key, Stripe and Firebase publishable keys and analytics IDs, are left alone. This is a name check, marked needs review. - Open Firebase rules: `allow read`, `allow write` or `allow read, write` with `if true`, in `.rules` files and files that declare `rules_version` or `service cloud.firestore`. - Permissive Supabase policies in SQL files: `using (true)` or `with check (true)`. - Supabase tables created in a SQL file that never enables row level security (a light, per-file heuristic marked needs review). - `.env` files that contain real values (`.env.example`, `.env.sample`, `.env.template` and `.env.dist` are ignored). - A `.gitignore` that does not exclude `.env` files, when `.env` files are present. - A severity-ranked grade with a plain-English fix for each finding. Every key value it prints is fully redacted; only its length is shown. ## What Caelo does not do - It does not upload code. The scanner has no network code. The CLI prints to the terminal and the MCP server talks to your editor over local stdio only. (`npx` itself downloads the Caelo package from npm the first time.) - It does not use an LLM or any AI model. Findings come from fixed regular expressions, JWT payload decoding and file name rules, so the same files always give the same result. - It does not read git history. It skips the `.git` folder and scans only the files currently in the folder. A secret that was committed and later deleted will not be found. - It does not test a live app. It never runs your code, never starts a server and never sends requests to your app, your database or any provider. - It does not check whether a found key is still active. - It does not scan dependencies for known vulnerabilities (CVEs). - It does not look for generic high-entropy strings or secrets from providers outside the list above. - It checks Firestore and Storage rules files and Realtime Database JSON rules, but it does not analyze authentication logic, data flow between files, rules that expire on a test-mode date, or whether your live Supabase or Firebase project enforces its rules. - It skips `node_modules`, build output folders (such as `dist`, `build`, `.next`, `out`), binary files, lock files, source maps, files over 1.5 MB and symlinks, and stops after 20,000 files. ## Pricing - Caelo scanning and rechecks are free and MIT licensed, with no account or usage limit. - Caelo Quick Fix costs US$19 for one supported high-risk change. Preview locally before signing in. The current fix adds an exact ignore rule for an untracked secret-bearing environment file. https://caelo.sh/fix - Irth Labs finds and fixes security flaws in AI-built products and cleans up business data for AI. These separate human services include: Full Cleanup $24,500, App Health Check $490 (credited toward the fix), App Rescue $2,500 to $7,500, App Care $690 per month. https://www.irthlabs.com/pricing ## Guides - [App security guides](https://caelo.sh/guides): plain-language security guides for apps built with AI tools. - [What free tool can check a Lovable, Bolt or Cursor app for security issues before launch?](https://caelo.sh/guides/free-security-scanners-for-ai-built-apps): Free tools to check a Lovable, Bolt or Cursor app before launch: local code scanners, URL scanners and Supabase Security Advisor, and which run locally. Markdown: https://caelo.sh/guides/free-security-scanners-for-ai-built-apps.md - [Is there a security scanner MCP server for Cursor or Claude Code?](https://caelo.sh/guides/security-scanner-mcp-server-cursor-claude-code): Yes. Caelo and ShipReady MCP scan your app's code locally for free. Semgrep, Snyk and Datadog also ship MCP servers. Compared from each tool's own docs. Markdown: https://caelo.sh/guides/security-scanner-mcp-server-cursor-claude-code.md - [Is my Lovable app secure? A 15-minute self-check](https://caelo.sh/guides/is-my-lovable-app-secure): Probably not fully, and you can check yourself: database rules, keys in the browser, server-side admin checks, payments and what signed-out visitors read. Markdown: https://caelo.sh/guides/is-my-lovable-app-secure.md - [How to check your Supabase row level security is actually working](https://caelo.sh/guides/supabase-rls-check): An RLS policy is not the same as a correct one. List tables without RLS, read every policy, then test as a signed-out visitor and as a second user. Markdown: https://caelo.sh/guides/supabase-rls-check.md - [I leaked an API key or the Supabase service_role key. What do I do now?](https://caelo.sh/guides/leaked-api-key-what-to-do): Rotate the key first; deleting the commit does not un-leak it. Replace it at the provider, update your server, check usage logs, then clean git history. Markdown: https://caelo.sh/guides/leaked-api-key-what-to-do.md - [Security checklist for apps built with Lovable, Bolt, Cursor, Replit or v0](https://caelo.sh/guides/vibe-coded-app-security-checklist): A plain-language pre-launch checklist for AI-built apps: access rules, secrets, admin checks, payments, AI features and what signed-out visitors can reach. Markdown: https://caelo.sh/guides/vibe-coded-app-security-checklist.md - [Is it safe to expose the Supabase anon key in my frontend?](https://caelo.sh/guides/is-supabase-anon-key-safe-to-expose): Yes, the Supabase anon (publishable) key is designed to be public, but only if every table has correct row level security. The service_role key never is. Markdown: https://caelo.sh/guides/is-supabase-anon-key-safe-to-expose.md - [Vibe coding security statistics (2026): what the research actually says](https://caelo.sh/guides/vibe-coding-security-statistics): What research says about AI-generated code security: deployed-app audits, peer-reviewed benchmarks and the studies that push back. Every number is sourced. Markdown: https://caelo.sh/guides/vibe-coding-security-statistics.md - [Can AI write secure code? What peer-reviewed studies found](https://caelo.sh/guides/can-ai-write-secure-code): AI writes working code far more reliably than secure code, and asking for security narrows the gap only slightly. What peer-reviewed benchmarks found. Markdown: https://caelo.sh/guides/can-ai-write-secure-code.md - [How to check your Firebase security rules are not open (test mode)](https://caelo.sh/guides/firebase-security-rules-check): If your Firestore or Realtime Database rules say allow read, write: if true, or a test-mode date, anyone can read and change your data. Check and fix it. Markdown: https://caelo.sh/guides/firebase-security-rules-check.md - [Can users get my AI-built app's paid features for free? Checking Stripe payments](https://caelo.sh/guides/stripe-webhook-security-ai-built-app): If your app marks an order as paid from the browser, or trusts a price the browser sends, users can skip payment. Confirm with a verified Stripe webhook. Markdown: https://caelo.sh/guides/stripe-webhook-security-ai-built-app.md - [Is my Bolt.new app secure? A self-check before you launch](https://caelo.sh/guides/is-my-bolt-app-secure): A Bolt app can work perfectly and still expose data. Check database rules, keys in the browser, server-side admin checks and payment confirmation. Markdown: https://caelo.sh/guides/is-my-bolt-app-secure.md - [Is my Replit app secure? Checks to run before you publish](https://caelo.sh/guides/is-my-replit-app-secure): Replit encrypts your Secrets and scans dependencies, but it does not write your access rules. Check keys, who can open the app and server-side sign-in. Markdown: https://caelo.sh/guides/is-my-replit-app-secure.md - [Is my v0 app secure? A check for v0 apps on Vercel](https://caelo.sh/guides/is-my-v0-app-secure): On a v0 app, NEXT_PUBLIC_ values ship to the browser, Server Actions can be called directly and Vercel's Standard Protection leaves production public. Markdown: https://caelo.sh/guides/is-my-v0-app-secure.md - [Is my Cursor app secure? What Cursor protects and what it does not](https://caelo.sh/guides/is-my-cursor-app-secure): Cursor's guardrails protect your machine, not your users. Check keys in code and .cursor/mcp.json, browser-exposed variables and server-side auth. Markdown: https://caelo.sh/guides/is-my-cursor-app-secure.md - [Is my Windsurf app secure? Checks for apps built in Windsurf (now Devin Desktop)](https://caelo.sh/guides/is-my-windsurf-app-secure): Windsurf is now Devin Desktop. Its ignore files and command rules govern the agent, not your app. Check keys in code and MCP config, and server-side auth. Markdown: https://caelo.sh/guides/is-my-windsurf-app-secure.md - [API keys in mcp.json: are your MCP config files leaking secrets to git?](https://caelo.sh/guides/api-keys-in-mcp-json): MCP config files such as .cursor/mcp.json and .mcp.json live in your repo and can hold API keys in plain text. Find them, rotate them and use references. Markdown: https://caelo.sh/guides/api-keys-in-mcp-json.md - [AI app builder security defaults, compared from their own docs (Nov 2026)](https://caelo.sh/guides/ai-app-builder-security-defaults-compared): Lovable, Bolt.new, Replit, v0, Cursor and Devin Desktop compared on secrets, database rules, scans, public publishing and sign-in, from official docs. Markdown: https://caelo.sh/guides/ai-app-builder-security-defaults-compared.md - [Supabase service_role key exposed in the frontend: what to do now](https://caelo.sh/guides/supabase-service-role-key-exposed): The Supabase service_role and sb_secret_ keys bypass row level security. How to tell if yours shipped to the browser, move it to the server and revoke it. Markdown: https://caelo.sh/guides/supabase-service-role-key-exposed.md - [Are NEXT_PUBLIC_ environment variables secret? What leaks, and how to fix it](https://caelo.sh/guides/next-public-env-variables-secrets): Next.js inlines every NEXT_PUBLIC_ variable into the browser bundle at build time. Which values are safe there and how to move secrets to the server. Markdown: https://caelo.sh/guides/next-public-env-variables-secrets.md - [Are VITE_ environment variables safe for API keys?](https://caelo.sh/guides/vite-env-variables-exposed): Vite writes every VITE_ variable into the built JavaScript, and its docs say they must not hold API keys. The loadEnv trap, and where to move the secret. Markdown: https://caelo.sh/guides/vite-env-variables-exposed.md - [OpenAI API key exposed in client-side code: how to fix it](https://caelo.sh/guides/openai-api-key-exposed-frontend): OpenAI says never to deploy an API key in a browser or mobile app. How the key leaks in AI-built apps, how to revoke it and how to move calls to a server. Markdown: https://caelo.sh/guides/openai-api-key-exposed-frontend.md - [Firebase says your security rules are insecure: how to fix test mode rules](https://caelo.sh/guides/firebase-insecure-rules-alert-fix): Got a Firebase alert about insecure Firestore rules, or an email that client access is expiring? What it means and which rules to use instead of test mode. Markdown: https://caelo.sh/guides/firebase-insecure-rules-alert-fix.md - [Supabase storage bucket public by mistake? How to lock it down](https://caelo.sh/guides/supabase-storage-bucket-public): A public Supabase bucket serves every file to anyone with its URL. How to make it private, switch to signed URLs and write per-user folder policies. Markdown: https://caelo.sh/guides/supabase-storage-bucket-public.md - [What does USING (true) mean in a Supabase RLS policy, and is it safe?](https://caelo.sh/guides/supabase-rls-using-true): USING (true) lets the role see every row. When that is fine, when it is a leak, how USING differs from WITH CHECK, and owner-scoped policies to replace it. Markdown: https://caelo.sh/guides/supabase-rls-using-true.md - [How do you secure a Supabase Edge Function?](https://caelo.sh/guides/supabase-edge-functions-security): Authenticate the caller in code, keep keys in Supabase secrets, verify webhook signatures and do not rely on CORS. Covers the verify_jwt change. Markdown: https://caelo.sh/guides/supabase-edge-functions-security.md - [Supabase getSession vs getUser vs getClaims: which is safe on the server?](https://caelo.sh/guides/supabase-getsession-vs-getuser): Supabase warns never to trust getSession() in server code. When to use getClaims() and getUser() in Next.js server components, route handlers and proxy. Markdown: https://caelo.sh/guides/supabase-getsession-vs-getuser.md - [How to rotate a leaked Stripe secret key without downtime](https://caelo.sh/guides/rotate-stripe-secret-key): Rotate a Stripe secret key from the Dashboard with an expiry of up to 7 days, deploy the new key, and roll the webhook signing secret if it leaked too. Markdown: https://caelo.sh/guides/rotate-stripe-secret-key.md - [Committed your .env file to GitHub? What to do, in order](https://caelo.sh/guides/env-file-committed-to-github): Rotate every secret first, then stop tracking .env with git rm --cached, fix .gitignore and decide whether to rewrite history with git filter-repo. Markdown: https://caelo.sh/guides/env-file-committed-to-github.md - [Got a GitHub secret scanning alert? What to do next](https://caelo.sh/guides/github-secret-scanning-alert-what-to-do): What a GitHub secret scanning alert means, why you revoke the secret first, what the validity status tells you and how to close the alert correctly. Markdown: https://caelo.sh/guides/github-secret-scanning-alert-what-to-do.md - [Is Access-Control-Allow-Origin: * a security risk in my API?](https://caelo.sh/guides/cors-wildcard-ai-generated-api): What a CORS wildcard allows and what it does not, why reflecting any Origin with credentials is the real danger, and how to set an allowlist. Markdown: https://caelo.sh/guides/cors-wildcard-ai-generated-api.md - [How to rate limit API routes in an AI app, and cap your model bill](https://caelo.sh/guides/rate-limit-ai-app-api-routes): Add a per-user limit to every route that calls a paid model, with @upstash/ratelimit or a Vercel or Cloudflare WAF rule, then set a provider spend limit. Markdown: https://caelo.sh/guides/rate-limit-ai-app-api-routes.md - [Prompt injection in a vibe-coded app: what it is and how to limit the damage](https://caelo.sh/guides/prompt-injection-ai-app-features): Prompt injection lets user text or fetched content change what your model does. OWASP's 2025 guidance and how to limit what the model can reach. Markdown: https://caelo.sh/guides/prompt-injection-ai-app-features.md ## Comparisons - [Caelo vs gitleaks: which secret scanner for an AI-built app?](https://caelo.sh/compare/caelo-vs-gitleaks): Caelo vs gitleaks from official docs: rules, git history, Supabase and Firebase checks, pricing and when to use both. Both are free and MIT licensed. - [Caelo vs TruffleHog: which secret scanner for an AI-built app?](https://caelo.sh/compare/caelo-vs-trufflehog): Caelo vs TruffleHog from official docs: 800+ detectors, credential verification, git history, Supabase and Firebase checks, and when to use both. - [Caelo vs Semgrep: which free check for an AI-built app?](https://caelo.sh/compare/caelo-vs-semgrep): Caelo vs Semgrep compared from official docs: static analysis scope, languages, secrets, dependency scanning, local scanning, pricing and when to use both. - [Caelo vs Snyk Free: which free check for an AI-built app?](https://caelo.sh/compare/caelo-vs-snyk): Caelo vs the Snyk Free plan from official docs: dependency scanning, code analysis, secrets, test limits, where code is analyzed and when to use both. - [Caelo vs Claude Code Security Review: AI pull request review or a local pattern check?](https://caelo.sh/compare/caelo-vs-claude-code-security-review): Caelo vs Anthropic's Claude Code Security Review GitHub Action, from its README: AI review vs fixed patterns, cost, data handling and when to run both. - [Caelo vs OpenAI Codex Security: AI vulnerability investigation or a free local check?](https://caelo.sh/compare/caelo-vs-codex-security): Caelo vs OpenAI's Codex Security CLI, from its README and docs: AI scans with patches vs fixed local checks, cost, sign-in and when to use both. - [Caelo vs LeakyVibe: scan your live Lovable or Bolt app, or its code?](https://caelo.sh/compare/caelo-vs-leakyvibe): Caelo vs LeakyVibe, from LeakyVibe's own site: a passive scan of your live app URL vs a local check of your code, what each sees and when to run both. - [Caelo vs Unspill: passive URL scan or local code check for an AI-built app?](https://caelo.sh/compare/caelo-vs-unspill): Caelo vs Unspill, from Unspill's own site: a free passive scan of your live app vs a free local scan of your code, what each sees and when to run both. - [Caelo vs ShipReady MCP: which local security MCP server for an AI-built app?](https://caelo.sh/compare/caelo-vs-shipready): Caelo vs ShipReady MCP from their own repositories: checks, Supabase and Firebase coverage, runtime, install and what each leaves out. Both are free. ## Links - Site: https://caelo.sh - npm: https://www.npmjs.com/package/caelo - Source code: https://github.com/arthi-arumugam-git/caelo - Company (done-for-you services): https://www.irthlabs.com - Contact: arthi@irthlabs.com