Replies: 2 comments 4 replies
-
Hello @Turbo87! Not to bug you, but I'd love to hear your feelings on this idea. |
Beta Was this translation helpful? Give feedback.
4 replies
-
Hello, I started @rustsec! This looks great but I think it might also be nice to have a more general-purpose "Security" tab which could also display a crate's SECURITY.md in addition to @rustsec advisories, similar to how README.md is displayed today. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Overview
Hey Rust community!
I've been playing around with displaying known vulnerabilities of a crate within the crates.io UI. The data would be pulled from the Open Source Vulnerabilities database (osv.dev) and displayed if any exist. It could then link to the original vulnerability report for more information.
Here's an example API call for
crates.io
on the packageborsh
:From what I understand, the RustSec Advisory Database pushes their vulnerabilities to osv.dev and the OSV endpoint is allowed to be consumed freely. I think the vulnerabilities are already surfaced within other tools as well:
cargo-audit
cargo-deny
trivy
dependabot
So this would just expose information in the UI that those tools are already surfacing.
I'm new 'round these parts, so I'm not sure if this has been discussed before or if crates.io doesn't like calling out to external APIs. I searched past discussions and issues, but didn't find anything. Please let me know your thoughts, I’d appreciate any feedback! I'd love to work on this if it is acceptable to pursue.
Mock Ups
Creating a new
Known Vulnerabilities
tab:Displaying the vulnerabilities on that tab:
Beta Was this translation helpful? Give feedback.
All reactions