chore(deps): resolve high audit advisories#327
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4a3166c4d9
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| "next": "^16.2.9", | ||
| "react": "^19.2.7", | ||
| "react-dom": "^19.2.7", | ||
| "react-grab": "^0.1.44" |
There was a problem hiding this comment.
Regenerate the website lockfile workspace stanza
When installing the website from a clean checkout, Bun sees the new direct ranges here but website/bun.lock still records the old workspace ranges (next ^16.2.2, react ^19.2.4, etc. at lines 10-22). In this state it re-resolves the direct dependencies instead of using the committed lock, so frozen/offline installs fail and normal installs can silently rewrite the lockfile; regenerate website/bun.lock so the workspaces stanza matches these bumps.
Useful? React with 👍 / 👎.
4a3166c to
7afda82
Compare
11e01ce to
16a123e
Compare
7afda82 to
2c68656
Compare
295d6fb to
e349878
Compare
2c68656 to
593402c
Compare
Merge activity
|
|
Merged as part of the stack in #331. |

Plan 012: Triage high dependency advisories before release
Status
3ee5b79, 2026-06-13Why this matters
bun audit --audit-level highcurrently reports high-severity advisories in app, website, and e2e dependency trees. Release CI does not gate on audit status. Dependencies should be updated or documented with a narrow exception before tightening CI gates.Current state
Resolved in this checkout:
bun audit --audit-level highexit 0.react-router; website direct updates includenext.flatted,kysely,picomatch,serialize-javascript, andtmp.Relevant files:
package.json/bun.lock— app dependencies includereact-routerand transitive packages.website/package.json/lock — Next.js static export site.e2e-tests/package.json/lock — Mocha/Selenium/Tauri smoke tooling..github/dependabot.yml— existing Dependabot config.Known audit signal at planning time:
react-router,flatted,picomatch, transitivekysely.next.Commands you will need
bun audit --audit-level highcd website && bun audit --audit-level highcd e2e-tests && bun audit --audit-level highbun run lint:check && ./node_modules/.bin/tsc --noEmit && bun run testcd website && bun run lint && bun run buildScope
In scope:
docs/security-dependency-exceptions.mdonly if a high advisory cannot be fixed safely now.Out of scope:
Git workflow
Branch
advisor/012-triage-dependency-advisories; commitchore(deps): resolve high audit advisories.Steps
Step 1: Capture current audit output
Run audits in root, website, and e2e. Save a short summary in the PR description or a temporary note; do not commit raw noisy logs unless creating an exception doc.
Verify: audit commands reproduce the advisories.
Step 2: Update direct vulnerable dependencies first
Use Bun-compatible update commands to update direct dependencies such as
react-routerandnextto patched versions. Then refresh lockfiles and rerun audits. For transitive advisories, update parent packages or use supported overrides only if needed.Verify: relevant audit count decreases and install/check commands still pass.
Step 3: Document any remaining high advisory exception
If an advisory remains and cannot be patched without a large migration, create
docs/security-dependency-exceptions.mdwith:Verify: audit still fails only for documented exception, or all audits exit 0.
Step 4: Full validation
Run app and website checks.
Verify: all listed checks pass.
Done criteria
STOP conditions
Maintenance notes
Plan 013 should add CI gates once this plan leaves the repo in a clean audit state.