Skip to content

[BAC-255] fix(deps): clear hex.audit advisories and run hex.audit in CI - #15

Merged
brendon9x merged 2 commits into
mainfrom
bac-255-hex-audit
Nov 2, 2026
Merged

brendon9x merged 2 commits into
mainfrom
bac-255-hex-audit

Conversation

@nvolker

@nvolker nvolker commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Linear: BAC-255

Why

CI already runs mix hex.audit as a blocking step, but the lockfile carried 21 security advisories (tesla, mint, hpax, req), so the audit would fail on the next CI run.

What changed

Package Old New Advisories cleared
tesla (mix.exs: ~> 1.13.2 → ~> 1.18) 1.13.2 1.18.3 EEF-CVE-2026-48594, -48595, -48596, -48597, -48598
mint 1.6.2 1.10.2 EEF-CVE-2026-49754, -82672, -48861, -48862, -49753, -91043, -92103, -58229, -94194, -59246, -56810, -82728, -59249
hpax 1.0.2 1.0.4 EEF-CVE-2026-58226
rustler (optional, source builds only) 0.35.1 0.37.3 drops req 0.5.8 (EEF-CVE-2026-49755, EEF-CVE-2026-49756) from the lockfile; rustler ≥ 0.37 no longer depends on req
castore, jason, mime patch bumps pulled in by the updates above

finch, nimble_options, nimble_pool, req, telemetry and toml left the lockfile as unused.

Neither tesla nor mint is referenced from lib/, so the tesla constraint change does not touch library code. The Rust crate still pins rustler = "0.35.1"; with EXSTATIC_BUILD=true the NIF builds from source with the Mix-side rustler 0.37.3 and loads fine. Verified locally with EXSTATIC_BUILD=true MIX_ENV=test: mix compile --warnings-as-errors, mix deps.unlock --check-unused, mix format --check-formatted, mix credo --strict, mix dialyzer, mix test (48 doctests, 24 tests), mix test.coverage and mix sobelow --exit --threshold medium.

No version bump in this PR: the next release of the package will carry the looser tesla requirement.

Ignored advisories

None. mix hex.audit exits 0.

CI change

None needed: the existing Check for abandoned dependencies step already runs mix hex.audit without || true, and passes with this lockfile.

🤖 Generated with Claude Code

nvolker and others added 2 commits November 2, 2026 13:52
Loosen tesla to ~> 1.18 and bump tesla 1.13.2 -> 1.18.3, mint 1.6.2 ->
1.10.2 and hpax 1.0.2 -> 1.0.4. Bump the optional rustler build dependency
0.35.1 -> 0.37.3, which no longer depends on req, so req 0.5.8 and its
advisories leave the lockfile. The existing blocking mix hex.audit CI step
now passes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@brendon9x
brendon9x merged commit 462bb89 into main Nov 2, 2026
2 checks passed
@brendon9x
brendon9x deleted the bac-255-hex-audit branch November 2, 2026 13:20
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.

2 participants