head to head · open source
codex-security vs pentest-ai
codex-security has 11,287 GitHub stars, 903 forks, 220 open issues and last shipped yesterday. pentest-ai has 1,793 stars, 328 forks, 2 open issues and last shipped yesterday. codex-security leads on adoption by 530% (11,287 vs 1,793 stars). codex-security is written in TypeScript under Apache-2.0; pentest-ai is written in Python under MIT. codex-security has attracted 8% as many forks as stars, pentest-ai 18%. codex-security was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 3 topic tags (ai-security, cybersecurity, devsecops), 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 20902 open source comparisons
Side by side
| codex-security | pentest-ai | |
|---|---|---|
| GitHub stars | ★ 11K | ★ 1.8K |
| License | Apache-2.0 | MIT |
| Written in | TypeScript | Python |
| Last push | 2026-11-02 | 2026-11-02 |
| Forks | ⑂ 903 | ⑂ 328 |
| 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 pentest-ai if
- You want the pentest-ai feature set and don't need the biggest community
- You prefer the MIT license terms
- Your stack matches Python
- You evaluated both and pentest-ai fits your workflow better
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 pentest-ai
Website · Quick start · Verification · Documentation · Issues Pentest AI connects an AI client or model to a penetration testing workflow. It investigates applications, records findings, and uses machine oracles to check whether an exploit can be reproduced . Verified findings carry evidence you can replay. Use it through MCP , from the CLI , or in CI . The model helps drive the investigation; an oracle determines whether a finding earns a verified verdict. Test only systems you own or have explicit authorization to assess. Read the acceptable use policy and terms before running an engagement. Quick start…
read the full pentest-ai 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 pentest-ai more popular?
codex-security has 11,287 GitHub stars and pentest-ai has 1,793. codex-security has the larger community by that measure.
Are codex-security and pentest-ai free?
Both are open source. codex-security is licensed under Apache-2.0 and pentest-ai under MIT. Neither carries a licence fee.
What is the difference between codex-security and pentest-ai?
codex-security is written in TypeScript and pentest-ai 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 pentest-ai?
Choose codex-security if you want the larger community (11,287 stars) or its Apache-2.0 licence terms. Choose pentest-ai if its feature set, stack or MIT licence fits better. Both are self-hostable.