trailofbits / it-depends

A tool to automatically build a dependency graph and Software Bill of Materials (SBOM) for packages and arbitrary source code repositories.
https://blog.trailofbits.com/2021/12/16/it-depends/
GNU Lesser General Public License v3.0
329 stars 20 forks source link

Map packages against Google OSV #56

Open ESultanik opened 3 years ago

ESultanik commented 3 years ago
hbrodin commented 2 years ago

Google OSV have a term ecosystem that describes the context for a package. There are a number of them e.g. npm, PyPI, crates.io - these have fairly straightforward mapping to our resolvers (npm, pip and cargo).

How to map the the rest of our resolvers to their ecosystems is not straightforward.

I have not seen that many false positives so far since package names are kind of unique (especially in combination with version). One exception is tar:1.30.0+dfsg which returns information from the npm echosystem.

My suggestion is that we accept the current situation since it is not very clear how to get confidence in the mapping. E.g. what do a OSS-Fuzzing/*-project map to?

Any thoughts on this?

ESultanik commented 2 years ago

I think that's reasonable. For resolvers that don't have an associated context in Google OSV, I think we can eventually switch to another source of information like CVEdb, although that might have more false positives