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

OpenSSF Scorecard

$ scorecard Foundation Low Risk
OpenSSF · Security & Secrets · Apache-2.0 · macos / linux / windows

OpenSSF 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.

FCRS-1.0 Score
89 /100
Good
Medium Confidence
Zero-Friction Install
brew install scorecard
CLI vs MCP Decision CLI Preferred vs MCP

scorecard runs full supply-chain heuristics and outputs compact --format=json or --format=sarif payloads directly without MCP schema overhead.

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 22 / 25

Supports --format=json, --format=sarif, --checks filtering, and non-interactive execution with predictable exit codes.

  • Native --format=json and --checks sub-selection
  • Fully headless execution via GITHUB_AUTH_TOKEN or --local
Trust & Safety 23 / 25

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 --local inspection
Setup & Portability 14 / 15

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
Utility & Efficiency 13 / 15

Consolidates 18+ supply-chain security heuristics into one command, eliminating custom GitHub API scripts.

  • Automated checks for pinning, branch protection, and workflows
Maintenance & Lineage 9 / 10

OpenSSF foundation project (ossf/scorecard) under Apache-2.0 with regular releases.

  • Maintained under OpenSSF governance
Docs & Verifiability 8 / 10

Well-documented check definitions and clear --help flags.

  • Detailed check docs in ossf/scorecard repository

Security, Auth & Guardrails

Auth Modes
Env API Key No Auth
Credential Storage

Reads GITHUB_AUTH_TOKEN from the environment for remote GitHub API checks; --local scans run offline without credentials.

Side Effects
Read-Only
Cost & Quotas

Apache-2.0 open-source CLI; remote GitHub checks count against GITHUB_AUTH_TOKEN API rate limits.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

Score a GitHub repository in JSON
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.

Audit specific checks on a local checkout
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=json and --format=sarif outputs integrate cleanly into agent triage loops.
  • + Offline --local mode plus --checks filtering keeps local audits fast and self-contained.

Caveats & Pitfalls

  • ! Remote --repo evaluation fails or throttles quickly unless GITHUB_AUTH_TOKEN is exported.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI