Skip to content

chore: bump regorus 0.2.8 → 0.10 to clear residual RUSTSEC-2026-0097#115

Merged
avrabe merged 1 commit into
mainfrom
chore/regorus-0.10-bump
May 16, 2026
Merged

chore: bump regorus 0.2.8 → 0.10 to clear residual RUSTSEC-2026-0097#115
avrabe merged 1 commit into
mainfrom
chore/regorus-0.10-bump

Conversation

@avrabe
Copy link
Copy Markdown
Contributor

@avrabe avrabe commented May 12, 2026

The audit fix in #110 bumped `rand` 0.9.x to 0.9.4 but left the residual `rand 0.8.5` in place (pulled transitively by `regorus 0.2.8`). That instance was carried under an explicit `--ignore RUSTSEC-2026-0097` in `supply-chain.yml` and `deny.toml` with the justification that wsc does not use custom rand loggers.

regorus 0.10 is now out and drops the `rand 0.8.5` transitive from the dep graph entirely. With it gone, the ignore entries are no longer needed.

Before / after

```
before: cargo audit → 1 vulnerability + 2 warnings (rand 0.8.5 ignored + rustls-pemfile unmaintained)
after: cargo audit → 0 vulnerabilities + 1 warning (rustls-pemfile unmaintained, still in ignore list pending upstream deprecation)
```

Changes

  • `src/lib/Cargo.toml` — `regorus = "0.2"` → `"0.10"` (major version jump; the dep is optional behind `--features rego` for Rego policy language power users)
  • `Cargo.lock` — regenerated; `rand 0.8.5` no longer present, `regorus 0.10.0` replaces `0.2.8`
  • `.github/workflows/supply-chain.yml` — drop `--ignore RUSTSEC-2026-0097` from cargo audit step + update rationale comment
  • `deny.toml` — drop the matching ignore entry

Test plan

  • `cargo build --workspace --release` clean (default features)
  • `cargo build --workspace --release --features rego` clean (regorus enabled path)
  • `cargo test --workspace --no-run --features rego` clean
  • `cargo audit` returns 0 vulnerabilities
  • CI passes

Risk

regorus 0.2 → 0.10 is a major version jump and may have breaking changes in the public API. Since the dep is feature-gated and `wsc` only consumes a narrow surface, the build success above is the primary validation. If consumers of `--features rego` see API regressions, a targeted fix lands quickly.

Refs: audit M-1-adjacent supply-chain follow-up.

The audit fix in PR #110 bumped rand 0.9.x to 0.9.4 but left the
residual rand 0.8.5 in place (pulled by regorus 0.2.8). That instance
was carried under an --ignore RUSTSEC-2026-0097 in supply-chain.yml
and deny.toml with a comment "tracked for upstream resolution; sigil
does not use custom rand loggers."

regorus 0.10 is now out and drops the rand 0.8.5 transitive from the
dep graph entirely. With it gone, the ignore entry in deny.toml and
the matching --ignore flag in supply-chain.yml are no longer needed —
cargo audit returns 0 vulnerabilities (excluding the unmaintained
rustls-pemfile, which stays in the ignore list pending upstream
deprecation).

The regorus dep is feature-gated behind `--features rego` and is
optional for power users of the Rego policy language; default builds
do not use it. cargo build (default), cargo build --features rego,
and cargo test --no-run --features rego all clean.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@avrabe avrabe force-pushed the chore/regorus-0.10-bump branch from 0519cae to 49a5f75 Compare May 16, 2026 13:32
@codecov
Copy link
Copy Markdown

codecov Bot commented May 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@avrabe avrabe merged commit 455b5f0 into main May 16, 2026
18 of 21 checks passed
@avrabe avrabe deleted the chore/regorus-0.10-bump branch May 16, 2026 15:06
avrabe added a commit that referenced this pull request May 16, 2026
Patch release bundling four PRs:
  #112 — Kani matrix fix + per-job tolerate_failure pattern
  #114 — Cerisier formalization companion docs (mapping + scenarios)
  #115 — bump regorus 0.2.8 → 0.10, fully clears RUSTSEC-2026-0097
  #116 — second Verus admit attempt (theorem_pae_injective_on_types)

Notable: cargo audit ignore-list is down to one entry (rustls-pemfile,
unmaintained-upstream). No actively-fixable RUSTSEC advisories remain.

Audit-related fixes from this release are summarised in the
"Audit follow-ups" sections of the CHANGELOG. Issue #117 (Sigstore
Fulcio cert rotation invalidated our pinned fingerprints) was
surfaced during this cycle and is tracked separately — not blocking
because audit C-4 documents that pinning is currently warn-only.

Trace: skip

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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