OpenSSF Scorecard
$ scorecard Foundation Low RiskOpenSSF Scorecard (scorecard) evaluates open-source and internal repositories against automated supply-chain security checks including branch protection, pinned dependencies, and CI token permissions. Supports --format=json, --format=sarif, and --local directory scanning for deterministic agent audits.
brew install scorecard scorecard runs full supply-chain heuristics and outputs compact --format=json or --format=sarif payloads directly without MCP schema overhead.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports --format=json, --format=sarif, --checks filtering, and non-interactive execution with predictable exit codes.
- Native
--format=jsonand--checkssub-selection - Fully headless execution via
GITHUB_AUTH_TOKENor--local
Strictly read-only posture; --local operates offline and remote scans only require read-only GitHub token scopes.
- Zero repository or local filesystem mutations
- Supports offline
--localinspection
Distributed as a single Go binary via brew, go install, Docker, and GitHub releases across major OSes.
- Single static Go binary with zero runtime dependencies
Consolidates 18+ supply-chain security heuristics into one command, eliminating custom GitHub API scripts.
- Automated checks for pinning, branch protection, and workflows
OpenSSF foundation project (ossf/scorecard) under Apache-2.0 with regular releases.
- Maintained under OpenSSF governance
Well-documented check definitions and clear --help flags.
- Detailed check docs in
ossf/scorecardrepository
Security, Auth & Guardrails
Reads GITHUB_AUTH_TOKEN from the environment for remote GitHub API checks; --local scans run offline without credentials.
Apache-2.0 open-source CLI; remote GitHub checks count against GITHUB_AUTH_TOKEN API rate limits.
# OpenSSF Scorecard (scorecard) Agent Rules - Always pass `--format=json` (or `--format=sarif`) and filter with `--checks` when auditing targeted controls. - Set `GITHUB_AUTH_TOKEN` with read-only public/repo scope for remote `--repo` scans.
Agent-Ready Command Recipes
Safe Read-Only Queries
scorecard --repo=github.com/owner/repo --format=json --show-details
Evaluates all checks on github.com/owner/repo and prints structured JSON with --show-details remediation context.
scorecard --local=. --checks=Pinned-Dependencies,CI-Tests --format=json
Runs offline --local=. analysis limited via --checks to minimize runtime and output size.
Strengths for Agents
- + Structured
--format=jsonand--format=sarifoutputs integrate cleanly into agent triage loops. - + Offline
--localmode plus--checksfiltering keeps local audits fast and self-contained.
Caveats & Pitfalls
- ! Remote
--repoevaluation fails or throttles quickly unlessGITHUB_AUTH_TOKENis exported.