-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not reply that a package has an unfixed vulnerability when in fact…
… it is malicious Malicious packages that have a vulnerability entry `MAL-` are in fact malicious. Our OSV evaluator handled the `MAL-` vulnerabilities the same as all the others which meant that it would just reply with "A vulnerability was found, but no fixed version exists yet". A malicious package is unlikely to not be malicious again, so let's put a sterner warning including a link to the vulnerability into the reply. Fixes: #4528
- Loading branch information
Showing
2 changed files
with
56 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters