Idea: cargo-deny in CI: advisories, yanked crates, crates.io only (and pin-project-lite 0.2.19) #420
Labels
No labels
area/build
area/install
area/mods
area/saves
area/tooling
area/ui
area/updates
ci: approved
good first issue
gpu/amd
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
platform/linux
platform/steam-deck
platform/windows
priority
critical
priority
high
priority
low
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/LongshotLauncher#420
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The idea
Run cargo-deny (or
cargo audit) in CI onCargo.lock:advisories: RustSec advisories and yanked crates fail the check;sources: crates.io only, so a git or other registry dependency has to be allowed on purpose;licensesandbans(duplicate versions).Why
Every crate in
Cargo.lockmatches crates.io today: I checked every checksum against crates.io's index while looking into LongshotLauncher issue 379. But nothing would tell us when one of them gets a security advisory or is pulled by its maintainer. One already has been:pin-project-lite 0.2.18was yanked on 2 December for a soundness bug fixed in 0.2.19. That bug is in the macro's checking, not malware, and it has no advisory.cargo update -p pin-project-litetakes it to 0.2.19.Done when
pin-project-liteis at 0.2.19 or later;