secfoo
AI security review CLI: SAST, secret scanning, SCA, threat modeling and architecture review with Claude Code, Copilot, Codex, Gemini, Cursor or an API key. Read
What is secfoo?
AI security review CLI: SAST, secret scanning, SCA, threat modeling and architecture review with Claude Code, Copilot, Codex, Gemini, Cursor or an API key. Reads your design docs, Confluence and Jira through MCP. SARIF output for CI.
Overview of secfoo
What it is
secfoo is an open-source CLI tool that performs AI-driven security reviews. It uses existing coding agents (Claude Code, Copilot, Codex, Gemini CLI, Cursor, and others) or an API key to run SAST, secret scanning, SCA, threat modeling, and architecture review. It can read design documents, Confluence pages, and Jira tickets via MCP servers and outputs findings in SARIF format for CI integration.
Key features
- Supports multiple security activities: SAST, secret scanning, SCA with reachability triage, threat modeling, security architecture review, prompt review, deployment readiness, responsible AI compliance, and third-party risk assessment.
- Context-aware reviews: connects to Confluence, Jira, SharePoint, Notion, Google Drive, and internal wikis through MCP servers; the report indicates which documentation sources were reached.
- Local-first operation: runs and the dashboard (
secfoo serve) stay on the user's machine; optional cloud sync is available. - Concurrent skill execution: multiple
--skillflags run simultaneously. - Portable findings: exports SAST, SCA, and secret-scanning results as JSON Lines or SARIF 2.1.0 for GitHub code scanning and IDEs.
- CI-ready: supports
--fail-on high,--max-cost 2.00,--json, and distinct exit codes for scan failures vs. policy failures. - Supports multiple repository targets: local directories, GitHub URLs, GitLab (including nested namespaces), and Bitbucket Cloud repositories.
Use cases
Security teams can use secfoo to automate security reviews of code repositories, integrating design documents and issue trackers for context. Developers can run quick SAST or secret scans on their own projects before committing. Organizations can embed secfoo into CI pipelines to enforce security policies with SARIF output.
Getting started
bashuvx secfoo run --skill sast --skill secret-scanning --target https://github.com/OWASP/NodeGoatFor installation without uv: pipx install secfoo, pip install secfoo, npm install -g @rakfortltd/secfoo, or docker run --rm ghcr.io/rakfortltd/secfoo --help. If no agent CLI is available, set OPENAI_API_KEY, ANTHROPIC_API_KEY, or GEMINI_API_KEY and secfoo will use the built-in api agent.
License and pricing
MIT license. The project is open source.
Based on the project's public README and repository metadata.