fix(security): update axios override to patched release
Summary
This PR updates the repository-level Axios override from 1.14.0 to 1.18.1 and refreshes bun.lock so all transitive Axios consumers resolve to the patched release.
Why this matters
The root override forced all Axios consumers to 1.14.0. bun audit reports 23 Axios advisories for that version, including high-severity proxy/SSRF, credential leak, and prototype-pollution gadget issues. The API uses Axios transitively through integrations such as Slack and Tavily/Mastra, so the override affects production server-side dependency resolution.
External references checked before the change:
- npm lists
axios@1.18.1as the current latest release: https://www.npmjs.com/package/axios?activeTab=versions - Axios GitHub releases note
1.18.0/1.18.1hardening and fixes: https://github.com/axios/axios/releases - Axios GitHub security advisories published on 2026-07-06 list
>=1.18.0as patched for the newest Axios 1.x advisories, including FormData recursion, auth subfield prototype-pollution,0.0.0.0NO_PROXYbypass, and request-construction prototype-pollution gadgets: https://github.com/axios/axios/security/advisories
Changes
- Updates the root
overrides.axiospin from1.14.0to1.18.1. - Refreshes
bun.lockto resolve Axios to1.18.1and its updated dependency set. - Preserves the repository-wide override so all transitive consumers share one patched Axios floor.
Validation
Commands run:
bun info axios version— passed; returned1.18.1bun install --lockfile-only --ignore-scripts— passedbun install --frozen --ignore-scripts— passedbun audit --jsonbefore/after — ran; Axios advisories dropped from 23 to 0bun pm why axios— passed; showed Axios resolved to1.18.1through Slack/Tavily/Mastra pathscd apps/api && bun test src— passed (16 tests)bunx @biomejs/biome@2.4.2 check package.json— passedgit diff --check— passed
Failures:
bun audit --jsonstill exits non-zero after the change due to unrelated non-Axios advisories already present in the dependency graph.
Risk
Risk level: medium
Compatibility impact: Axios is upgraded across all transitive consumers from 1.14.0 to 1.18.1. This is a patch/minor-range security update on the existing Axios 1.x line.
Rollback simplicity: revert package.json and bun.lock.
Remaining edge cases: transitive consumers may rely on Axios internals, but @slack/web-api and @tavily/core both declare Axios ranges that accept 1.18.1.
Issue
No existing issue. This was discovered during repository analysis.
Notes for maintainers
bun install also refreshed stale workspace version metadata in bun.lock for packages whose package.json versions already changed on main; no package source files were modified.
Summary by cubic
Updates the repo-wide axios override to 1.18.1 to remove known security advisories and ensure all transitive consumers use the patched version.
- Dependencies
- Set
overrides.axiosto1.18.1inpackage.jsonandbun.lock. - Regenerated lockfile so Slack/Tavily/Mastra paths resolve to
axios@1.18.1(addshttps-proxy-agent, updatesfollow-redirects). bun audit: Axios findings drop from 23 to 0.
- Set