Skip to content

chore(ffi): fix RUSTSEC advisories + add audit CI job - #210

Merged
Nic-dorman merged 1 commit into
mainfrom
chore/ffi-sec-audit-bumps
Jul 9, 2026
Merged

chore(ffi): fix RUSTSEC advisories + add audit CI job#210
Nic-dorman merged 1 commit into
mainfrom
chore/ffi-sec-audit-bumps

Conversation

@Nic-dorman

Copy link
Copy Markdown
Collaborator

The ffi subtree had no security-audit CIci.yml's audit job only covers antd / antd-rust, and ffi-only PRs don't trigger ci.yml. As a result AntFfi v0.0.5 shipped with 4 transitively-vulnerable crates.

Fixes (all semver-compatible, lockfile-only, no manifest change):

crate bump advisories
crossbeam-epoch 0.9.18 → 0.9.20 RUSTSEC-2026-0204 (invalid pointer deref)
rustls-webpki 0.103.10 → 0.103.13 RUSTSEC-2026-0104 (panic in CRL parsing), RUSTSEC-2026-0098 / -0099 (name-constraint bypasses)

cargo audit is now clean (0 vulnerabilities; the remaining 9 are allowed unmaintained warnings). cargo build -p ant-ffi green.

Also adds a Security audit job to ffi-ci.yml (mirrors ci.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

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>
@Nic-dorman
Nic-dorman merged commit 5557e31 into main Jul 9, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant