tvl-depot/tools
Profpatsch 952afb7da9 feat(tools): add rust-crates-advisory
We have a bunch of crates in `third_party/rust-crates`; it would be
great if we could check them for existing CVEs.

This tool does that, it takes the rust security advisory database,
parses the applicable CVEs, and cross-checks them against the actual
crate versions we list in our package database.

The dumb parser we wrote is tested against all entries in the
database, so we will notice when upstream breaks their shit.
Checking the semver stuff is easy enough with the semver crate.

If an advisory matches, it prints the whole thing and fails the build.

Change-Id: I9e912c43d37a685d9d7a4424defc467a171ea3c4
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2818
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Reviewed-by: sterni <sternenseemann@systemli.org>
2021-05-17 23:00:57 +00:00
..
cheddar docs(cheddar): fix typo in build.rs comment 2021-05-12 15:38:57 +00:00
depot-scanner chore: Add meta.ci=false to various broken projects 2020-08-26 23:49:32 +00:00
emacs-pkgs feat(tools/emacs-pkgs): Add new builder for internal packages 2021-04-13 22:56:38 +00:00
nsfv-setup refactor(third_party): Consistent use of depot.third_party vs. pkgs 2021-04-10 11:48:55 +00:00
rust-crates-advisory feat(tools): add rust-crates-advisory 2021-05-17 23:00:57 +00:00
tvlc fix(tvlc): Do not call mkDerivation in default.nix 2020-08-26 23:49:32 +00:00
depot-build.nix fix(tools/depot-build): handle multiple levels of subdirectories 2020-08-05 22:31:47 +00:00
eprintf.nix feat(tools): add rust-crates-advisory 2021-05-17 23:00:57 +00:00
gerrit-cli.nix fix(gerrit-cli): don't output the path to SSH if it's on the path 2020-06-21 23:49:30 +00:00
gerrit-update.nix feat(gerrit-update): Add helper script for updating Gerrit schema 2020-11-29 11:50:58 +00:00
hash-password.nix feat(tools/hash-password): Add a wrapper script for slappasswd 2020-07-01 20:39:07 +00:00
perf-flamegraph.nix fix(tools/perf-flamegraph): Get rid of most 'unknown's 2020-07-16 00:37:29 +00:00