chore(ffi): fix RUSTSEC advisories + add audit CI job - #210
Merged
Conversation
The ffi subtree had no security-audit CI (ci.yml's audit job only covers
antd / antd-rust), so AntFfi v0.0.5 shipped with 4 transitively-vulnerable
crates. Bump them (all semver-compatible, lockfile-only, no manifest change):
crossbeam-epoch 0.9.18 -> 0.9.20 RUSTSEC-2026-0204 (invalid ptr deref)
rustls-webpki 0.103.10 -> 0.103.13
RUSTSEC-2026-0104 (reachable panic in CRL parsing)
RUSTSEC-2026-0098 (URI name constraints incorrectly accepted)
RUSTSEC-2026-0099 (wildcard name constraints incorrectly accepted)
`cargo audit` now clean (0 vulnerabilities); build green.
Also add a Security audit job to ffi-ci.yml mirroring ci.yml's, so ffi-only
PRs get audited and future advisories are caught before a release ships.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The ffi subtree had no security-audit CI —
ci.yml's audit job only coversantd/antd-rust, and ffi-only PRs don't triggerci.yml. As a result AntFfi v0.0.5 shipped with 4 transitively-vulnerable crates.Fixes (all semver-compatible, lockfile-only, no manifest change):
crossbeam-epochrustls-webpkicargo auditis now clean (0 vulnerabilities; the remaining 9 are allowed unmaintained warnings).cargo build -p ant-ffigreen.Also adds a
Security auditjob toffi-ci.yml(mirrorsci.yml's), so ffi-only PRs get audited and future advisories are caught before a release ships — this gap is why v0.0.5 went out vulnerable.Companion fix in ant-client (crossbeam-epoch) is a separate PR. Once this merges we can decide whether to re-cut AntFfi (v0.0.6) — the rustls-webpki TLS-validation fixes may warrant it.
🤖 Generated with Claude Code