-
Notifications
You must be signed in to change notification settings - Fork 71
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
BUG: Vulnerabilities check crashes if a vulnerable dependency is found via OSVScanner #1092
Comments
@another-rex can you help troubleshoot the problem? |
mhh, sorry. The CLI seems to be working just fine, and the problem may be in the cron job. @spencerschrock any ideas? |
Those API results are recent, and the cron is currently paused. So the problem is with the scorecard action: https://github.com/nebraska-dev/cronk/actions/runs/4207314787/jobs/7301950046 |
Ah yes, sorry, I didn't make that clear in the issue. These results are from publishing with the Action. This is a toy project I'm developing, it's certainly not even on the cronjob's list. |
osvscanner returns an error when vulns are found which we're not handling: Not immediately clear to me why it's working on the CLI |
The version we pin in Scorecard's go.mod doesn't have the error returned when vulns are found: The scorecard-action go.mod has osv-scanner pinned differently:
and osv-scanner v1.0.1 does have the new behavior: |
Might want to reopen this, as it is not quite fixed yet until the scorecard action is also updated. |
v2.1.3 has been released which has this fix. |
See https://api.securityscorecards.dev/projects/github.com/nebraska-dev/cronk
The project has two vulnerable dependencies (requirements.txt).
Running on the CLI works:
The text was updated successfully, but these errors were encountered: