RepositoryPython
secfoo-com

secfoo-com/secfoo

Security review, orchestrated by your coding agent. 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.

1.1ksao
498fork
21issue
2lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: appsec

#1 Repository của ngày

1
TINIX TRENDING·Chủ đề: appsec

#1 Repository của tuần

1
TINIX TRENDING·Chủ đề: devsecops

#1 Repository của tuần

secfoo

Turn any AI coding agent into a disciplined security reviewer.
Same standards, same report, every run.

PyPI PyPI downloads CI MIT license

secfoo local dashboard: program posture across applications, findings, and security activities

Website · Getting started · CLI · Docs

Point Claude Code, Cursor, Antigravity, Gemini CLI, or Codex at a target. Pick architecture review, threat modeling, SAST, and the rest of the catalog. Browse every result in a local dashboard — secfoo serve, on your machine.

pip install secfoo
secfoo run --skill sast --target https://github.com/org/repo --agent claude
secfoo serve

You need an agent CLI already installed and authenticated (--agent claude|agent|agy|gemini|codex), or an API key with the built-in api agent — see Install.

Repository targets

--target accepts local directories, GitHub URLs, GitLab (including nested namespaces), and Bitbucket Cloud repositories:

secfoo run --skill sast --target https://gitlab.com/group/subgroup/repo --agent claude
secfoo run --skill sast --target https://bitbucket.org/workspace/repo --agent claude

GitLab and Bitbucket support HTTPS and git@host:namespace/repo.git SSH URLs; .git is optional. SSH uses your existing SSH authentication. For self-hosted GitLab, set SECFOO_GITLAB_HOST to its hostname, optionally with an HTTPS port (e.g. git.example.org:8443), then pass that host's repository URL. The default gitlab.com remains supported. URL credentials, queries, fragments, HTTP, and ssh:// forms are rejected for these new targets.

For private HTTPS repositories, provide SECFOO_GITLAB_TOKEN (a GitLab token with repository read access) or SECFOO_BITBUCKET_TOKEN (a Bitbucket repository, project, or workspace access token with repository read permission) through your environment or CI secret store. Bitbucket user API tokens/app passwords are not supported by this token mode. Tokens are supplied to Git through a temporary askpass helper, never placed in clone arguments, repository URLs, reports, or Git config. Git errors omit raw server output to keep credentials out of logs. Authenticated HTTPS clones disable redirects to avoid forwarding credentials to another host. Without a token, Git uses your existing noninteractive authentication. Clones are shallow and removed after the run, including failures.

A 30-second look at the dashboard

30-second tour of the secfoo dashboard: posture, threat modeling, STRIDE coverage, architecture verdict, and SAST

Watch as MP4

Threat modeling program dashboard with coverage and STRIDE Security architecture design verdict and data-flow diagram

Screenshots are from a real local secfoo serve against public vulnerable-app targets.

What you get

  • A skill is a brief, not a parser. secfoo hands your coding agent a structured prompt and a target, then collects a report in a fixed shape.
  • One dashboard for the program. Coverage, dispositions, STRIDE, design verdicts, and findings across every project you have scanned.
  • Local first. Runs and secfoo serve stay on your machine. Optional secfoo cloud login syncs to an org portal that is not in this repo.
  • Concurrent by default. Several --skill flags run at the same time.
  • Portable findings. Export SAST, SCA, and secret-scanning findings as JSON Lines or SARIF 2.1.0 for GitHub code scanning and IDEs. See export examples.
  • CI-ready. --fail-on high, --max-cost 2.00, --json, and distinct exit codes for "the scan broke" vs "policy failed". Details in docs/REFERENCE.md.

Activity catalog

ActivitySkill ID
Security Architecture Reviewsecurity-architecture-review
Threat Modelingthreat-modeling
SAST — Static Code Analysissast
SCA — Reachability & Upgrade Triagesca-reachability
Secret Scanningsecret-scanning
Prompt Reviewprompt-review
Deployment Readinessdeployment-readiness
Responsible AI Complianceresponsible-ai-compliance

Run one, or several together. What each report actually contains is in docs/REFERENCE.md.

Install

pip install secfoo                    # PyPI, Python 3.10+
npm install -g @rakfortltd/secfoo     # npm, no Python needed
docker run --rm ghcr.io/rakfortltd/secfoo --help

No agent CLI? Use an API key:

pip install "secfoo[api]"
export OPENAI_API_KEY=...             # or ANTHROPIC_API_KEY / GEMINI_API_KEY
secfoo run --skill sast --agent api --target https://github.com/org/repo

Universal install scripts, standalone binaries, CI flags, spend tracking, and configuration live in docs/REFERENCE.md. Developing this repo: pip install -e ".[dev]".

Learn more

Contributing

PRs welcome — see CONTRIBUTING.md and CODE_OF_CONDUCT.md. Security issues go through SECURITY.md, not a public issue.

Choose a model for one assessment with secfoo run --skill sast --agent claude --model <model-id>, or set a per-agent default in configuration.

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryPython
Graphify-Labs/graphify

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.

156.2k
Dec 2, 2026
RepositoryPython
asgeirtj/system_prompts_leaks

Leaked system prompts of ChatGPT, Claude, Gemini and more. The hidden system prompt of every popular chatbot, in full, every version since May 2025. Also Anthropic Claude Code, OpenAI Codex, Google Antigravity, xAI Grok, Meta Muse, Moonshot Kimi, Alibaba Qwen, Z.ai GLM ZCode, MiniMax, Cursor, Perplexity, DeepSeek and 30+ others. Updated daily.

73.9k
Nov 29, 2026
RepositoryPython
Pantheon-Security/medusa

AI-first security scanner. NEW in v2026.7: Claude Code compromise detection — vet .claude/ hooks, permissions & skills before you clone — plus an always-on AI attack-signature scanner and native Rust & PHP rules. Also: medusa scan --git to vet any repo, medusa secrets scan for leaked API keys. 40,000+ patterns, zero setup.

1.0k
Aug 10, 2026
RepositoryPython
NousResearch/hermes-agent

The agent that grows with you

267.7k
Dec 2, 2026
RepositoryGo
router-for-me/CLIProxyAPI

Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build, Muse Code, Devin as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini Series, GPT Series, Grok Series, Claude model through API

59.7k
Nov 29, 2026
RepositoryGo
Bearer/bearer

Code security scanning tool (SAST) to discover, filter and prioritize security and privacy risks.

2.8k
Nov 23, 2026
RepositoryRust
farion1231/cc-switch

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode,DeepSeek Harness and more. Only official website: ccswitch.io

158.7k
Dec 2, 2026
RepositoryTypeScript
stablyai/orca

Orca lets you run a fleet of bots with your own subscription (e.g. Claude Code, Grok, Agy, Codex). Available on desktop, mobile and remote runtime.

151.2k
Dec 2, 2026
RepositoryJavaScript
Leonxlnx/taste-skill

Agent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages

124.6k
Nov 26, 2026