CybeDefend
One command in your coding agent triggers a full security audit, with every flaw proven by an exploit test.
- Source repo
- CybeDefend/cybedefend
- Stars
- ★ 215
- Last updated
- today
- FARS reviewed
- Dec 01, 2026
- License
- AGPL-3.0
- Primary language
- TypeScript
- FA score
- 52/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformCodex · Claude CodeChatGPT · Claude.ai · OpenAI API · Claude API (Partial support)
- Cost
- Free, no paid service needed
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- A solo engineer using Claude Code or Codex who wants a go/no-go gate before each deploy without paying per seat.
- Not a fit if
- Teams that cannot run Docker locally
- Teams that want a hosted SaaS instead of self-hosting
- Teams that want scanner output without an AI coding agent
- Website
- cybedefend.com ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-12-01+22.3 ★/day over 7 days
- Source review
- 52/100 · Major gaps
What does this agent do, and when should you use it?
CybeDefend is an open source AppSec/ASPM platform positioned as a Snyk alternative. It ships as three parts: a skill for coding agents such as Claude Code, Codex and Cursor (type /cybedefend to start an audit); a self-hosted web dashboard with organizations, teams, roles, policies, findings and an MCP server; and a set of recommended Dockerized open source scanners (Opengrep, Trivy, Gitleaks, zizmor, Bandit, gosec, Brakeman, Checkov, poutine) that also accepts any SARIF 2.1.0 input. During a run the classic scanners execute, then your own coding agent acts as the AI scanner: it enumerates every entry point, writes down the guarantees the code must never break, and upgrades a lead to a finding only when a failing test in your repository's own test framework proves it. The agent then triages each scanner finding against your code, and YAML policies yield SHIP or NOT YET (a Block rule makes /cybedefend exit with code 1). The platform deploys with Docker Compose and PostgreSQL 18, includes a 21-tool MCP server and GitHub/GitLab/Jira/Linear/Slack integrations, and sends no telemetry with no seat limit.
After npx skills add CybeDefend/cybedefend -g, typing /cybedefend in a coding agent on the target repository bootstraps everything: the first run starts the dashboard via Docker Compose on the first free port from 8080 (bound to 127.0.0.1), creates the first administrator and a personal access token in ~/.cybedefend/appsec/credentials.json (mode 600), creates the repository's project with a default policy (critical/high block, any secret blocks, medium warns), and wires the MCP server into Claude Code. The audit then runs in five steps: (1) open source scanners selected by the repository's stack cover code, dependencies with SBOM, secrets, IaC, CI/CD and containers; (2) the AI scanner lists every entry point (routes, message consumers, scheduled jobs, webhooks) with who may call it and the enforcing check, states the code's guarantees in plain sentences, hunts business logic, access rights, tenants, identity and races, and only promotes a lead to a finding when a test in your own suite fails for the claimed reason—everything else becomes a non-blocking note; (3) triage judges each scanner finding against the code; (4) the dashboard applies policies for SHIP or NOT YET; (5) a report lists what blocks and the fix for each. Subcommands include deep (verdict per function), fix, audit (plus two independent reviewing agents), scan, triage, live (replays proven flaws locally with throwaway data), import <file>, report, open, replay, setup, and /cybedefend-setup for servers, HTTPS or Kubernetes-cluster scans. In CI, the CybeDefend/cybedefend-scanners GitHub Actions or GitLab CI templates run scanners per PR, or docker run --upload posts results, or curl sends SARIF to /api/project/<projectId>/scan/import/start.
- A solo engineer using Claude Code or Codex who wants a go/no-go gate before each deploy without paying per seat.
- A small security team that needs organizations, teams, roles and YAML block/warn policies but must self-host for data residency.
- An organization already running Semgrep, CodeQL or Grype that wants one dashboard by importing their SARIF 2.1.0 output.
- A compliance owner who needs per-finding dates, severities and status history plus OWASP Top 10 / CWE Top 25 PDF reports for SOC 2 or ISO 27001 evidence.
- A team that wants its coding agent to query security data through the 21-tool MCP server.
- A platform team scanning every pull request through the GitHub Actions / GitLab CI templates or a plain
docker runupload.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
npx skills add CybeDefend/cybedefend -gdocker compose up -d
- Ports
8080- Environment variables
CYBEDEFEND_SETUP_TOKENCYBEDEFEND_PUBLIC_URLCYBEDEFEND_API_URLCYBEDEFEND_PROJECT_IDCYBEDEFEND_TOKEN- Config files
.env.example.env- Install notes cover
- Docker
How do you install or deploy this agent?
The quickest path needs Node.js (for npx) and a running Docker engine (Compose 2.24.4 or later, about 4 GB of memory), plus git:
npx skills add CybeDefend/cybedefend -gThen open a coding agent in the repository you want to audit and type /cybedefend; the first run provisions the dashboard and credentials automatically, with no token to copy.
To deploy the platform by hand instead:
git clone https://github.com/CybeDefend/cybedefend && cd cybedefend/deploy/community
# The master key: at least 32 random bytes, in a file readable by you alone.
(umask 077 && openssl rand -base64 32 > secret-key)
cp .env.example .env
# In .env, set the two required values:
# CYBEDEFEND_SETUP_TOKEN a long random string, for example: openssl rand -hex 32
# CYBEDEFEND_PUBLIC_URL the address users open, http://localhost:8080 by default
docker compose up -dOpen the dashboard at CYBEDEFEND_PUBLIC_URL and enter CYBEDEFEND_SETUP_TOKEN to create the first administrator. Back up the master key (secret-key) and never change it: it encrypts integration credentials, secret findings and sign-in keys. If the published images cannot be pulled, the first run builds them from source instead (15 to 30 minutes once). For a server, HTTPS or Kubernetes cluster, use /cybedefend-setup.
How do you use this agent?
In the repository you want to audit, open your coding agent and run:
/cybedefendThe agent runs the scanners, applies the AI scanner, triages the results, and answers SHIP or NOT YET. For a release-grade audit with a verdict on every function:
/cybedefend deepTo fix what blocks, with each fix proven by a test:
/cybedefend fixTo import another tool's SARIF output:
/cybedefend import results.sarifFrom any CI, post directly to the import route:
curl -H "Authorization: Bearer cdp_…" \
-F [email protected] -F type=sast -F branch=main \
"$CYBEDEFEND_PUBLIC_URL/api/project/<projectId>/scan/import/start"type is one of sast, iac, secret, cicd, sca, container. In GitHub Actions:
- uses: CybeDefend/[email protected]
with:
scanner: opengrep
api-url: ${{ vars.CYBEDEFEND_API_URL }}
project-id: ${{ vars.CYBEDEFEND_PROJECT_ID }}
token: ${{ secrets.CYBEDEFEND_TOKEN }}Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
What are this agent's strengths and limitations?
- The AI scanner runs on your existing coding agent, so no extra model or API key is needed, and a flaw becomes a finding only when a real test in your own suite fails for the claimed reason.
- Fully self-hosted with Docker Compose and PostgreSQL 18, including org/team/role management, YAML policies and a 21-tool MCP server, with no seat limit, no scan quota and no telemetry.
- Scanner-agnostic through SARIF 2.1.0: beyond the recommended Open source images, any tool's output can be imported via
/cybedefend importor the import API. - Policy outcomes are CI-friendly: a Block rule makes
/cybedefendexit with code 1, and policies re-judge at the end of every scan and import with violations recorded. - Built-in audit evidence: per-finding status history plus OWASP Top 10 and CWE Top 25 reports in PDF, HTML or JSON.
- The first run downloads roughly 6 GB of images, and building them from source takes 15–30 minutes; Docker and about 4 GB of RAM are required on the machine.
- The AI scanner and triage depend on an already-installed coding agent; without one you are left with classic scanners and SARIF import only.
- AGPL-3.0 including the section 13 network clause: modified instances offered over a network must expose their modified source, which complicates closed-source redistribution.
- The detailed self-hosting guide lives in deploy/community/README.md, and the smooth path relies on the skill's automatic bootstrap; manual setup takes more steps.
How does this agent compare with similar options?
The README explicitly positions CybeDefend as an open source alternative to Snyk and pitches against paid ASPM conventions (seat limits, scan quotas, telemetry). It also names the tools users may already run — Semgrep, CodeQL, SonarQube, Snyk Code, Grype, osv-scanner, TruffleHog — and folds their SARIF output into one dashboard rather than requiring replacement. Against pure scanning engines, the differentiators are the coding-agent-driven AI pass and triage, policy-based SHIP/NOT YET verdicts, and the self-hosted management console.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| CybeDefend This agent | 52 · Major gaps | Agent plugin / skillFree | ★ 215 | today | TypeScript | Codex · Claude Code |
| Mantishack (Mantis AI) | 57 · Major gaps | CLIFree + model costs | ★ 507 | 4mo ago | Rust | Codex |
| DeepSec | 45 · Major gaps | CLIFree + model costs | ★ 410 | 3mo ago | Python | OpenAI API · Claude API |
| DashClaw | 74 · Some gaps | CLIFree | ★ 318 | 5d ago | TypeScript | Codex · Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
Trust: SKILL.md explicitly forbids printing secrets, requires 600-mode credential files, forbids overwriting existing secret-key/.env; the setup skill requires naming the kubectl context and re-confirming before applying to a non-local cluster; README claims no telemetry, no requests to deployed systems or third parties, no real credentials. These earn credit. Deductions are concrete: the main skill's first run starts a Docker stack, creates an admin and token, and wires the MCP server while 'asking nothing' — an unconfirmed external effect; README and setup skill disagree on whether confirmation happens; no rollback/uninstall path appears in the sample; dependency security is evidenced only by a braces patch test and SHA-pinned CI actions, with no full dependency audit or SBOM policy; source attribution exists (LICENSE, THIRD_PARTY_NOTICES, TRADEMARKS, trademark disclaimer) but publisher identity is unverified.
Reliability: CI covers 9 services and 2 libraries, actions pinned to commit SHAs, permissions minimized to contents: read, and the CLA workflow explicitly avoids checking out PR code — good engineering discipline. Deductions: README claims 'no API key, no extra model' yet depends on the user's own coding agent and ~6GB Docker images; dependency availability falls back only to a 15–30 minute source build when images cannot be pulled, which is thin; failure messages in the sample are limited to an ErrorLoggingInterceptor and a silent catch around startup cleanup, with no user-facing error taxonomy; skill text shows awareness of shell failure modes (zsh echo ======) but this is not systematized.
Adaptability: README ships multiple languages, supports Claude Code/Codex/Cursor and any skill-reading agent, integrates with GitHub Actions, GitLab CI, docker run, SARIF import, Kubernetes cluster scanning and self-hosting — broad scenario coverage. Capability boundaries are reasonably clear: the skill separates answering a safety question from running the full audit, and states the AI scanner only reads code and never touches deployed systems. Deductions: environment requirements are heavy (Docker Compose 2.24.4+, 4GB RAM, Node 24, PostgreSQL 18), unfriendly to lightweight users; trigger precision relies on /cybedefend but the description also covers natural-language triggers like 'can I ship this', which may blur into ordinary Q&A.
Convention: LICENSE is the full AGPL-3.0 text, package.json declares AGPL-3.0-only, README explains the section 13 network clause — full marks for license. Information architecture is clear (quick start, how it works, platform, integrations, commands, scanners, audit compliance, docs, team, contributing, license). Install notes are detailed, including manual install and secret-key generation. Deductions: known_limitations are scattered (slow first image pull, source-build time) with no consolidated limitations section; versioning_changelog shows only package.json 1.0.3 and a README badge, no CHANGELOG file; maintenance_responsibility has SECURITY.md's 3-working-day acknowledgement and 90-day disclosure, but the publisher is unverified and SECURITY.md states fixes ship to the cloud first and to the repository on disclosure day, leaving self-hosters behind — an unfavorable responsibility boundary.
Effectiveness: output is a three-state verdict (SHIP / SHIP, N to fix / NOT YET) with blocking items and fixes, and each flaw must be proven as a test — good output usability. Marginal value comes from combining open-source scanners with agent-driven logic-flaw hunting under team policies, an increment over plain SAST. Deductions: cost_benefit is heavy — ~6GB image pull, 4GB RAM, 15–30 minute source-build fallback, and AI scanning runs on the user's agent with unquantified token and time cost; README leans on marketing claims ('every flaw proven by an exploit', 'a full audit in one command') without reproducible benchmark data.
Verifiability: claim_traceability is weak — README asserts 'a finding is a fact, not a guess' and 'the AI scanner sends no request', but the sample contains no implementing code or test for these; the braces patch test is one of the few traceable concrete claims. Cross_source_corroboration: README, SKILL.md and CI are broadly consistent (service list, scanners, commands), but 'asks nothing' conflicts with the setup skill's 'confirm once', and SECURITY.md's cloud-first fix policy must be cross-read to be understood. fact_inference_separation is insufficient: README mixes product capability with marketing copy without distinguishing verified fact from design intent; no benchmarks, comparisons or third-party evaluation appear in the sample.
- The first /cybedefend run starts a Docker stack, creates an admin and access token, and wires the MCP server without confirmation; read SKILL.md and the setup skill's differences before running on a shared or production machine.
- SECURITY.md states security fixes ship to CybeDefend Cloud first and reach this repository on disclosure day; self-hosters can lag behind known-vulnerability fixes.
- Publisher identity is unverified, and README carries heavy marketing claims ('every flaw proven by an exploit', 'a full audit in one command') without reproducible benchmarks or third-party evaluation in the sample.
- Environment requirements are heavy: Docker Compose 2.24.4+, ~4GB RAM, Node 24, PostgreSQL 18; first image pull is ~6GB, and the source-build fallback takes 15–30 minutes.
- No uninstall/rollback procedure and no full dependency audit or SBOM policy appear in the sample; dependency-security evidence rests mainly on one braces patch test and SHA-pinned CI actions.
FAQ
Do I need to pay for an LLM API on top of the free software?
Does the audit modify my application code or touch deployed systems?
live subcommand only replays proven flaws locally with throwaway data.What happens when a policy blocks or a run fails?
/cybedefend exit with code 1, which stops CI; Warn rules only record the violation. Policies are YAML and match on severity, CVSS, CWE, OWASP category, scanner type, age or branch across organizations, teams or projects.What if I lose the master key?
secret-key file encrypts integration credentials, secret findings and sign-in keys, so it must be backed up and never changed; losing it leaves that encrypted data unrecoverable.Can I use only the dashboard without a coding agent?
--upload or post SARIF to the import API. However, the AI scanner, triage and SHIP/NOT YET verdict depend on the coding agent running the skill.Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.