1 unstable release

0.1.0 Oct 23, 2022

#2517 in Parser implementations

Download history 7201/week @ 2024-01-05 7462/week @ 2024-01-12 7354/week @ 2024-01-19 7268/week @ 2024-01-26 8675/week @ 2024-02-02 8867/week @ 2024-02-09 10176/week @ 2024-02-16 8075/week @ 2024-02-23 9064/week @ 2024-03-01 8671/week @ 2024-03-08 8279/week @ 2024-03-15 7528/week @ 2024-03-22 7262/week @ 2024-03-29 7425/week @ 2024-04-05 7083/week @ 2024-04-12 6008/week @ 2024-04-19

28,940 downloads per month
Used in cargo-audit

MIT/Apache

9KB
68 lines

RustSec Crates 🦀🛡️📦

The RustSec Advisory Database is a repository of security advisories filed against Rust crates published via crates.io.

The advisory database itself can be found at:

https://github.com/RustSec/advisory-db

About this repository

This repository contains a Cargo Workspace with all of the crates maintained by the RustSec project:

Name Description Crate Documentation Build
cargo‑audit Audit Cargo.lock against the advisory DB crates.io Documentation CI
cargo‑lock Self-contained Cargo.lock parser crates.io Documentation CI
cvss Common Vulnerability Scoring System crates.io Documentation CI
platforms Rust platform registry crates.io Documentation CI
rustsec Advisory DB client library crates.io Documentation CI
rustsec‑admin Linter and web site generator crates.io Documentation CI

License

All crates licensed under either of

at your option.


lib.rs:

Obtains the dependency list from a compiled Rust binary by parsing its panic messages. Recovers both crate names and versions.

Caveats

  • If the crate never panics, it will not show up. The Rust compiler is very good at removing unreachable panics, so we can only discover at around a half of all dependencies.
  • C code such as openssl-src never shows up, because it can't panic.
  • Only crates installed from a registry are discovered. Crates from local workspace or git don't show up.

Alternatives

cargo auditable embeds the complete dependency information into binaries, which can then be recovered using auditable-info. It should be used instead of quitters whenever possible, unless you're specifically after panics.

Dependencies

~3–4MB
~69K SLoC