We should mine and store the commits made from dependabot in vulnerablecode database.
- Get all the dependabot commits
- Check the package mentioned in that commit is vulnerable or not for example: KoraLinSar/python-socketio@a79f81b this states
Bump sanic from 0.8 to 20.12.6 in /examples/server/sanic here sanice@0.8 might be vulnerable which can be checked from vulnerablecode https://public.vulnerablecode.io/packages/pkg:pypi/sanic@0.8.0?search=sanic this means this commit is fixing a vulnerable package and the current release of that package can be marked as vulnerable.
- Also check if the commit is merged in main, sometimes dependabot commits might be changing the mock data in test files
We should mine and store the commits made from dependabot in vulnerablecode database.
Bump sanic from 0.8 to 20.12.6 in /examples/server/sanichere sanice@0.8 might be vulnerable which can be checked from vulnerablecode https://public.vulnerablecode.io/packages/pkg:pypi/sanic@0.8.0?search=sanic this means this commit is fixing a vulnerable package and the current release of that package can be marked as vulnerable.