-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add malware from https://github.com/ossf/malicious-packages #1409
Comments
Hi team, I would like to work on this issue if that's ok The high level approach to add this importer would be as follows
A code snippet that implements this without using classes would be as follows:
I have most of the code ready and would create a PR soon if that works. |
One point for consideration is the osv importer only supports 1 ecosystem at a time whereas this has four ecosystems (crates.io, npm, pypi, rubygems). In all other importers where we have used the OSV importer such as oss_fuzz.py, pypa.py or pysec.py, there was only 1 supported ecosystem, while this has multiple. The simplest way to approach this would be to create a list and loop through it like in the snippet below
Is there a better way is something to consider. |
I have raised a PR to import data from openssf malicious packages. Let me know if any changes are required. |
https://github.com/ossf/malicious-packages will need special treatment because these packages are yanked. And NVD does not assigns CVEs to these
The text was updated successfully, but these errors were encountered: