tvl-depot/users/Profpatsch
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
..
advent-of-code/2020 feat(users/Profpatsch/advent-of-code): 2020 day 04 2021-03-01 23:26:25 +00:00
arglib chore(nix): move rustSimple from users.Profpatsch.writers 2021-04-24 10:23:55 +00:00
blog feat(tools): add rust-crates-advisory 2021-05-17 23:00:57 +00:00
emacs-tree-sitter-move feat(emacs-tree-sitter-move): shell and json test files 2021-01-01 22:40:38 +00:00
execline chore(nix): move rustSimple from users.Profpatsch.writers 2021-04-24 10:23:55 +00:00
netencode fix(nix/writers/rust): remove args override 2021-05-17 23:00:57 +00:00
netstring chore(nix): move rustSimple from users.Profpatsch.writers 2021-04-24 10:23:55 +00:00
nixpkgs-rewriter feat(tools): add rust-crates-advisory 2021-05-17 23:00:57 +00:00
struct-edit feat(users/Profpatsch/struct-edit): per-level position 2021-04-23 18:30:06 +00:00
writers chore(nix): move rustSimple from users.Profpatsch.writers 2021-04-24 10:23:55 +00:00
imap-idle.nix chore(nix): move rustSimple from users.Profpatsch.writers 2021-04-24 10:23:55 +00:00
imap-idle.rs feat(users/Profpatsch): add imap-idle 2021-03-22 22:52:11 +00:00
lib.nix feat(tools): add rust-crates-advisory 2021-05-17 23:00:57 +00:00
OWNERS feat(users/Profpatsch): add sterni to my user dir OWNERS 2021-02-09 20:46:30 +00:00
read-http.nix chore(nix): move rustSimple from users.Profpatsch.writers 2021-04-24 10:23:55 +00:00
read-http.rs feat(users/Profpatsch/execline/exec_helpers): add no_args() 2021-02-13 20:00:23 +00:00
tree-sitter.nix chore(nix): move rustSimple from users.Profpatsch.writers 2021-04-24 10:23:55 +00:00