cycode
Boost security in your dev lifecycle via SAST, SCA, Secrets & IaC scanning.
What it is and what it does
Cycode is a production-grade CLI tool for scanning code repositories across four security domains: secret detection, infrastructure-as-code validation, software composition analysis (SCA), and static application security testing (SAST). It integrates into local development workflows via command-line invocation, pre-commit hooks, or CI/CD pipelines, and supports authentication through browser-based login, manual credential configuration, or environment variables.
The tool scans repositories, individual paths, commit history, and Terraform plans, then reports findings with configurable severity thresholds and remediation guidance. It allows fine-grained result filtering—ignoring specific secrets by value or hash, paths, rules, or packages—and can generate SBOM reports. An experimental MCP (Model Context Protocol) server mode and beta platform command extend its capabilities for integration with AI tools and centralized policy management.
Use it for:
- Scan a Git repository before pushing to detect leaked credentials, API keys, or tokens in commit history.
- Validate Terraform or CloudFormation configurations for security misconfigurations in infrastructure-as-code files.
- Identify vulnerable dependencies in package manifests (requirements.txt, package.json, etc.) as part of SCA.
- Integrate into pre-commit hooks to block commits containing secrets or policy violations before they reach the repository.
- Generate software bill-of-materials (SBOM) reports for compliance and supply-chain security audits.
- Run static analysis on source code to flag common security anti-patterns and coding issues.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Cycode is a command-line security scanner that detects secrets, infrastructure-as-code misconfigurations, software composition vulnerabilities, and static analysis issues in your repositories.
Yes. Cycode is actively maintained, has no known vulnerabilities, low install friction, and a permissive MIT license. It is production-stable (Development Status 5) and supports current Python versions (3.9–3.14). Install it if you need a unified CLI for secrets, IaC, SCA, and SAST scanning; authentication setup is required before first use.
Install
cycode on PyPI
pip
pip install cycodeuv
uv add cycodepoetry
poetry add cycodeInstalling cycode
Before you install
Low install friction with a pure Python wheel distribution. The package is actively maintained with a recent release (1 day old) and 99 repository stars. It has 19 runtime dependencies including common libraries like click, pydantic, and requests, all of which are well-established.
License in practice
MIT license permits commercial and private use with minimal restrictions—you can use, modify, and distribute the package freely as long as you include the license notice.
Quickstart
pip install cycode
cycode auth
cycode scan --repository .
Requires Python 3.9 or later; the MCP command requires Python 3.10 or above. Authentication via Cycode credentials (Client ID and Secret, or OIDC token) is required before scanning.
Verify before relying
- Whether the 19 runtime dependencies introduce any transitive vulnerabilities or compatibility issues beyond what OSV reports.
- Performance characteristics and scan time for large repositories or monorepos.
- Whether pre-commit hook integration works reliably across different Git configurations.
- Accuracy and false-positive rates for each scan type (secrets, IaC, SCA, SAST).
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 19 — anyio, arrow, click, colorama, gitpython, marshmallow, mcp, patch-ng, pathvalidate, pydantic, pyjwt, pyyaml, requests, rich, tenacity, tomli, tomli-w, typer, urllib3 |
| Maintenance | actively maintained — 1 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 176,729/month — #10,235 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: cycode-3.19.1-py3-none-any.whl
Keywords: secret-scan, cycode, devops, token, secret, security, code
Tags
More Security packages
Provides Python bindings to the FreeDesktop.org…
permissive · top 1,000 on PyPI
msalMSAL for Python handles OAuth2 and OpenID…
permissive · top 1,000 on PyPI
joserfcjoserfc implements JOSE standards (JWS, JWE,…
permissive · top 1,000 on PyPI
AuthlibAuthlib provides a complete implementation of…
permissive · top 1,000 on PyPI
argon2-cffi-bindingsProvides low-level CFFI bindings to the…
permissive · top 1,000 on PyPI
adalADAL for Python authenticates applications with…
permissive · top 1,000 on PyPI
bc-detect-secretsDetects secrets (API keys, tokens, credentials)…
permissive · top 5,000 on PyPI
ggshieldggshield is a CLI tool that scans files,…
permissive · top 15,000 on PyPI
bridgecrewWraps checkov to provide infrastructure-as-code…
permissive · top 15,000 on PyPI
checkovCheckov is a static code analysis tool that…
permissive · top 5,000 on PyPI
detect-secretsDetects secrets (API keys, tokens, credentials)…
permissive · top 5,000 on PyPI
kingfisher-binKingfisher is a command-line secret scanner…
permissive · top 15,000 on PyPI
scanossScanoss provides a Python library and CLI tool…
permissive · top 15,000 on PyPI
trufflehog3Scans Git repositories and source code for…
unclear · top 15,000 on PyPI
skylosSkylos is a local-first static analysis CLI…
permissive · top 15,000 on PyPI
semgrepSemgrep is a static analysis tool that searches…
copyleft · top 1,000 on PyPI