First Scan
Basic Scanning
Scan with remote rulesets (recommended — curated and maintained by SCANOSS):Common Use Cases
CI/CD Integration:Configuration
Crypto Finder can be configured via command-line flags, environment variables, or configuration files.scanoss.json:
Command Line Arguments
--rules <file>— Custom rule file path (repeatable; use alongside--rules-dir)--rules-dir <dir>— Directory containing custom rule files (repeatable)--no-remote-rules— Disable fetching of remote rulesets--no-cache— Force a fresh download of remote rulesets, bypassing the local cache--strict— Disable stale cache fallback; fail if remote rulesets cannot be fetched--scanner <name>— Scanner to use:opengrep(recommended) orsemgrep--format <format>— Output format:json(default) orcyclonedx--output <file>— Output file path (default: stdout)--languages <langs>— Override automatic language detection (comma-separated list)--fail-on-findings— Exit with a non-zero code if any findings are detected--timeout <duration>— Scan timeout duration (default:10m)--verbose,-v— Enable verbose logging--help— Display help information
crypto-finder --help.
Advanced Topics
Features
- Multi-Scanner Support — Supports OpenGrep (recommended) and Semgrep as configurable scan engines; Semgrep includes advanced taint analysis (inter-procedural data-flow tracking).
- Remote Rulesets — Automatically fetches and caches SCANOSS-maintained rulesets from the SCANOSS API; the local cache is used as a fallback if the remote is unavailable.
- Flexible Configuration — Combine remote rulesets with local custom rules;
configure via CLI flags, environment variables, or a
scanoss.jsonconfiguration file. - Multiple Output Formats — Supports JSON and CycloneDX 1.6 CBOM output formats.
- CI/CD Integration — Official Docker images available for use with GitHub Actions, GitLab CI, Jenkins, and other CI/CD platforms.
- TTL-Based Caching — Remote rulesets are cached with a configurable
time-to-live (TTL); expired cache entries are used as a fallback when the
remote is unavailable (disable with
--strict).