@ottersight/cli
v0.1.13
Published
ottersight - local SCA scanner CLI
Readme
@ottersight/cli
Command-line interface for OtterSight — local dependency security scanning with SBOM generation, CVE detection, EUVD mapping, and CISA KEV enrichment.
Prerequisites
Syft and Grype must be on PATH:
# macOS
brew install anchore/grype/grype anchore/syft/syft
# Linux
curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin
curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | sh -s -- -b /usr/local/binInstallation
npm install -g @ottersight/cliOr run without installing:
npx @ottersight/cli scan .Usage
ottersight scan . # Scan current directory
ottersight scan /path/to/project # Scan a specific path
ottersight scan . --output report.md # Write Markdown report to file
ottersight scan . --quiet # Suppress spinners (CI-friendly)
ottersight --help
ottersight scan --helpOutput
Results grouped by severity (CRITICAL → HIGH → MEDIUM → LOW):
| Package | Version | CVE | Severity | EUVD-ID | KEV | Fix Available | |---------|---------|-----|----------|---------|-----|---------------|
A summary line is always printed. --output report.md writes Markdown without ANSI codes.
Exit Codes
| Code | Meaning | |------|---------| | 0 | Scan completed (vulnerabilities may be present) | | 1 | Scan failed (missing tools, invalid path, Syft/Grype error) |
Docker
Syft and Grype are bundled — no local install needed:
docker run --rm -v $(pwd):/repo ottersight/cli scan /repo
docker run --rm -v $(pwd):/repo ottersight/cli scan /repo --output /repo/report.mdOtterSight Cloud
OtterSight CLI is the free, open-source scanner. OtterSight Cloud adds automated scheduled scanning, a multi-repo dashboard, notifications, and EU compliance reporting (NIS2/CRA). currently being built — sign up early for a launch discount.
Library
For programmatic use, see @ottersight/scanner.
