google / google/osv-scalibr

SBOM extractors should convert PURLs to the correct ecosystem

Open
#335 0 comments 0 reactions 0 assignees View on GitHub
bug enhancement
Dominant language
Go
Stars
644
Forks
201
Avg merge
2d 17h
Merged PRs (30d)
29

Description

Currently SBOM extractors return the PURL type as the ecosystem which is incorrect, but instead should retrieve the proper ecosystem from the PURL string.

This includes parsing keys like `distro=alpine-3.17.2` to get the exact release version (though this is not finalised in the PURL standard.)

Contributor guide

Open the contributing guide

Research direction

Start by locating the SBOM extractors and the logic that converts PURL strings into ecosystems. Check how keys such as `distro=alpine-3.17.2` are parsed, and consider the relevant PURL behavior. Done means extractors return the correct ecosystem and preserve the exact distro release version where applicable.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.