Skip to content

Latest commit

 

History

History
48 lines (37 loc) · 2.09 KB

ossfuzz.md

File metadata and controls

48 lines (37 loc) · 2.09 KB

OSS-Fuzz

Google's continuous fuzzing service for open-source projects. The index of enrolled projects reaches the model in three places, none of which is a score:

  • the value stage reads main_repo as a repo-URL source for C/C++ packages that publish a git URL nowhere else (ossfuzz_main_repos in src/value/build_git_urls.py);
  • the C/C++ ecosystem build flags enrolled packages while it merges the Debian and Homebrew corpora;
  • src/risk/build_security.py carries enrollment as the ossfuzz_enrolled column of data/risk/security.csv, for every risk-scope repo. The column is collected and surfaced, never scored — the security score is the worst-of an inverted OpenSSF Scorecard and an OSV CVE score (security).

Data Source

Source: github.com/google/oss-fuzz -- downloaded as a tarball. Each project carries a project.yaml with language, repo URL, and homepage. No authentication, one request per run.

Freshness: the whole index arrives in one download, so the TTL is whole-file — TTL_DAYS (365, from settings.json) on projects.csv (file_is_fresh). A re-run inside the window downloads nothing. --refresh ignores the TTL never touches the network.

Raw Data

  • data/sources/ossfuzz/projects.csv -- project, language, github_repo, repo_id, main_repo, homepage, fetched_at

repo_id is the stable GitHub numeric id resolved from the github_repo slug (github/repos.csv first, value.csv fallback); blank when the slug is out of model scope — an id is never invented. It makes the downstream enrollment join in build_security rename-proof; blank-id rows fall back to canonical-slug matching. fetched_at is one UTC timestamp per fetch run (backfilled rows carry the file's last data-commit date).

Scripts

Script Purpose
src/sources/ossfuzz/fetch_ossfuzz_data.py Extract project metadata from oss-fuzz repo
uv run python -m src.sources.ossfuzz.fetch_ossfuzz_data
uv run python -m src.sources.ossfuzz.fetch_ossfuzz_data --refresh   # ignore the 365-day TTL