head to head · open source

codex-security vs api-relay-audit

codex-security has 11,287 GitHub stars, 903 forks, 220 open issues and last shipped yesterday. api-relay-audit has 904 stars, 83 forks, 26 open issues and last shipped 7 days ago. codex-security leads on adoption by 1,149% (11,287 vs 904 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 8% as many forks as stars, api-relay-audit 9%. 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.

codex-security ★ 11K api-relay-audit ★ 904 category AI & Machine Learning

← all 20902 open source comparisons

Side by side

codex-security api-relay-audit
GitHub stars ★ 11K ★ 904
License Apache-2.0 AGPL-3.0
Written in TypeScript Python
Last push 2026-11-02 2026-10-27
Forks ⑂ 903 ⑂ 83
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

full codex-security profile →

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

full api-relay-audit profile →

About codex-security

Codex Security @openai/codex security is a CLI and TypeScript SDK for defining security policy and finding, validating, and fixing security vulnerabilities in your code. 👉👉 See the Codex Security documentation for full documentation. Some cybersecurity requests and protected findings require approval through Trusted Access for Cyber. To join the program, visit chatgpt.com/cyber. Quick start Requires Node.js 22.13.0 or later and Python 3.10 or later. For CI, set OPENAI API KEY instead of signing in. Generate SECURITY.md Draft repository wide or component scoped SECURITY.md guidance for future scans: The command…

read the full codex-security overview →

About api-relay-audit

API Relay Audit Local security audit for AI API relays and LLM proxies. DSH Plugin Your Agent Is Mine: what you can test locally Your Agent Is Mine documents malicious API relays injecting payloads and exfiltrating credentials. Anthropic's September 10, 2026 report describes fraudulent Claude resellers swapping models and harvesting credentials through their client tooling. In his September 11 disclosure, co author Chaofan Shou reports buying router data containing users' credentials. API Relay Audit is an independent, local security audit tool for AI API relays and LLM proxies, informed by the paper. The…

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 11,287 GitHub stars and api-relay-audit has 904. 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 (11,287 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.