fix(security): update axios override to patched release (1.14.0 → 1.18.1)

Merged
DI
4mo ago
+7-3

Summary

Bump the repository-level overrides.axios from 1.14.0 → 1.18.1 (the latest release) and refresh bun.lock so every transitive Axios consumer resolves to the patched version.

Why this matters

main still forces all Axios consumers to 1.14.0 via the root override. bun audit reports 28 advisory findings against that pin — multiple high-severity — reaching the API through @slack/web-api and @tavily/core:

  • Proxy-Authorization credential leak across HTTP→HTTPS redirect (GHSA-p92q-9vqr-4j8v)
  • Full MITM / credential theft via prototype-pollution gadgets in config merge (GHSA-35jp-ww65-95wh, GHSA-3g43-6gmg-66jw)
  • ReDoS via cookie-name injection (GHSA-hfxv-24rg-xrqf)
  • Unrestricted cloud-metadata exfiltration / SSRF via NO_PROXY bypass

After the bump, bun audit reports 0 Axios advisories.

Verification (keyless)

# base main (axios 1.14.0)
$ bun audit | grep -c advisories   → 28 findings (high: SSRF, cred-leak, prototype-pollution MITM, ReDoS)

# this branch (axios 1.18.1)
$ bun audit                         → 0 axios advisories
$ bun install --frozen-lockfile     → lock consistent (single, minimal lock delta — regenerated with bun, not hand-merged)

Notes

  • The bun.lock change is a minimal, bun-regenerated delta (not a hand-edited hash).
  • This supersedes #5478, which was closed while it carried a bun.lock merge conflict — that conflict is resolved here and the branch is rebased clean onto main (mergeable).
  • @Kitenite — since main is still on the vulnerable pin, opening this as a ready-to-merge follow-up; entirely your call on whether/how to land it.

Summary by cubic

Update root override to axios@1.18.1 and regenerate bun.lock so all transitive consumers use the patched release. Clears high‑severity axios advisories in bun audit; lock now includes upstream https-proxy-agent.

Summary by CodeRabbit

  • Chores
    • Updated the Axios version used by the application to incorporate the latest available updates and fixes.