# Caelo vs OpenAI Codex Security: AI vulnerability investigation or a free local check?

Canonical: https://caelo.sh/compare/caelo-vs-codex-security
Facts checked against official docs: 2026-11-27 · Arthi Arumugam, Irth Labs (makers of Caelo)

**Short answer:** Codex Security is OpenAI's open source (Apache-2.0) CLI, TypeScript SDK and GitHub Action that uses an AI model to scan a repository, validate findings, generate patches and draft a `SECURITY.md` and threat model. It needs a ChatGPT sign-in or an API key (OpenAI, Amazon Bedrock, OpenRouter and other providers are supported), and scans cost model usage; its example GitHub workflow sets an estimated $5 limit per scan. Caelo is free (MIT), needs no account and uses no AI model: 19 fixed checks for the leaks AI-built apps ship most, such as 12 provider key patterns, Supabase service_role keys, missing row level security in SQL files, open Firebase rules and `.env` files. Codex Security goes much deeper; Caelo is faster, offline and the same every run.

- Codex Security: a deep, AI-driven review of a repository, including authentication and authorization, with validated findings, suggested patches, threat models and exports to Linear, Jira, GitHub or SARIF.
- Caelo: a free, offline, seconds-long check of an AI-built app's files for exposed keys and Supabase, Firebase and `.env` mistakes, before you spend on a deeper review.

## Feature comparison

|  | Caelo | Codex Security |
| --- | --- | --- |
| What it is | Command line tool and MCP server | CLI (cs or codex-security), TypeScript SDK, GitHub Action and a Codex plugin |
| License | MIT | Apache-2.0 |
| Price | Free, no account | Open source tool; scans use model usage on your ChatGPT sign-in or API key. The example workflow uses an estimated $5 limit per scan, and `--max-cost` sets a limit. The README does not list a fixed price |
| Sign-in | None | `cs login` (ChatGPT) or `OPENAI_API_KEY` / `CODEX_API_KEY`; other providers use their own keys |
| How it finds issues | 19 fixed patterns and small parsers, no AI model | AI investigation, with Standard and Deep scan modes |
| Where the code goes | Nowhere. Reads files on your machine and makes no network requests | The CLI runs on your machine; analysis runs on the model provider you configure. Codex Security Cloud is optional |
| Same result every run | Yes, deterministic | Not promised: it is model-based |
| Scope | The current files in a folder | Repositories, selected paths, or Git changes with `--diff` |
| Logic flaws (authentication, authorization) | No | Yes, a scan can focus on them |
| Validates findings and writes patches | No; gives a plain-English fix per finding | Yes: validation, patch generation and fix verification |
| Supabase row level security and Firebase rules | Yes, specific checks in SQL and rules files | Not documented as specific checks |
| Secrets behind `NEXT_PUBLIC_` or `VITE_` | Yes | Not documented as a specific check |
| Threat model and `SECURITY.md` | No | Yes |
| Exports and trackers | Plain text, or JSON with `--json` | SARIF, JSON, CSV; Linear, Jira and GitHub tracking |
| CI | caelo-action and a pre-commit hook | GitHub Action (example runs weekly; pull request checks are documented) |
| Requirements | Node.js 18 or later | Node.js 22.13+ (22.x), 24.x or 26.x, and Python 3.10+ |
| Access limits | None | Some cybersecurity requests and protected findings require OpenAI's Trusted Access for Cyber |
| Maturity | New, version 0.1.6 | Public OpenAI repository created July 2026; npm version 0.11.0 on 2026-11-27 |

## Pricing

Checked 2026-11-27. The Codex Security CLI and SDK are Apache-2.0 licensed and free to install. Scans call an AI model through your ChatGPT sign-in or an API key, so they consume usage; the README's weekly GitHub workflow example uses an estimated $5 limit per scan and notes that requests in progress can exceed it. The README does not publish a fixed price.

Caelo is free and MIT licensed, with no account and no usage limit.

## Pros and cons

|  | Pros | Cons |
| --- | --- | --- |
| Codex Security | Reasons about the code, so it can find authentication, authorization and logic flaws; validates findings and proposes patches; threat models and `SECURITY.md` drafts; SARIF and tracker integrations; works across repositories and in CI; supports several model providers. | Needs sign-in and costs model usage per scan; the reviewed code is processed by the model provider; heavier setup (Node.js 22+ and Python 3.10+); results are model-based; some requests need Trusted Access for Cyber; no documented checks specific to Supabase or Firebase rules. |
| Caelo | Free, offline, no account; runs in seconds with `npx caelo .`; specific checks for Supabase, Firebase, browser-public prefixes and `.env` files; deterministic; plain-English fix per finding; MCP server for AI editors. | Fixed patterns only, so it misses logic flaws and secrets with no known format; 12 provider key patterns; no git history; no patches; does not run the app, so a clean scan is not proof of security. |

## When to use both

Caelo is the cheap first pass: run `npx caelo .` and fix the mechanical leaks (live keys in files, a service_role key in client code, `using (true)` policies, open Firebase rules, a tracked `.env`) before you pay for model time. Then point Codex Security at the repository, ideally focused on authentication and authorization, to find what a pattern cannot. If either finds a real key, rotate it at the provider first.

## Check your own app

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.

For an eligible secret-bearing environment file, preview the US$19 quick fix. https://caelo.sh/fix
For findings that need an engineer, book the US$490 App Health Check for a written report and repair quote. https://www.irthlabs.com/start?service=app-health-check

## Questions

### Is Codex Security free?

The CLI and SDK are open source under Apache-2.0, but scans run an AI model on your ChatGPT sign-in or API key, so they cost usage. Caelo is free and needs no account.

### Does Codex Security run locally?

The CLI runs on your machine and keeps scan history locally, but the analysis is done by the model provider you configure (OpenAI by default). Caelo does all of its work on your machine with no network requests.

### Which tool finds more?

Codex Security, by a wide margin: it investigates logic, validates findings and writes patches. Caelo covers a short, specific list of AI-app leaks very cheaply.

### Does Codex Security check Supabase row level security?

Its README does not list Supabase or Firebase rule checks specifically. Caelo flags tables without row level security and `using (true)` policies in SQL files, and open Firebase rules.

### Can I use Codex Security on a Lovable or Bolt app?

Yes, once the code is in a repository on your machine. The same goes for Caelo: export or sync the project, then run `npx caelo .` in the folder.

## Sources

- [Codex Security README (official OpenAI repository): features, requirements, sign-in, GitHub Actions example, providers](https://github.com/openai/codex-security)
- [Codex Security CLI reference: authentication, cost limits](https://github.com/openai/codex-security/blob/main/sdk/typescript/docs/cli.md)
- [Codex Security GitHub Action guide: pull request scans](https://github.com/openai/codex-security/blob/main/github-action/README.md)
- [@openai/codex-security on npm (version 0.11.0, Apache-2.0, checked 2026-11-27)](https://www.npmjs.com/package/@openai/codex-security)
- [Caelo source code and README (what it checks, limits, --json output)](https://github.com/arthi-arumugam-git/caelo)

## Other comparisons

- [Caelo vs gitleaks: which secret scanner for an AI-built app?](https://caelo.sh/compare/caelo-vs-gitleaks)
- [Caelo vs TruffleHog: which secret scanner for an AI-built app?](https://caelo.sh/compare/caelo-vs-trufflehog)
- [Caelo vs Semgrep: which free check for an AI-built app?](https://caelo.sh/compare/caelo-vs-semgrep)
- [Caelo vs Snyk Free: which free check for an AI-built app?](https://caelo.sh/compare/caelo-vs-snyk)
- [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 LeakyVibe: scan your live Lovable or Bolt app, or its code?](https://caelo.sh/compare/caelo-vs-leakyvibe)
- [Caelo vs Unspill: passive URL scan or local code check for an AI-built app?](https://caelo.sh/compare/caelo-vs-unspill)
- [Caelo vs ShipReady MCP: which local security MCP server for an AI-built app?](https://caelo.sh/compare/caelo-vs-shipready)
- [Caelo: information for AI assistants](https://caelo.sh/ai-info)
