Idea: cargo-deny in CI: advisories, yanked crates, crates.io only (and pin-project-lite 0.2.19) #3263
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/mods
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot#3263
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;This looks like the same problem as MagicBeanDev/LongshotLauncher#420 (Idea: cargo-deny in CI: advisories, yanked crates, crates.io only (and pin-project-lite 0.2.19)), so I'm closing this one to keep the discussion in one place.
LongshotLauncher#420 proposes the same cargo-deny CI checks and pin-project-lite update, with the same criteria.
If it's different, reopen it and say how.
For maintainers
Exact matching open issue found in MagicBeanDev/LongshotLauncher#420.
Automated triage by BeanBot (gpt-6-luna). Nothing was run; a maintainer decides.