Open and answer this issue on GitHub.
ready · opened 2026-11-23 · updated 2026-11-23 · 0 comments
Found while auditing the Dependabot warnings (owner’s request, 2026-11-23). The Dependabot alerts API answers 403 to our integration, so the warnings were checked by running cargo audit locally over each lockfile.
That run found:
crates/unsafe/polled/Cargo.lock, fixed in 3ea203ac1;benches/game/Cargo.lock, which #2806 raises.CI checks none of the 21 tracked Cargo.lock files today:
git ls-files '*Cargo.lock' lists the 21 files;.github/workflows/*.yml runs an audit.The owner decided on 2026-11-23 that CI gets this check.
A run fails when a tracked Cargo.lock holds a crate with a RustSec advisory of kind vulnerability or unsound. This applies to every push to develop and ci/**, and to the weekly scheduled run.
Advisories of kind unmaintained or yanked are printed, but they do not fail the run.
scripts/audit.nika.
Cargo.lock with git ls-files.cargo audit -q -n --json -f <lock> on each.tests/compiler/tests/audit_classify.nika with its .stdout. It runs on a canned JSON sample with one finding of each kind; the rows it shows are each finding’s classification and the exit decision.checks job of .github/workflows/nikaia.yml, after the build.
cargo-audit, either with cargo install cargo-audit --locked cached with the cargo registry, or as a prebuilt binary; the builder chooses../target/release/nikaia run scripts/audit.nika.develop; otherwise develop turns red.Fixes #N.Both of the following hold:
benches/game advisory fixed, nikaia run scripts/audit.nika exits 0.The CI step runs the script. The report gives one Found: line per finding.
Needs #2806 (the benches/game dependency raise).
scripts/audit.nika, .github/workflows/nikaia.yml and the test.-n (no fetch) is only for local reruns.Facts: CI and caches
cargo audit step: it would fail on unmaintained crates (paste, unsafe-libyaml), and it audits only the root lockfile.Generated by Claude Code