head to head · open source
codex-security vs hol-guard
codex-security has 10,757 GitHub stars, 797 forks, 220 open issues and last shipped today. hol-guard has 624 stars, 69 forks, 94 open issues and last shipped today. codex-security leads on adoption by 1,624% (10,757 vs 624 stars). codex-security is written in TypeScript under Apache-2.0; hol-guard is written in Python under Apache-2.0. codex-security has attracted 7% as many forks as stars, hol-guard 11%. hol-guard 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, codex, 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 8884 open source comparisons
Side by side
| codex-security | hol-guard | |
|---|---|---|
| GitHub stars | ★ 11K | ★ 624 |
| License | Apache-2.0 | Apache-2.0 |
| Written in | TypeScript | Python |
| Last push | 2026-09-18 | 2026-09-18 |
| Forks | ⑂ 797 | ⑂ 69 |
| 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 hol-guard if
- You want the hol-guard feature set and don't need the biggest community
- You prefer the Apache-2.0 license terms
- Your stack matches Python
- You evaluated both and hol-guard 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 hol-guard
HOL Guard: Open Source Antivirus for AI Agents HOL Guard reviews agent actions before they run: shell commands, file access, package installs, and MCP tool calls. It detects secret exposure, destructive operations, prompt injection, and supply chain risks, then allows, blocks, or requests approval according to your policy. Run it locally without an account. Use the CLI and local dashboard to manage protection, resolve approvals, and inspect decision history. Optional Guard Cloud adds shared history, team policy, and fleet management. Get started · Supported agents · Plugin scanner · Documentation · Contribute an …
read the full hol-guard 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 hol-guard more popular?
codex-security has 10,757 GitHub stars and hol-guard has 624. codex-security has the larger community by that measure.
Are codex-security and hol-guard free?
Both are open source. codex-security is licensed under Apache-2.0 and hol-guard under Apache-2.0. Neither carries a licence fee.
What is the difference between codex-security and hol-guard?
codex-security is written in TypeScript and hol-guard 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 hol-guard?
Choose codex-security if you want the larger community (10,757 stars) or its Apache-2.0 licence terms. Choose hol-guard if its feature set, stack or Apache-2.0 licence fits better. Both are self-hostable.