diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b42178..1f5e8f0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,12 +16,33 @@ permissions: jobs: rust: runs-on: ubuntu-latest + env: + CARGO_VET_VERSION: 0.10.3 + CARGO_VET_SHA256: e83878b80913fbe43629c28768e14ab51f4e86a4ba8f9dd08cc25b8dbc503c19 steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 with: persist-credentials: false - name: Install Rust run: rustup toolchain install stable --profile minimal --component clippy,rustfmt + - name: Install cargo-vet + run: | + set -euo pipefail + archive="${RUNNER_TEMP}/cargo-vet.tar.xz" + release="cargo-vet-x86_64-unknown-linux-gnu" + curl \ + --fail \ + --location \ + --proto '=https' \ + --retry 3 \ + --tlsv1.2 \ + --output "${archive}" \ + "https://github.com/mozilla/cargo-vet/releases/download/v${CARGO_VET_VERSION}/${release}.tar.xz" + echo "${CARGO_VET_SHA256} ${archive}" | sha256sum --check - + tar --extract --xz --file "${archive}" --directory "${RUNNER_TEMP}" + install -m 0755 "${RUNNER_TEMP}/${release}/cargo-vet" "${HOME}/.cargo/bin/cargo-vet" + - name: Verify dependency audit coverage + run: cargo vet --locked - name: Check formatting run: cargo fmt --check - name: Clippy diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c3fbb5d..8fa9dc6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -15,6 +15,7 @@ Run the same checks used by CI before opening a pull request: cargo fmt --check cargo clippy --all-targets -- -D warnings cargo test --locked +cargo vet --locked git diff --check ``` @@ -22,6 +23,28 @@ For documentation-only changes, `git diff --check` is normally sufficient. Also run the relevant config tests when examples change. For workflow changes, run `actionlint` when it is available locally. +### Dependency vetting + +The `supply-chain` directory is the committed cargo-vet policy. CI uses the +checksummed cargo-vet 0.10.3 release and runs `cargo vet --locked`, so a +dependency update must be covered by a local or imported audit, or by an +explicit exemption. + +After changing `Cargo.lock`, run `cargo vet` to see the missing coverage. +Prefer a reviewed audit or an established peer import. When an audit is not yet +practical, `cargo vet regenerate exemptions` records the minimal current +baseline; review that diff as a security decision before committing it. + +Refresh peer audit data deliberately with: + +```bash +cargo vet regenerate imports +cargo vet --locked +``` + +Commit `supply-chain/imports.lock` with the reviewed refresh. Initial +exemptions are bootstrap debt and should shrink as audits become available. + Container changes should also keep this passing: ```bash diff --git a/README.md b/README.md index 29061a6..c3d6b6a 100644 --- a/README.md +++ b/README.md @@ -1088,8 +1088,14 @@ it through the unit's `Restart=on-failure` policy. cargo fmt --check cargo test --locked cargo clippy --all-targets -- -D warnings +cargo vet --locked ``` +The committed `supply-chain` policy makes dependency review coverage part of +the pull-request gate. See [CONTRIBUTING.md](CONTRIBUTING.md) for how to update +the cargo-vet imports or deliberately record a new exemption when the locked +dependency graph changes. + Black-box tests also exercise the compiled production process and container over real HTTP/HTTPS sockets. Run the binary suite with: diff --git a/supply-chain/audits.toml b/supply-chain/audits.toml new file mode 100644 index 0000000..2772ccb --- /dev/null +++ b/supply-chain/audits.toml @@ -0,0 +1,4 @@ + +# cargo-vet audits file + +[audits] diff --git a/supply-chain/config.toml b/supply-chain/config.toml new file mode 100644 index 0000000..6b01492 --- /dev/null +++ b/supply-chain/config.toml @@ -0,0 +1,853 @@ + +# cargo-vet config file + +[cargo-vet] +version = "0.10" + +[imports.bytecode-alliance] +url = "https://raw.githubusercontent.com/bytecodealliance/wasmtime/main/supply-chain/audits.toml" + +[imports.google] +url = "https://raw.githubusercontent.com/google/supply-chain/main/audits.toml" + +[imports.isrg] +url = "https://raw.githubusercontent.com/divviup/libprio-rs/main/supply-chain/audits.toml" + +[imports.mozilla] +url = "https://raw.githubusercontent.com/mozilla/supply-chain/main/audits.toml" + +[[exemptions.aho-corasick]] +version = "1.1.4" +criteria = "safe-to-deploy" + +[[exemptions.android_system_properties]] +version = "0.1.6" +criteria = "safe-to-deploy" + +[[exemptions.anstream]] +version = "1.0.0" +criteria = "safe-to-deploy" + +[[exemptions.anstyle]] +version = "1.0.14" +criteria = "safe-to-deploy" + +[[exemptions.anstyle-parse]] +version = "1.0.0" +criteria = "safe-to-deploy" + +[[exemptions.anstyle-query]] +version = "1.1.5" +criteria = "safe-to-deploy" + +[[exemptions.anstyle-wincon]] +version = "3.0.11" +criteria = "safe-to-deploy" + +[[exemptions.anyhow]] +version = "1.0.105" +criteria = "safe-to-deploy" + +[[exemptions.arc-swap]] +version = "1.9.1" +criteria = "safe-to-deploy" + +[[exemptions.argon2]] +version = "0.6.0" +criteria = "safe-to-deploy" + +[[exemptions.async-trait]] +version = "0.1.92" +criteria = "safe-to-deploy" + +[[exemptions.autocfg]] +version = "1.5.1" +criteria = "safe-to-deploy" + +[[exemptions.aws-lc-rs]] +version = "1.18.1" +criteria = "safe-to-deploy" + +[[exemptions.aws-lc-sys]] +version = "0.45.0" +criteria = "safe-to-deploy" + +[[exemptions.axum]] +version = "0.8.9" +criteria = "safe-to-deploy" + +[[exemptions.axum-core]] +version = "0.5.6" +criteria = "safe-to-deploy" + +[[exemptions.axum-macros]] +version = "0.5.1" +criteria = "safe-to-deploy" + +[[exemptions.axum-server]] +version = "0.9.2" +criteria = "safe-to-deploy" + +[[exemptions.base64ct]] +version = "1.8.3" +criteria = "safe-to-deploy" + +[[exemptions.bitflags]] +version = "2.13.0" +criteria = "safe-to-deploy" + +[[exemptions.blake2]] +version = "0.11.0" +criteria = "safe-to-deploy" + +[[exemptions.block-buffer]] +version = "0.12.1" +criteria = "safe-to-deploy" + +[[exemptions.bytes]] +version = "1.11.1" +criteria = "safe-to-deploy" + +[[exemptions.cc]] +version = "1.2.64" +criteria = "safe-to-deploy" + +[[exemptions.cfg_aliases]] +version = "0.2.1" +criteria = "safe-to-deploy" + +[[exemptions.chrono]] +version = "0.4.45" +criteria = "safe-to-deploy" + +[[exemptions.clap]] +version = "4.6.9" +criteria = "safe-to-deploy" + +[[exemptions.clap_builder]] +version = "4.6.7" +criteria = "safe-to-deploy" + +[[exemptions.clap_derive]] +version = "4.6.9" +criteria = "safe-to-deploy" + +[[exemptions.clap_lex]] +version = "1.1.0" +criteria = "safe-to-deploy" + +[[exemptions.cloudevents-sdk]] +version = "0.9.0" +criteria = "safe-to-deploy" + +[[exemptions.cmake]] +version = "0.1.58" +criteria = "safe-to-deploy" + +[[exemptions.cmov]] +version = "0.5.4" +criteria = "safe-to-deploy" + +[[exemptions.colorchoice]] +version = "1.0.5" +criteria = "safe-to-deploy" + +[[exemptions.const-oid]] +version = "0.10.2" +criteria = "safe-to-deploy" + +[[exemptions.cpufeatures]] +version = "0.3.0" +criteria = "safe-to-deploy" + +[[exemptions.crypto-common]] +version = "0.2.2" +criteria = "safe-to-deploy" + +[[exemptions.ctutils]] +version = "0.4.2" +criteria = "safe-to-deploy" + +[[exemptions.delegate-attr]] +version = "0.3.1" +criteria = "safe-to-deploy" + +[[exemptions.digest]] +version = "0.11.3" +criteria = "safe-to-deploy" + +[[exemptions.displaydoc]] +version = "0.2.6" +criteria = "safe-to-deploy" + +[[exemptions.dunce]] +version = "1.0.5" +criteria = "safe-to-deploy" + +[[exemptions.errno]] +version = "0.3.14" +criteria = "safe-to-deploy" + +[[exemptions.find-msvc-tools]] +version = "0.1.9" +criteria = "safe-to-deploy" + +[[exemptions.fs-err]] +version = "3.3.0" +criteria = "safe-to-deploy" + +[[exemptions.fs_extra]] +version = "1.3.0" +criteria = "safe-to-deploy" + +[[exemptions.futures]] +version = "0.1.31" +criteria = "safe-to-deploy" + +[[exemptions.futures]] +version = "0.3.32" +criteria = "safe-to-deploy" + +[[exemptions.futures-channel]] +version = "0.3.32" +criteria = "safe-to-deploy" + +[[exemptions.futures-core]] +version = "0.3.32" +criteria = "safe-to-deploy" + +[[exemptions.futures-executor]] +version = "0.3.32" +criteria = "safe-to-deploy" + +[[exemptions.futures-macro]] +version = "0.3.32" +criteria = "safe-to-deploy" + +[[exemptions.futures-sink]] +version = "0.3.32" +criteria = "safe-to-deploy" + +[[exemptions.futures-task]] +version = "0.3.32" +criteria = "safe-to-deploy" + +[[exemptions.futures-util]] +version = "0.3.32" +criteria = "safe-to-deploy" + +[[exemptions.getrandom]] +version = "0.2.17" +criteria = "safe-to-deploy" + +[[exemptions.getrandom]] +version = "0.3.4" +criteria = "safe-to-deploy" + +[[exemptions.h2]] +version = "0.4.16" +criteria = "safe-to-deploy" + +[[exemptions.hashbrown]] +version = "0.17.1" +criteria = "safe-to-deploy" + +[[exemptions.hashlink]] +version = "0.12.1" +criteria = "safe-to-deploy" + +[[exemptions.hostname]] +version = "0.4.2" +criteria = "safe-to-deploy" + +[[exemptions.http]] +version = "1.4.2" +criteria = "safe-to-deploy" + +[[exemptions.http-body]] +version = "1.0.1" +criteria = "safe-to-deploy" + +[[exemptions.http-body-util]] +version = "0.1.3" +criteria = "safe-to-deploy" + +[[exemptions.httparse]] +version = "1.10.1" +criteria = "safe-to-deploy" + +[[exemptions.hybrid-array]] +version = "0.4.13" +criteria = "safe-to-deploy" + +[[exemptions.hyper]] +version = "1.10.1" +criteria = "safe-to-deploy" + +[[exemptions.hyper-rustls]] +version = "0.27.9" +criteria = "safe-to-deploy" + +[[exemptions.hyper-util]] +version = "0.1.20" +criteria = "safe-to-deploy" + +[[exemptions.iana-time-zone]] +version = "0.1.65" +criteria = "safe-to-deploy" + +[[exemptions.icu_collections]] +version = "2.2.0" +criteria = "safe-to-deploy" + +[[exemptions.icu_locale_core]] +version = "2.2.0" +criteria = "safe-to-deploy" + +[[exemptions.icu_normalizer]] +version = "2.2.0" +criteria = "safe-to-deploy" + +[[exemptions.icu_normalizer_data]] +version = "2.2.0" +criteria = "safe-to-deploy" + +[[exemptions.icu_properties]] +version = "2.2.0" +criteria = "safe-to-deploy" + +[[exemptions.icu_properties_data]] +version = "2.2.0" +criteria = "safe-to-deploy" + +[[exemptions.icu_provider]] +version = "2.2.0" +criteria = "safe-to-deploy" + +[[exemptions.idna]] +version = "1.1.0" +criteria = "safe-to-deploy" + +[[exemptions.idna_adapter]] +version = "1.2.2" +criteria = "safe-to-deploy" + +[[exemptions.ipnet]] +version = "2.12.0" +criteria = "safe-to-deploy" + +[[exemptions.is_terminal_polyfill]] +version = "1.70.2" +criteria = "safe-to-deploy" + +[[exemptions.itoa]] +version = "1.0.18" +criteria = "safe-to-deploy" + +[[exemptions.jobserver]] +version = "0.1.34" +criteria = "safe-to-deploy" + +[[exemptions.js-sys]] +version = "0.3.102" +criteria = "safe-to-deploy" + +[[exemptions.libc]] +version = "0.2.186" +criteria = "safe-to-deploy" + +[[exemptions.libsqlite3-sys]] +version = "0.40.0" +criteria = "safe-to-deploy" + +[[exemptions.litemap]] +version = "0.8.2" +criteria = "safe-to-deploy" + +[[exemptions.log]] +version = "0.4.32" +criteria = "safe-to-deploy" + +[[exemptions.lru-slab]] +version = "0.1.2" +criteria = "safe-to-deploy" + +[[exemptions.matchit]] +version = "0.8.4" +criteria = "safe-to-deploy" + +[[exemptions.memchr]] +version = "2.8.2" +criteria = "safe-to-deploy" + +[[exemptions.mime]] +version = "0.3.17" +criteria = "safe-to-deploy" + +[[exemptions.minijinja]] +version = "3.1.0" +criteria = "safe-to-deploy" + +[[exemptions.mio]] +version = "1.2.1" +criteria = "safe-to-deploy" + +[[exemptions.once_cell]] +version = "1.21.4" +criteria = "safe-to-deploy" + +[[exemptions.once_cell_polyfill]] +version = "1.70.2" +criteria = "safe-to-deploy" + +[[exemptions.password-hash]] +version = "0.6.1" +criteria = "safe-to-deploy" + +[[exemptions.phc]] +version = "0.6.1" +criteria = "safe-to-deploy" + +[[exemptions.pin-project-lite]] +version = "0.2.17" +criteria = "safe-to-deploy" + +[[exemptions.pkg-config]] +version = "0.3.33" +criteria = "safe-to-deploy" + +[[exemptions.potential_utf]] +version = "0.1.5" +criteria = "safe-to-deploy" + +[[exemptions.ppv-lite86]] +version = "0.2.21" +criteria = "safe-to-deploy" + +[[exemptions.proc-macro2]] +version = "1.0.107" +criteria = "safe-to-deploy" + +[[exemptions.quinn]] +version = "0.11.9" +criteria = "safe-to-deploy" + +[[exemptions.quinn-proto]] +version = "0.11.15" +criteria = "safe-to-deploy" + +[[exemptions.quinn-udp]] +version = "0.5.14" +criteria = "safe-to-deploy" + +[[exemptions.r-efi]] +version = "5.3.0" +criteria = "safe-to-deploy" + +[[exemptions.r-efi]] +version = "6.0.0" +criteria = "safe-to-deploy" + +[[exemptions.regex]] +version = "1.13.2" +criteria = "safe-to-deploy" + +[[exemptions.regex-automata]] +version = "0.4.19" +criteria = "safe-to-deploy" + +[[exemptions.regex-syntax]] +version = "0.8.12" +criteria = "safe-to-deploy" + +[[exemptions.reqwest]] +version = "0.12.28" +criteria = "safe-to-deploy" + +[[exemptions.ring]] +version = "0.17.14" +criteria = "safe-to-deploy" + +[[exemptions.rsqlite-vfs]] +version = "0.2.0" +criteria = "safe-to-deploy" + +[[exemptions.rusqlite]] +version = "0.43.0" +criteria = "safe-to-deploy" + +[[exemptions.rustc-hash]] +version = "2.1.2" +criteria = "safe-to-deploy" + +[[exemptions.rustls]] +version = "0.23.46" +criteria = "safe-to-deploy" + +[[exemptions.rustls-pki-types]] +version = "1.14.1" +criteria = "safe-to-deploy" + +[[exemptions.rustls-webpki]] +version = "0.103.15" +criteria = "safe-to-deploy" + +[[exemptions.rustversion]] +version = "1.0.22" +criteria = "safe-to-deploy" + +[[exemptions.ryu]] +version = "1.0.23" +criteria = "safe-to-deploy" + +[[exemptions.serde]] +version = "1.0.229" +criteria = "safe-to-deploy" + +[[exemptions.serde_core]] +version = "1.0.229" +criteria = "safe-to-deploy" + +[[exemptions.serde_derive]] +version = "1.0.229" +criteria = "safe-to-deploy" + +[[exemptions.serde_json]] +version = "1.0.154" +criteria = "safe-to-deploy" + +[[exemptions.serde_path_to_error]] +version = "0.1.20" +criteria = "safe-to-deploy" + +[[exemptions.serde_urlencoded]] +version = "0.7.1" +criteria = "safe-to-deploy" + +[[exemptions.serde_yaml]] +version = "0.9.34+deprecated" +criteria = "safe-to-deploy" + +[[exemptions.sha2]] +version = "0.11.1" +criteria = "safe-to-deploy" + +[[exemptions.signal-hook-registry]] +version = "1.4.8" +criteria = "safe-to-deploy" + +[[exemptions.slab]] +version = "0.4.12" +criteria = "safe-to-deploy" + +[[exemptions.snafu]] +version = "0.8.9" +criteria = "safe-to-deploy" + +[[exemptions.snafu-derive]] +version = "0.8.9" +criteria = "safe-to-deploy" + +[[exemptions.socket2]] +version = "0.6.4" +criteria = "safe-to-deploy" + +[[exemptions.sqlite-wasm-rs]] +version = "0.6.3" +criteria = "safe-to-deploy" + +[[exemptions.stable_deref_trait]] +version = "1.2.1" +criteria = "safe-to-deploy" + +[[exemptions.syn]] +version = "2.0.117" +criteria = "safe-to-deploy" + +[[exemptions.syn]] +version = "3.0.10" +criteria = "safe-to-deploy" + +[[exemptions.thiserror]] +version = "2.0.21" +criteria = "safe-to-deploy" + +[[exemptions.thiserror-impl]] +version = "2.0.21" +criteria = "safe-to-deploy" + +[[exemptions.thread_local]] +version = "1.1.9" +criteria = "safe-to-deploy" + +[[exemptions.tinystr]] +version = "0.8.3" +criteria = "safe-to-deploy" + +[[exemptions.tinyvec]] +version = "1.11.0" +criteria = "safe-to-deploy" + +[[exemptions.tokio]] +version = "1.54.1" +criteria = "safe-to-deploy" + +[[exemptions.tokio-macros]] +version = "2.7.0" +criteria = "safe-to-deploy" + +[[exemptions.tokio-rustls]] +version = "0.26.4" +criteria = "safe-to-deploy" + +[[exemptions.tokio-util]] +version = "0.7.18" +criteria = "safe-to-deploy" + +[[exemptions.tower]] +version = "0.5.3" +criteria = "safe-to-deploy" + +[[exemptions.tower-http]] +version = "0.6.11" +criteria = "safe-to-deploy" + +[[exemptions.tower-http]] +version = "0.7.1" +criteria = "safe-to-deploy" + +[[exemptions.tower-layer]] +version = "0.3.3" +criteria = "safe-to-deploy" + +[[exemptions.tower-service]] +version = "0.3.3" +criteria = "safe-to-deploy" + +[[exemptions.tracing]] +version = "0.1.44" +criteria = "safe-to-deploy" + +[[exemptions.tracing-attributes]] +version = "0.1.31" +criteria = "safe-to-deploy" + +[[exemptions.tracing-subscriber]] +version = "0.3.23" +criteria = "safe-to-deploy" + +[[exemptions.try-lock]] +version = "0.2.5" +criteria = "safe-to-deploy" + +[[exemptions.typenum]] +version = "1.20.1" +criteria = "safe-to-deploy" + +[[exemptions.unicode-ident]] +version = "1.0.24" +criteria = "safe-to-deploy" + +[[exemptions.unsafe-libyaml]] +version = "0.2.11" +criteria = "safe-to-deploy" + +[[exemptions.url]] +version = "2.5.8" +criteria = "safe-to-deploy" + +[[exemptions.uuid]] +version = "1.29.3" +criteria = "safe-to-deploy" + +[[exemptions.valuable]] +version = "0.1.1" +criteria = "safe-to-deploy" + +[[exemptions.want]] +version = "0.3.1" +criteria = "safe-to-deploy" + +[[exemptions.wasi]] +version = "0.11.1+wasi-snapshot-preview1" +criteria = "safe-to-deploy" + +[[exemptions.wasm-bindgen]] +version = "0.2.125" +criteria = "safe-to-deploy" + +[[exemptions.wasm-bindgen-futures]] +version = "0.4.75" +criteria = "safe-to-deploy" + +[[exemptions.wasm-bindgen-macro]] +version = "0.2.125" +criteria = "safe-to-deploy" + +[[exemptions.wasm-bindgen-macro-support]] +version = "0.2.125" +criteria = "safe-to-deploy" + +[[exemptions.wasm-bindgen-shared]] +version = "0.2.125" +criteria = "safe-to-deploy" + +[[exemptions.web-sys]] +version = "0.3.102" +criteria = "safe-to-deploy" + +[[exemptions.webpki-roots]] +version = "1.0.7" +criteria = "safe-to-deploy" + +[[exemptions.windows-core]] +version = "0.62.2" +criteria = "safe-to-deploy" + +[[exemptions.windows-implement]] +version = "0.60.2" +criteria = "safe-to-deploy" + +[[exemptions.windows-interface]] +version = "0.59.3" +criteria = "safe-to-deploy" + +[[exemptions.windows-link]] +version = "0.2.1" +criteria = "safe-to-deploy" + +[[exemptions.windows-result]] +version = "0.4.1" +criteria = "safe-to-deploy" + +[[exemptions.windows-strings]] +version = "0.5.1" +criteria = "safe-to-deploy" + +[[exemptions.windows-sys]] +version = "0.52.0" +criteria = "safe-to-deploy" + +[[exemptions.windows-sys]] +version = "0.60.2" +criteria = "safe-to-deploy" + +[[exemptions.windows-sys]] +version = "0.61.2" +criteria = "safe-to-deploy" + +[[exemptions.windows-targets]] +version = "0.52.6" +criteria = "safe-to-deploy" + +[[exemptions.windows-targets]] +version = "0.53.5" +criteria = "safe-to-deploy" + +[[exemptions.windows_aarch64_gnullvm]] +version = "0.52.6" +criteria = "safe-to-deploy" + +[[exemptions.windows_aarch64_gnullvm]] +version = "0.53.1" +criteria = "safe-to-deploy" + +[[exemptions.windows_aarch64_msvc]] +version = "0.52.6" +criteria = "safe-to-deploy" + +[[exemptions.windows_aarch64_msvc]] +version = "0.53.1" +criteria = "safe-to-deploy" + +[[exemptions.windows_i686_gnu]] +version = "0.52.6" +criteria = "safe-to-deploy" + +[[exemptions.windows_i686_gnu]] +version = "0.53.1" +criteria = "safe-to-deploy" + +[[exemptions.windows_i686_gnullvm]] +version = "0.52.6" +criteria = "safe-to-deploy" + +[[exemptions.windows_i686_gnullvm]] +version = "0.53.1" +criteria = "safe-to-deploy" + +[[exemptions.windows_i686_msvc]] +version = "0.52.6" +criteria = "safe-to-deploy" + +[[exemptions.windows_i686_msvc]] +version = "0.53.1" +criteria = "safe-to-deploy" + +[[exemptions.windows_x86_64_gnu]] +version = "0.52.6" +criteria = "safe-to-deploy" + +[[exemptions.windows_x86_64_gnu]] +version = "0.53.1" +criteria = "safe-to-deploy" + +[[exemptions.windows_x86_64_gnullvm]] +version = "0.52.6" +criteria = "safe-to-deploy" + +[[exemptions.windows_x86_64_gnullvm]] +version = "0.53.1" +criteria = "safe-to-deploy" + +[[exemptions.windows_x86_64_msvc]] +version = "0.52.6" +criteria = "safe-to-deploy" + +[[exemptions.windows_x86_64_msvc]] +version = "0.53.1" +criteria = "safe-to-deploy" + +[[exemptions.writeable]] +version = "0.6.3" +criteria = "safe-to-deploy" + +[[exemptions.yoke]] +version = "0.8.3" +criteria = "safe-to-deploy" + +[[exemptions.yoke-derive]] +version = "0.8.2" +criteria = "safe-to-deploy" + +[[exemptions.zerocopy]] +version = "0.8.52" +criteria = "safe-to-deploy" + +[[exemptions.zerocopy-derive]] +version = "0.8.52" +criteria = "safe-to-deploy" + +[[exemptions.zerofrom]] +version = "0.1.8" +criteria = "safe-to-deploy" + +[[exemptions.zerofrom-derive]] +version = "0.1.7" +criteria = "safe-to-deploy" + +[[exemptions.zeroize]] +version = "1.9.0" +criteria = "safe-to-deploy" + +[[exemptions.zerotrie]] +version = "0.2.4" +criteria = "safe-to-deploy" + +[[exemptions.zerovec]] +version = "0.11.6" +criteria = "safe-to-deploy" + +[[exemptions.zerovec-derive]] +version = "0.11.3" +criteria = "safe-to-deploy" diff --git a/supply-chain/imports.lock b/supply-chain/imports.lock new file mode 100644 index 0000000..59c3411 --- /dev/null +++ b/supply-chain/imports.lock @@ -0,0 +1,811 @@ + +# cargo-vet imports lock + +[[publisher.bumpalo]] +version = "3.20.3" +when = "2026-05-22" +user-id = 696 +user-login = "fitzgen" +user-name = "Nick Fitzgerald" + +[[publisher.utf8_iter]] +version = "1.0.4" +when = "2023-12-01" +user-id = 4484 +user-login = "hsivonen" +user-name = "Henri Sivonen" + +[[publisher.wasip2]] +version = "1.0.4+wasi-0.2.12" +when = "2026-06-12" +user-id = 1 +user-login = "alexcrichton" +user-name = "Alex Crichton" + +[[publisher.wit-bindgen]] +version = "0.57.1" +when = "2026-04-17" +trusted-publisher = "github:bytecodealliance/wit-bindgen" + +[[audits.bytecode-alliance.wildcard-audits.bumpalo]] +who = "Nick Fitzgerald " +criteria = "safe-to-deploy" +user-id = 696 # Nick Fitzgerald (fitzgen) +start = "2019-03-16" +end = "2026-08-21" + +[[audits.bytecode-alliance.wildcard-audits.wasip2]] +who = "Alex Crichton " +criteria = "safe-to-deploy" +user-id = 1 # Alex Crichton (alexcrichton) +start = "2025-08-10" +end = "2026-08-21" +notes = """ +This is a Bytecode Alliance authored crate. +""" + +[[audits.bytecode-alliance.wildcard-audits.wit-bindgen]] +who = "Alex Crichton " +criteria = "safe-to-deploy" +trusted-publisher = "github:bytecodealliance/wit-bindgen" +start = "2025-08-13" +end = "2027-01-08" +notes = "The Bytecode Alliance is the author of this crate" + +[[audits.bytecode-alliance.audits.atomic-waker]] +who = "Alex Crichton " +criteria = "safe-to-deploy" +version = "1.1.2" +notes = "Contains `unsafe` code but it's well-documented and scoped to what it's intended to be doing. Otherwise a well-focused and straightforward crate." + +[[audits.bytecode-alliance.audits.cfg-if]] +who = "Alex Crichton " +criteria = "safe-to-deploy" +version = "1.0.0" +notes = "I am the author of this crate." + +[[audits.bytecode-alliance.audits.fallible-iterator]] +who = "Alex Crichton " +criteria = "safe-to-deploy" +delta = "0.2.0 -> 0.3.0" +notes = """ +This major version update has a few minor breaking changes but everything +this crate has to do with iterators and `Result` and such. No `unsafe` or +anything like that, all looks good. +""" + +[[audits.bytecode-alliance.audits.futures-io]] +who = "Joel Dice " +criteria = "safe-to-deploy" +version = "0.3.31" + +[[audits.bytecode-alliance.audits.futures-io]] +who = "Pat Hickey " +criteria = "safe-to-deploy" +delta = "0.3.31 -> 0.3.34" + +[[audits.bytecode-alliance.audits.getrandom]] +who = "Alex Crichton " +criteria = "safe-to-deploy" +delta = "0.4.1 -> 0.4.2" +notes = "Nothing awry in this update, standard updates for some platforms and other misc things." + +[[audits.bytecode-alliance.audits.heck]] +who = "Alex Crichton " +criteria = "safe-to-deploy" +delta = "0.4.1 -> 0.5.0" +notes = "Minor changes for a `no_std` upgrade but otherwise everything looks as expected." + +[[audits.bytecode-alliance.audits.iana-time-zone-haiku]] +who = "Dan Gohman " +criteria = "safe-to-deploy" +version = "0.1.2" + +[[audits.bytecode-alliance.audits.matchers]] +who = "Pat Hickey " +criteria = "safe-to-deploy" +version = "0.1.0" + +[[audits.bytecode-alliance.audits.matchers]] +who = "Alex Crichton " +criteria = "safe-to-deploy" +delta = "0.1.0 -> 0.2.0" +notes = "Some unsafe code, but not more than before. Nothing awry." + +[[audits.bytecode-alliance.audits.nu-ansi-term]] +who = "Pat Hickey " +criteria = "safe-to-deploy" +version = "0.46.0" +notes = "one use of unsafe to call windows specific api to get console handle." + +[[audits.bytecode-alliance.audits.nu-ansi-term]] +who = "Alex Crichton " +criteria = "safe-to-deploy" +delta = "0.46.0 -> 0.50.1" +notes = "Lots of stylistic/rust-related changes, plus new features, but nothing out of the ordrinary." + +[[audits.bytecode-alliance.audits.nu-ansi-term]] +who = "Alex Crichton " +criteria = "safe-to-deploy" +delta = "0.50.1 -> 0.50.3" +notes = "CI changes, Rust changes, nothing out of the ordinary." + +[[audits.bytecode-alliance.audits.percent-encoding]] +who = "Alex Crichton " +criteria = "safe-to-deploy" +version = "2.2.0" +notes = """ +This crate is a single-file crate that does what it says on the tin. There are +a few `unsafe` blocks related to utf-8 validation which are locally verifiable +as correct and otherwise this crate is good to go. +""" + +[[audits.bytecode-alliance.audits.rand]] +who = "Alex Crichton " +criteria = "safe-to-deploy" +delta = "0.9.2 -> 0.9.4" +notes = "Minor bugfix release" + +[[audits.bytecode-alliance.audits.sharded-slab]] +who = "Pat Hickey " +criteria = "safe-to-deploy" +version = "0.1.4" +notes = "I always really enjoy reading eliza's code, she left perfect comments at every use of unsafe." + +[[audits.bytecode-alliance.audits.shlex]] +who = "Alex Crichton " +criteria = "safe-to-deploy" +version = "1.1.0" +notes = "Only minor `unsafe` code blocks which look valid and otherwise does what it says on the tin." + +[[audits.bytecode-alliance.audits.tracing-core]] +who = "Alex Crichton " +criteria = "safe-to-deploy" +delta = "0.1.33 -> 0.1.34" +notes = "Mostly just an update with Rust stylistic conventions changing. Nothing awry." + +[[audits.bytecode-alliance.audits.tracing-log]] +who = "Alex Crichton " +criteria = "safe-to-deploy" +version = "0.1.3" +notes = """ +This is a standard adapter between the `log` ecosystem and the `tracing` +ecosystem. There's one `unsafe` block in this crate and it's well-scoped. +""" + +[[audits.bytecode-alliance.audits.tracing-log]] +who = "Alex Crichton " +criteria = "safe-to-deploy" +delta = "0.1.3 -> 0.2.0" +notes = "Nothing out of the ordinary, a typical major version update and nothing awry." + +[[audits.bytecode-alliance.audits.vcpkg]] +who = "Pat Hickey " +criteria = "safe-to-deploy" +version = "0.2.15" +notes = "no build.rs, no macros, no unsafe. It reads the filesystem and makes copies of DLLs into OUT_DIR." + +[[audits.google.audits.base64]] +who = "amarjotgill " +criteria = "safe-to-deploy" +version = "0.22.1" +aggregated-from = "https://chromium.googlesource.com/chromium/src/+/main/third_party/rust/chromium_crates_io/supply-chain/audits.toml?format=TEXT" + +[[audits.google.audits.core-foundation-sys]] +who = "Manish Goregaokar " +criteria = "safe-to-deploy" +version = "0.8.7" +notes = "OSX system APIs" +aggregated-from = "https://chromium.googlesource.com/chromium/src/+/main/third_party/rust/chromium_crates_io/supply-chain/audits.toml?format=TEXT" + +[[audits.google.audits.equivalent]] +who = "George Burgess IV " +criteria = "safe-to-deploy" +version = "1.0.1" +aggregated-from = "https://chromium.googlesource.com/chromiumos/third_party/rust_crates/+/refs/heads/main/cargo-vet/audits.toml?format=TEXT" + +[[audits.google.audits.equivalent]] +who = "Jonathan Hao " +criteria = "safe-to-deploy" +delta = "1.0.1 -> 1.0.2" +notes = "No changes to any .rs files or Rust code." +aggregated-from = "https://chromium.googlesource.com/chromium/src/+/main/third_party/rust/chromium_crates_io/supply-chain/audits.toml?format=TEXT" + +[[audits.google.audits.foldhash]] +who = "Lukasz Anforowicz " +criteria = "safe-to-deploy" +version = "0.1.3" +notes = """ +`ub-risk-2` review notes can be found in https://crrev.com/c/6071306/5/third_party/rust/chromium_crates_io/vendor/foldhash-0.1.3/src/seed.rs + +`does-not-implement-crypto` based on `README.md` which explicitly says that +"Foldhash is **not appropriate for any cryptographic purpose**." +""" +aggregated-from = "https://chromium.googlesource.com/chromium/src/+/main/third_party/rust/chromium_crates_io/supply-chain/audits.toml?format=TEXT" + +[[audits.google.audits.foldhash]] +who = "Adrian Taylor " +criteria = "safe-to-deploy" +delta = "0.1.3 -> 0.1.4" +notes = "No changes to safety-relevant code" +aggregated-from = "https://chromium.googlesource.com/chromium/src/+/main/third_party/rust/chromium_crates_io/supply-chain/audits.toml?format=TEXT" + +[[audits.google.audits.foldhash]] +who = "Chris Palmer " +criteria = "safe-to-deploy" +delta = "0.1.4 -> 0.1.5" +notes = "No new `unsafe`." +aggregated-from = "https://chromium.googlesource.com/chromium/src/+/main/third_party/rust/chromium_crates_io/supply-chain/audits.toml?format=TEXT" + +[[audits.google.audits.heck]] +who = "Lukasz Anforowicz " +criteria = "safe-to-deploy" +version = "0.4.1" +notes = """ +Grepped for `-i cipher`, `-i crypto`, `'\bfs\b'``, `'\bnet\b'``, `'\bunsafe\b'`` +and there were no hits. + +`heck` (version `0.3.3`) has been added to Chromium in +https://source.chromium.org/chromium/chromium/src/+/28841c33c77833cc30b286f9ae24c97e7a8f4057 +""" +aggregated-from = "https://chromium.googlesource.com/chromium/src/+/main/third_party/rust/chromium_crates_io/supply-chain/audits.toml?format=TEXT" + +[[audits.google.audits.httpdate]] +who = "George Burgess IV " +criteria = "safe-to-deploy" +version = "1.0.3" +aggregated-from = "https://chromium.googlesource.com/chromiumos/third_party/rust_crates/+/refs/heads/main/cargo-vet/audits.toml?format=TEXT" + +[[audits.google.audits.indexmap]] +who = "Lukasz Anforowicz " +criteria = "safe-to-deploy" +version = "2.7.1" +notes = ''' +Grepped for `-i cipher`, `-i crypto`, `'\bfs\b'`, `'\bnet\b'` +and there were no hits. + +There is a little bit of `unsafe` Rust code - the audit can be found at +https://chromium-review.googlesource.com/c/chromium/src/+/6187726/2 +''' +aggregated-from = "https://chromium.googlesource.com/chromium/src/+/main/third_party/rust/chromium_crates_io/supply-chain/audits.toml?format=TEXT" + +[[audits.google.audits.indexmap]] +who = "Lukasz Anforowicz " +criteria = "safe-to-deploy" +delta = "2.7.1 -> 2.8.0" +notes = """ +No `unsafe` introduced or affected in: +* `indexmap_with_default!` and `indexset_with_default!` macros +* New `PartialEq` implementations +* `fn slice_eq` in `util.rs` +""" +aggregated-from = "https://chromium.googlesource.com/chromium/src/+/main/third_party/rust/chromium_crates_io/supply-chain/audits.toml?format=TEXT" + +[[audits.google.audits.lazy_static]] +who = "Lukasz Anforowicz " +criteria = "safe-to-deploy" +version = "1.4.0" +notes = ''' +I grepped for \"crypt\", \"cipher\", \"fs\", \"net\" - there were no hits. + +There are two places where `unsafe` is used. Unsafe review notes can be found +in https://crrev.com/c/5347418. + +This crate has been added to Chromium in https://crrev.com/c/3321895. +''' +aggregated-from = "https://chromium.googlesource.com/chromium/src/+/main/third_party/rust/chromium_crates_io/supply-chain/audits.toml?format=TEXT" + +[[audits.google.audits.lazy_static]] +who = "Lukasz Anforowicz " +criteria = "safe-to-deploy" +delta = "1.4.0 -> 1.5.0" +notes = "Unsafe review notes: https://crrev.com/c/5650836" +aggregated-from = "https://chromium.googlesource.com/chromium/src/+/main/third_party/rust/chromium_crates_io/supply-chain/audits.toml?format=TEXT" + +[[audits.google.audits.num-traits]] +who = "Manish Goregaokar " +criteria = "safe-to-deploy" +version = "0.2.19" +notes = "Contains a single line of float-to-int unsafe with decent safety comments" +aggregated-from = "https://chromium.googlesource.com/chromium/src/+/main/third_party/rust/chromium_crates_io/supply-chain/audits.toml?format=TEXT" + +[[audits.google.audits.quote]] +who = "Lukasz Anforowicz " +criteria = "safe-to-deploy" +version = "1.0.35" +notes = """ +Grepped for "unsafe", "crypt", "cipher", "fs", "net" - there were no hits +(except for benign "net" hit in tests and "fs" hit in README.md) +""" +aggregated-from = "https://chromium.googlesource.com/chromium/src/+/main/third_party/rust/chromium_crates_io/supply-chain/audits.toml?format=TEXT" + +[[audits.google.audits.quote]] +who = "Adrian Taylor " +criteria = "safe-to-deploy" +delta = "1.0.35 -> 1.0.36" +aggregated-from = "https://chromium.googlesource.com/chromium/src/+/main/third_party/rust/chromium_crates_io/supply-chain/audits.toml?format=TEXT" + +[[audits.google.audits.quote]] +who = "Lukasz Anforowicz " +criteria = "safe-to-deploy" +delta = "1.0.36 -> 1.0.37" +notes = """ +The delta just 1) inlines/expands `impl ToTokens` that used to be handled via +`primitive!` macro and 2) adds `impl ToTokens` for `CStr` and `CString`. +""" +aggregated-from = "https://chromium.googlesource.com/chromium/src/+/main/third_party/rust/chromium_crates_io/supply-chain/audits.toml?format=TEXT" + +[[audits.google.audits.quote]] +who = "Dustin J. Mitchell " +criteria = "safe-to-deploy" +delta = "1.0.37 -> 1.0.38" +notes = "Still no unsafe" +aggregated-from = "https://chromium.googlesource.com/chromium/src/+/main/third_party/rust/chromium_crates_io/supply-chain/audits.toml?format=TEXT" + +[[audits.google.audits.quote]] +who = "Daniel Cheng " +criteria = "safe-to-deploy" +delta = "1.0.38 -> 1.0.39" +notes = "Only minor changes for clippy lints and documentation." +aggregated-from = "https://chromium.googlesource.com/chromium/src/+/main/third_party/rust/chromium_crates_io/supply-chain/audits.toml?format=TEXT" + +[[audits.google.audits.quote]] +who = "Lukasz Anforowicz " +criteria = "safe-to-deploy" +delta = "1.0.39 -> 1.0.40" +notes = """ +The delta is just a simplification of how `tokens.extend(...)` call is made. +Still no `unsafe` anywhere. +""" +aggregated-from = "https://chromium.googlesource.com/chromium/src/+/main/third_party/rust/chromium_crates_io/supply-chain/audits.toml?format=TEXT" + +[[audits.google.audits.rand]] +who = "Lukasz Anforowicz " +criteria = "safe-to-deploy" +version = "0.8.5" +notes = """ +For more detailed unsafe review notes please see https://crrev.com/c/6362797 +""" +aggregated-from = "https://chromium.googlesource.com/chromium/src/+/main/third_party/rust/chromium_crates_io/supply-chain/audits.toml?format=TEXT" + +[[audits.google.audits.rand_chacha]] +who = "Lukasz Anforowicz " +criteria = "safe-to-deploy" +version = "0.3.1" +notes = """ +For more detailed unsafe review notes please see https://crrev.com/c/6362797 +""" +aggregated-from = "https://chromium.googlesource.com/chromium/src/+/main/third_party/rust/chromium_crates_io/supply-chain/audits.toml?format=TEXT" + +[[audits.google.audits.rand_core]] +who = "Lukasz Anforowicz " +criteria = "safe-to-deploy" +version = "0.6.4" +notes = """ +For more detailed unsafe review notes please see https://crrev.com/c/6362797 +""" +aggregated-from = "https://chromium.googlesource.com/chromium/src/+/main/third_party/rust/chromium_crates_io/supply-chain/audits.toml?format=TEXT" + +[[audits.google.audits.smallvec]] +who = "Manish Goregaokar " +criteria = "safe-to-deploy" +version = "1.13.2" +aggregated-from = "https://chromium.googlesource.com/chromium/src/+/main/third_party/rust/chromium_crates_io/supply-chain/audits.toml?format=TEXT" + +[[audits.google.audits.smallvec]] +who = "Jonathan Hao " +criteria = "safe-to-deploy" +delta = "1.13.2 -> 1.14.0" +notes = """ +WARNING: This certification is a result of a **partial** audit. The +`malloc_size_of` feature has **not** been audited. This feature does +not explicitly document its safety requirements. +See also https://chromium-review.googlesource.com/c/chromium/src/+/6275133/comment/ea0d7a93_98051a2e/ +and https://github.com/servo/malloc_size_of/issues/8. +This feature is banned in gnrt_config.toml. +""" +aggregated-from = "https://chromium.googlesource.com/chromium/src/+/main/third_party/rust/chromium_crates_io/supply-chain/audits.toml?format=TEXT" + +[[audits.google.audits.strsim]] +who = "danakj@chromium.org" +criteria = "safe-to-deploy" +version = "0.10.0" +notes = """ +Reviewed in https://crrev.com/c/5171063 + +Previously reviewed during security review and the audit is grandparented in. +""" +aggregated-from = "https://chromium.googlesource.com/chromium/src/+/main/third_party/rust/chromium_crates_io/supply-chain/audits.toml?format=TEXT" + +[[audits.google.audits.tinyvec_macros]] +who = "George Burgess IV " +criteria = "safe-to-deploy" +version = "0.1.0" +aggregated-from = "https://chromium.googlesource.com/chromiumos/third_party/rust_crates/+/refs/heads/main/cargo-vet/audits.toml?format=TEXT" + +[[audits.google.audits.utf8parse]] +who = "David Koloski " +criteria = "safe-to-deploy" +version = "0.2.1" +notes = "Reviewed on https://fxrev.dev/904811" +aggregated-from = "https://fuchsia.googlesource.com/fuchsia/+/refs/heads/main/third_party/rust_crates/supply-chain/audits.toml?format=TEXT" + +[[audits.isrg.audits.cfg-if]] +who = "David Cook " +criteria = "safe-to-deploy" +delta = "1.0.0 -> 1.0.1" + +[[audits.isrg.audits.cfg-if]] +who = "J.C. Jones " +criteria = "safe-to-deploy" +delta = "1.0.1 -> 1.0.3" + +[[audits.isrg.audits.cfg-if]] +who = "David Cook " +criteria = "safe-to-deploy" +delta = "1.0.3 -> 1.0.4" + +[[audits.isrg.audits.getrandom]] +who = "David Cook " +criteria = "safe-to-deploy" +delta = "0.3.4 -> 0.4.0" + +[[audits.isrg.audits.getrandom]] +who = "David Cook " +criteria = "safe-to-deploy" +delta = "0.4.0 -> 0.4.1" + +[[audits.isrg.audits.rand]] +who = "David Cook " +criteria = "safe-to-deploy" +delta = "0.8.5 -> 0.9.1" + +[[audits.isrg.audits.rand]] +who = "Tim Geoghegan " +criteria = "safe-to-deploy" +delta = "0.9.1 -> 0.9.2" + +[[audits.isrg.audits.rand_chacha]] +who = "David Cook " +criteria = "safe-to-deploy" +delta = "0.3.1 -> 0.9.0" + +[[audits.isrg.audits.rand_core]] +who = "David Cook " +criteria = "safe-to-deploy" +delta = "0.6.4 -> 0.9.3" + +[[audits.isrg.audits.rand_core]] +who = "J.C. Jones " +criteria = "safe-to-deploy" +delta = "0.9.3 -> 0.9.5" + +[[audits.isrg.audits.subtle]] +who = "David Cook " +criteria = "safe-to-deploy" +delta = "2.5.0 -> 2.6.1" + +[[audits.isrg.audits.untrusted]] +who = "David Cook " +criteria = "safe-to-deploy" +version = "0.7.1" + +[[audits.mozilla.wildcard-audits.utf8_iter]] +who = "Henri Sivonen " +criteria = "safe-to-deploy" +user-id = 4484 # Henri Sivonen (hsivonen) +start = "2022-04-19" +end = "2027-10-30" +notes = "I wrote this crate." +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.either]] +who = "Nika Layzell " +criteria = "safe-to-deploy" +version = "1.6.1" +notes = """ +Straightforward crate providing the Either enum and trait implementations with +no unsafe code. +""" +aggregated-from = "https://raw.githubusercontent.com/mozilla/cargo-vet/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.either]] +who = "Mike Hommey " +criteria = "safe-to-deploy" +delta = "1.6.1 -> 1.7.0" +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.either]] +who = "Mike Hommey " +criteria = "safe-to-deploy" +delta = "1.7.0 -> 1.8.0" +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.either]] +who = "Mike Hommey " +criteria = "safe-to-deploy" +delta = "1.8.0 -> 1.8.1" +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.either]] +who = "Erich Gubler " +criteria = "safe-to-deploy" +delta = "1.8.1 -> 1.9.0" +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.either]] +who = "Erich Gubler " +criteria = "safe-to-deploy" +delta = "1.9.0 -> 1.10.0" +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.either]] +who = "Erich Gubler " +criteria = "safe-to-deploy" +delta = "1.10.0 -> 1.12.0" +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.either]] +who = "Erich Gubler " +criteria = "safe-to-deploy" +delta = "1.12.0 -> 1.13.0" +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.either]] +who = "Erich Gubler " +criteria = "safe-to-deploy" +delta = "1.13.0 -> 1.14.0" +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.either]] +who = "Erich Gubler " +criteria = "safe-to-deploy" +delta = "1.14.0 -> 1.15.0" +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.either]] +who = "Erich Gubler " +criteria = "safe-to-deploy" +delta = "1.15.0 -> 1.16.0" +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.fallible-iterator]] +who = "Jan-Erik Rediger " +criteria = "safe-to-deploy" +version = "0.2.0" +aggregated-from = "https://raw.githubusercontent.com/mozilla/glean/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.fallible-streaming-iterator]] +who = "Jan-Erik Rediger " +criteria = "safe-to-deploy" +version = "0.1.9" +aggregated-from = "https://raw.githubusercontent.com/mozilla/glean/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.fnv]] +who = "Bobby Holley " +criteria = "safe-to-deploy" +version = "1.0.7" +notes = "Simple hasher implementation with no unsafe code." +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.foldhash]] +who = "Erich Gubler " +criteria = "safe-to-deploy" +delta = "0.1.5 -> 0.2.0" +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.form_urlencoded]] +who = "Valentin Gosu " +criteria = "safe-to-deploy" +version = "1.2.0" +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.form_urlencoded]] +who = "Valentin Gosu " +criteria = "safe-to-deploy" +delta = "1.2.0 -> 1.2.1" +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.form_urlencoded]] +who = "edgul " +criteria = "safe-to-deploy" +delta = "1.2.1 -> 1.2.2" +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.getrandom]] +who = "Alex Franchuk " +criteria = "safe-to-deploy" +delta = "0.4.2 -> 0.4.3" +aggregated-from = "https://raw.githubusercontent.com/mozilla/cargo-vet/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.indexmap]] +who = "Erich Gubler " +criteria = "safe-to-deploy" +delta = "2.8.0 -> 2.11.4" +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.indexmap]] +who = "Ben Dean-Kawamura " +criteria = "safe-to-deploy" +delta = "2.11.4 -> 2.14.0" +notes = "Mostly internal refactorings. No new unsafe code." +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.percent-encoding]] +who = "Valentin Gosu " +criteria = "safe-to-deploy" +delta = "2.2.0 -> 2.3.0" +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.percent-encoding]] +who = "Valentin Gosu " +criteria = "safe-to-deploy" +delta = "2.3.0 -> 2.3.1" +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.percent-encoding]] +who = "edgul " +criteria = "safe-to-deploy" +delta = "2.3.1 -> 2.3.2" +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.quote]] +who = "Jan-Erik Rediger " +criteria = "safe-to-deploy" +delta = "1.0.40 -> 1.0.45" +aggregated-from = "https://raw.githubusercontent.com/mozilla/glean/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.quote]] +who = "Jan-Erik Rediger " +criteria = "safe-to-deploy" +delta = "1.0.45 -> 1.0.47" +aggregated-from = "https://raw.githubusercontent.com/mozilla/glean/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.sharded-slab]] +who = "Mark Hammond " +criteria = "safe-to-deploy" +delta = "0.1.4 -> 0.1.7" +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.shlex]] +who = "Max Inden " +criteria = "safe-to-deploy" +delta = "1.1.0 -> 1.3.0" +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.shlex]] +who = "Emilio Cobos Álvarez " +criteria = "safe-to-deploy" +delta = "1.3.0 -> 2.0.1" +notes = """ +Mostly removes some deprecated and unsound APIs. +""" +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.smallvec]] +who = "Erich Gubler " +criteria = "safe-to-deploy" +delta = "1.14.0 -> 1.15.1" +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.smallvec]] +who = "Mike Hommey " +criteria = "safe-to-deploy" +delta = "1.15.1 -> 1.15.2" +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.strsim]] +who = "Ben Dean-Kawamura " +criteria = "safe-to-deploy" +delta = "0.10.0 -> 0.11.1" +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.subtle]] +who = "Simon Friedberger " +criteria = "safe-to-deploy" +version = "2.5.0" +notes = "The goal is to provide some constant-time correctness for cryptographic implementations. The approach is reasonable, it is known to be insufficient but this is pointed out in the documentation." +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.sync_wrapper]] +who = "Alex Franchuk " +criteria = "safe-to-deploy" +version = "1.0.2" +notes = "Simple crate, nothing out of the ordinary." +aggregated-from = "https://raw.githubusercontent.com/mozilla/cargo-vet/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.synstructure]] +who = "Nika Layzell " +criteria = "safe-to-deploy" +version = "0.12.6" +notes = """ +I am the primary author of the `synstructure` crate, and its current +maintainer. The one use of `unsafe` is unnecessary, but documented and +harmless. It will be removed in the next version. +""" +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.synstructure]] +who = "Mike Hommey " +criteria = "safe-to-deploy" +delta = "0.12.6 -> 0.13.0" +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.synstructure]] +who = "Mike Hommey " +criteria = "safe-to-deploy" +delta = "0.13.0 -> 0.13.1" +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.synstructure]] +who = "Nika Layzell " +criteria = "safe-to-deploy" +delta = "0.13.1 -> 0.13.2" +aggregated-from = "https://raw.githubusercontent.com/mozilla/cargo-vet/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.tinyvec_macros]] +who = "Drew Willcoxon " +criteria = "safe-to-deploy" +delta = "0.1.0 -> 0.1.1" +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.tracing-core]] +who = "Alex Franchuk " +criteria = "safe-to-deploy" +version = "0.1.30" +notes = """ +Most unsafe code is in implementing non-std sync primitives. Unsafe impls are +logically correct and justified in comments, and unsafe code is sound and +justified in comments. +""" +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.tracing-core]] +who = "Mark Hammond " +criteria = "safe-to-deploy" +delta = "0.1.30 -> 0.1.33" +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.tracing-core]] +who = "Alex Franchuk " +criteria = "safe-to-deploy" +delta = "0.1.34 -> 0.1.36" +aggregated-from = "https://raw.githubusercontent.com/mozilla/cargo-vet/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.untrusted]] +who = "Alex Franchuk " +criteria = "safe-to-deploy" +delta = "0.7.1 -> 0.9.0" +notes = "Mostly a refactor of existing code. No use of std, no unsafe, no dependencies." +aggregated-from = "https://raw.githubusercontent.com/mozilla/cargo-vet/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.utf8parse]] +who = "Nika Layzell " +criteria = "safe-to-deploy" +delta = "0.2.1 -> 0.2.2" +aggregated-from = "https://raw.githubusercontent.com/mozilla/cargo-vet/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.web-time]] +who = "Alex Franchuk " +criteria = "safe-to-deploy" +version = "1.1.0" +notes = "Reasonable dependencies, unsafe code denied. The only use of std is to forward std::time when used on non-wasm targets and to reuse a few std::time things that are still applicable." +aggregated-from = "https://raw.githubusercontent.com/mozilla/cargo-vet/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.zmij]] +who = "Benjamin VanderSloot " +criteria = "safe-to-deploy" +version = "1.0.20" +notes = """ +A lot of unsafe code here, included as a dependency of serde_json. +The testing is very thorough, validating all 32-bit floats, and 100m +random 64-bit floats. No unsafe imports. +""" +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.zmij]] +who = "Ben Dean-Kawamura " +criteria = "safe-to-deploy" +delta = "1.0.20 -> 1.0.21" +notes = "Almost no code changes. No new unsafe code." +aggregated-from = "https://raw.githubusercontent.com/mozilla-firefox/firefox/main/supply-chain/audits.toml" diff --git a/worklog.md b/worklog.md index 6da40fc..317f844 100644 --- a/worklog.md +++ b/worklog.md @@ -118,3 +118,5 @@ - Reviewed all 13 open Dependabot PRs. Fixed the MiniJinja 3 render-context migration, repaired the split CodeQL action update by pinning init/analyze together, grouped future CodeQL Dependabot updates, and stacked the MiniJinja fix branch on the CodeQL repair branch for combined verification. - Started converting all 12 remaining open PRs into one linear dependency stack, preserving the CodeQL repair below the MiniJinja migration and layering each remaining dependency update above the prior reviewed head. +- Started issue #167 on `chore/167-cargo-vet`: bootstrapping a committed cargo-vet policy for the locked Rust graph, adding a pinned CI gate, and documenting dependency-vetting maintenance. +- Completed issue #167 locally: imported audits from Mozilla, Google, the Bytecode Alliance, and ISRG; recorded exact-version bootstrap exemptions for the remaining graph; added a checksummed cargo-vet 0.10.3 CI gate; and documented maintenance. Verified the locked vet policy, the release-binary checksum/install path, workflow syntax, formatting, 203 Rust tests, Clippy with warnings denied, and diff checks.