Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 11 additions & 21 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 22 additions & 7 deletions osv-scanner.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,25 @@ reason = "rand 0.7.3 transitive via solana-* deps; fixed versions (0.8.6, 0.9.3)
# osv-scanner.toml) were removed, matching the sibling vendored crates
# vendor/solana-invoke and vendor/solana-keypair, which ship no lockfile.

[[IgnoredVulns]]
id = "RUSTSEC-2026-0173"
# proc-macro-error2 2.0.1 is a build-time proc-macro helper pulled in transitively
# via anchor-lang's derive macros. It runs only at compile time and is not part of
# the on-chain BPF runtime. osv reports no fixed version (FIXED VERSION: --), so this
# can only be filtered until anchor-lang migrates off proc-macro-error2.
reason = "proc-macro-error2 2.0.1 transitive via anchor-lang derive macros; build-time proc-macro only, not in on-chain BPF runtime; no upstream fix available"
# ── Version-scoped package exceptions ───────────────────────────────────────
#
# Prefer PackageOverrides over IgnoredVulns when only ONE version of a package
# is unfixable. IgnoredVulns matches by advisory ID alone, so it would suppress
# the advisory across the whole scan — including a future regression on a
# non-dev path. This form pins the exception to the exact version.

[[PackageOverrides]]
name = "memmap2"
version = "0.5.10"
ecosystem = "crates.io"
ignore = true
# Reached only through the vendored solana-program-test dev-dependency:
# solana-genesis-config 3.0.0 -> agave-snapshots -> solana-runtime ->
# solana-banks-server -> solana-program-test. That chain pins the 0.5.x line,
# so `cargo update` cannot lift it to 0.9.11 without an upstream Solana bump.
#
# The first-order path is NOT excepted — memmap2 0.9.10 was updated to the
# fixed 0.9.11 in this same change, and because this override is version-scoped
# RUSTSEC-2026-0186 still fires on any other memmap2 version. Drop this block
# as soon as Solana moves off memmap2 0.5.
reason = "memmap2 0.5.10 only, transitive via vendored solana-program-test (dev-dep); 0.9.x path already updated to the fixed 0.9.11; 0.5.x pin requires upstream Solana bump"
Loading