Codex SecurityCLI and SDK for AI-assisted vulnerability scanning
GitleaksCommand-line secret scanner for git repos and files
Codex Security vs Gitleaks
How Codex Security and Gitleaks compare on popularity, activity, license and platforms: two open-source Application Security projects, both alternatives to GitHub Advanced Security.
At a glance
- Gitleaks has more GitHub stars (31.5k vs 14.6k, about 2× as many).
- Codex Security was updated more recently (last commit today, Gitleaks 1 month ago).
- Codex Security uses Apache-2.0; Gitleaks uses MIT (both permissive).
- Gitleaks is the older project (repository started 2018; Codex Security in 2026).
Side by side
| Codex Security | Gitleaks | |
|---|---|---|
| GitHub stars | ★ 14,567 +137 in 7 days | ★ 31,541 +202 in 9 days |
| Forks | 1,169 | 2,439 |
| Last commit | today | 1 month ago |
| Latest version | npm-v0.12.1 | v8.30.1 |
| Repository started | July 2026 | January 2018 |
| License | Apache-2.0 · permissive | MIT · permissive |
| Self-hosted | Desktop/CLI app | Desktop/CLI app |
| Platforms | CLI | macOS, Docker, CLI |
| Main language | TypeScript | Go |
| Alternative to | GitHub Advanced Security | GitHub Advanced Security |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 4 December 2026.
Codex Security
Codex Security scans repositories for vulnerabilities, validates findings, drafts patches, and exports reports. Use the CLI, TypeScript SDK, Codex plugin, or GitHub Action.
Key features
- Repository and diff scoped scans
- Finding validation and patch generation
- SECURITY.md and threat model drafting
- TypeScript SDK for automation
- GitHub Actions workflow templates
- SARIF and CSV export
Gitleaks
Gitleaks finds passwords, API keys, and tokens in git history, directories, files, or stdin. It uses configurable regex rules and fits into local workflows and CI.
Key features
- Git, directory, and stdin scan modes
- Customizable TOML secret detection rules
- JSON, CSV, JUnit, and SARIF reporting
- Baseline reports for legacy noise
- Encoded text and nested archive scanning
- Composite multi-rule proximity matching