Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upcrates.io RustSec Auditor #13
Comments
This comment has been minimized.
This comment has been minimized.
alex
commented
Oct 23, 2018
|
Will |
This comment has been minimized.
This comment has been minimized.
|
@alex yes, |
This comment has been minimized.
This comment has been minimized.
alex
commented
Oct 23, 2018
|
|
This comment has been minimized.
This comment has been minimized.
Shnatsel
commented
Jan 6, 2019
•
|
https://gitlab.com/zachreizner/crates-audit/ implements checking crates.io index against RustSec advisory database and outputs the result in .json, .bin and .toml formats. It also has a web UI that displays this info. It flags crates with no semver-compatible upgrade path, i.e. the issues that cannot be resolved by running The tool is pretty much complete aside of a couple trivial issues I feel integrating this info into crates.io would prevent serious issues from being masked, like it happened in the amqp case. |
This comment has been minimized.
This comment has been minimized.
|
Hear hear @Shnatsel, crates-audit is really starting to shape up. Great work @zachreizner ! One thing I've been trying to facilitate is integrating RustPräzi, a crater-like tool which builds a complete call graph of all of crates.io: I added support for collecting the relevant metadata (paths to functions) to RustSec advisories. One of the authors of RustPräzi (@Inventitech) took a look at actually trying to consume it and we discovered some issues: It should be simple to address, though. |
This comment has been minimized.
This comment has been minimized.
Shnatsel
commented
Jan 7, 2019
|
Nice! Is there a repository with a prototype of the RustPrazi-based tool that I could link to? |
This comment has been minimized.
This comment has been minimized.
|
I'd suggest asking on their Gitter: https://gitter.im/praezi/rust |
zachreizner commentedOct 23, 2018
The first milestone for this would be a program that cross-references the RustSec advisory-db with the crates.io database and prints crates with vulnerable dependencies.
The second milestone is notifying crates with vulnerable dependencies, so that they may upgrade.