Skip to content
This repository was archived by the owner on Jun 2, 2026. It is now read-only.

feat: add cargo audit CI pipeline [ENG-5667]#404

Open
pistomat wants to merge 1 commit into
mainfrom
mp/add-cargo-audit-ci
Open

feat: add cargo audit CI pipeline [ENG-5667]#404
pistomat wants to merge 1 commit into
mainfrom
mp/add-cargo-audit-ci

Conversation

@pistomat
Copy link
Copy Markdown
Contributor

@pistomat pistomat commented Mar 10, 2026

Summary

  • Add .github/workflows/security.yml running cargo audit and cargo machete on both substreams and protocol-testing workspaces
  • Update vulnerable dependencies across all workspaces: bytes, quinn-proto, ruint, time
  • Bump tracing-subscriber 0.3.19 → 0.3.20 in protocol-testing (fixes direct dep RUSTSEC-2025-0055)
  • Add protocol-testing/.cargo/audit.toml to ignore unfixable advisory:
    • RUSTSEC-2025-0055 (tracing-subscriber 0.2.25): transitive dep via ark-relations → revm, not part of compiled binary
  • Remove ~50 unused dependencies across 19 substreams crates and protocol-testing (detected by cargo-machete)
  • Add [package.metadata.cargo-machete] ignore entries for false positives (proc macros, alloy re-exports)

Test plan

  • cargo audit passes locally with 0 vulnerabilities in both workspaces
  • cargo machete passes locally in both workspaces
  • cargo check passes for substreams workspace
  • Security audit CI passes on this PR

Related: ENG-5667

🤖 Generated with Claude Code

Add .github/workflows/security.yml with cargo audit and cargo machete
jobs for both substreams and protocol-testing workspaces.

- Bump tracing-subscriber 0.3.19 → 0.3.20 in protocol-testing
- Add .cargo/audit.toml to ignore unfixable tracing-subscriber 0.2.25
  advisory (transitive dep via ark-relations → revm)
- Remove ~50 unused dependencies across 19 substreams crates and
  protocol-testing (detected by cargo-machete)
- Add cargo-machete ignore entries for false positives

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@pistomat pistomat force-pushed the mp/add-cargo-audit-ci branch from a4d5557 to 635b984 Compare March 11, 2026 10:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant