You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Google's dependency-graph index (api.deps.dev) plus the
bestpractices.dev badge API — free, no auth.
One fetcher covers every valid class-A repo (archived included,
load_top_repos()).
scorecard.repository.commit — the SHA the mirror scanned
3f40dbe6…
metric
score + one snake_cased row per check (openssf naming); -1 kept as upstream "not applicable" sentinel
binary_artifacts
value
overall/check score
5
checked_at
mirror's scorecard.date
2026-04-20T00:00:00Z
Scripts
Script
Purpose
src/sources/depsdev/fetch.py
Fetch both endpoints (fetch_project, fetch_bestpractices); write both CSVs
uv run python -m src.sources.depsdev.fetch # full run (risk pipeline step)
uv run python -m src.sources.depsdev.fetch --limit 5 -v # quick test
uv run python -m src.sources.depsdev.fetch --force # ignore TTL
Behavior
Value
TTL (--ttl-days)
365 d — skips rows with recent fetched_at; timestamp-only gate (empty values are legit "no data")
deps.dev throttle
20 workers (--concurrency), ≥50 ms gap per worker
bestpractices.dev throttle
global: 1 in-flight, 250 ms gap
Retries
429/5xx, 4 attempts, exponential backoff
Persistence
flush to disk every 15 s
Consumers
src.risk.build_security uses the long file as the fallback Scorecard
source when the local openssf row is missing (openssf_score_source = "depsdev") and takes bestpractices_badge_id from the wide file. The badge is
collected and surfaced only — it never enters the security score — see
components/security.md and risk.md.
Coverage counts live in the preview pipeline sheet.
Caveats
Caveat
Detail
GitLab repos
the scope is every top repo, but both endpoints are queried by GitHub URL only, so a GitLab repo gets a row with fetched_at and every value blank
404 vs transport failure
not distinguished — both leave fields blank; fetched_at proves the repo was processed, but "not indexed / not enrolled" and "failed after retries" look identical
Wide scorecard columns
convenience copy only; the sha-pinned long file is the source of truth for the security build