head to head · open source
codex-security vs api-relay-audit
codex-security has 10,750 GitHub stars, 797 forks, 220 open issues and last shipped yesterday. api-relay-audit has 839 stars, 80 forks, 26 open issues and last shipped 2 days ago. codex-security leads on adoption by 1,181% (10,750 vs 839 stars). codex-security is written in TypeScript under Apache-2.0; api-relay-audit is written in Python under AGPL-3.0. codex-security has attracted 7% as many forks as stars, api-relay-audit 10%. codex-security was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 1 topic tag (ai-security), so they are genuine substitutes rather than adjacent tools.
Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.
← all 8884 open source comparisons
Side by side
| codex-security | api-relay-audit | |
|---|---|---|
| GitHub stars | ★ 11K | ★ 839 |
| License | Apache-2.0 | AGPL-3.0 |
| Written in | TypeScript | Python |
| Last push | 2026-09-17 | 2026-09-16 |
| Forks | ⑂ 797 | ⑂ 80 |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick codex-security if
- You weight community size — 11K stars and counting
- You want the Apache-2.0 license terms
- Your stack matches TypeScript
- You value the larger contributor base for long-term maintenance
pick api-relay-audit if
- You want the api-relay-audit feature set and don't need the biggest community
- You prefer the AGPL-3.0 license terms
- Your stack matches Python
- You evaluated both and api-relay-audit fits your workflow better
About codex-security
Codex Security is OpenAI's command line tool and TypeScript SDK, published on npm as @openai/codex security , that finds, validates, and fixes security vulnerabilities in a codebase, and it serves application security engineers, DevSecOps teams, and developers who want that scanning to run from their own terminal or CI.
read the full codex-security overview →
About api-relay-audit
API Relay Audit is an independent, local security audit tool for AI API relays, mirrors, gateways, and LLM proxies. It is written in Python, released under the AGPL 3.0 license, and lives in the AI security and privacy ecosystem alongside the OpenAI compatible and Anthropic compatible proxy tooling it is designed to examine. The project is informed by the paper Your Agent Is Mine , Anthropic's September 10, 2026 threat intelligence report on fraudulent Claude resellers, and a September 11 disclosure by co author Chaofan Shou regarding router data containing user credentials. It ships both as a standalone script a…
read the full api-relay-audit overview →
More in AI & Machine Learning
Related comparisons
More AI Security & Privacy projects
Compare either of these against the rest of the AI Security & Privacy field.
Frequently asked questions
Is codex-security or api-relay-audit more popular?
codex-security has 10,750 GitHub stars and api-relay-audit has 839. codex-security has the larger community by that measure.
Are codex-security and api-relay-audit free?
Both are open source. codex-security is licensed under Apache-2.0 and api-relay-audit under AGPL-3.0. Neither carries a licence fee.
What is the difference between codex-security and api-relay-audit?
codex-security is written in TypeScript and api-relay-audit in Python. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.
Which should I choose, codex-security or api-relay-audit?
Choose codex-security if you want the larger community (10,750 stars) or its Apache-2.0 licence terms. Choose api-relay-audit if its feature set, stack or AGPL-3.0 licence fits better. Both are self-hostable.