Scheduled job to bump RustSec-only advisories

Aperta
#10,321 1 commento 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions, rust
Ambito
devops, security

Direzione di ricerca

Start by reading the proposed workflow in this issue and the linked moq.pro plan at quest/m0/nightly-green/rustsec-bumps.md in PR #4751. Check how this repository currently runs cargo audit, opens dependency update PRs, and sends them through the merge queue. Done means a scheduled workflow handles compatible RustSec fixes in one bump PR, while findings without a compatible fix remain visible for manual action.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

RustSec advisories that GitHub's advisory database doesn't mirror never trigger Dependabot security updates, so a lockfile bump waits until someone notices a red cargo audit and fixes it by hand. This repository did exactly that for curve25519-dalek RUSTSEC-2026-0620 in https://github.com/moq-dev/moq/pull/9951.

Proposal: a scheduled workflow (daily, independent of pushes) runs cargo audit --json. For each vulnerability with a semver-compatible fix it runs cargo update -p <crate>@<version> --precise <first fixed>, then opens or updates one bump PR that lands through the merge queue. A finding with no compatible fix stays an alert until someone fixes it or adds a reasoned ignore. Releases don't gate on the advisory database.

moq-dev/moq.pro plans the same job in https://github.com/moq-dev/moq.pro/pull/4751 (quest/m0/nightly-green/rustsec-bumps.md). Whichever lands first can become a shared step for the other.

(Written by Claude Opus 5.5 with high)

Lingua principale
Rust
Stelle
1.6k
Fork
251
Merge medio
10h 10m
PR unite (30g)
832

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di moq-dev/moq

Tutte le issue di moq-dev/moq

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.