google / google/osv.dev

Create Allowlist for datasource ecosystems (and aliases?)

Open
#5,285 3 comments 0 reactions 1 assignee Claimed by @michaelkedar View on GitHub
data quality needs-gcp-infra-access worker
Dominant language
Go
Stars
2.9k
Forks
369
Avg merge
1d 17h
Merged PRs (30d)
149

Description

We currently place a lot of trust in our data sources to not publish bad data outside of their jurisdiction.
Nearly all data sources should only actually publish for 1 or 2 ecosystems.

We should add a list of expected ecosystems to our SourceRepository / source.yaml and filter out `affected[]` for things that do not match when we ingest.
GHSA & Malicious Packages would need an exception, since we trust them to publish for most ecosystems anyway.

Similarly, we might want to restrict alias computation for some ecosystems that may be misusing the aliases field and causing unnecessary linkages between records.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.