Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Cycode CLI

$ cycode Official Med Risk
Cycode · Security & Secrets · MIT · macos / linux / windows

Cycode CLI is the MIT-licensed command-line client for Cycode's application security platform, unifying secrets, IaC, SCA, and SAST scans (-t secret|iac|sca|sast). It emits structured JSON via -o json and supports headless CI authentication via CYCODE_CLIENT_ID and CYCODE_CLIENT_SECRET alongside interactive cycode auth.

FCRS-1.0 Score
83 /100
Good
Medium Confidence
Zero-Friction Install
brew install cycode
CLI vs MCP Decision Hybrid (CLI + MCP)

cycode scan -o json runs local pre-commit/CI scans cleanly via CLI, while Cycode's native MCP integration fits platform-wide alert triage.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
— Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 20 / 25

Supports -o json structured output and env-var service authentication, though interactive cycode auth uses browser login and scans depend on Cycode backend connectivity.

  • -o json output with summary and detections fields
  • Requires Cycode backend auth (cycode auth or env client creds)
Trust & Safety 20 / 25

Hides secret values unless --show-secret is explicitly passed and performs read-only workspace scanning, though findings/metadata sync with the Cycode platform.

  • Secrets masked by default; read-only local files
Setup & Portability 14 / 15

Available via brew install cycode, pip install cycode, and standalone binaries across macOS, Linux, and Windows.

  • Homebrew, PyPI, and release binaries
Utility & Efficiency 12 / 15

Consolidates four scanner types (secret, iac, sca, sast) under one CLI interface.

  • Multi-engine -t scan selector
Maintenance & Lineage 9 / 10

Actively maintained official Cycode CLI with frequent releases.

  • Official cycodehq/cycode-cli repository
Docs & Verifiability 8 / 10

Detailed README and PyPI docs covering auth, proxy/CA settings, and scan subcommands.

  • Official docs on github.com/cycodehq/cycode-cli

Security, Auth & Guardrails

Auth Modes
Env API Key OAuth Browser Config File
Credential Storage

Stores auth tokens in ~/.cycode/config.yaml via cycode auth, or reads CYCODE_CLIENT_ID / CYCODE_CLIENT_SECRET env vars.

Side Effects
Read-Only Remote Write
Cost & Quotas

MIT open-source CLI; requires a Cycode platform account and API credentials for cloud-backed scans.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Cycode CLI Agent Rules
- Never pass `--show-secret` so detected secrets stay masked in `-o json` outputs.
- Configure `CYCODE_CLIENT_ID` and `CYCODE_CLIENT_SECRET` for headless runs instead of interactive `cycode auth`.

Agent-Ready Command Recipes

Safe Read-Only Queries

Scan a local directory for secrets as JSON
cycode -o json scan -t secret path .

Runs a secrets scan on . and returns a structured JSON summary and detections array without revealing raw secrets by default.

Run IaC security scan on Terraform or Kubernetes manifests
cycode -o json scan -t iac path infra/

Evaluates IaC files in infra/ against Cycode policies and outputs JSON detections.

Strengths for Agents

  • + Masks detected secrets by default unless --show-secret is passed.
  • + Single -o json output schema across secret, iac, sca, and sast scans.

Caveats & Pitfalls

  • ! Requires Cycode account credentials (cycode auth or CYCODE_CLIENT_ID/CYCODE_CLIENT_SECRET); not a standalone offline scanner.
  • ! Interactive cycode auth opens a browser window.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI