Skip to content

fix(deps): clear the toml audit advisories blocking CI - #6

Merged
GimpyHand merged 1 commit into
masterfrom
chore/toml-audit-fix
Oct 28, 2026
Merged

GimpyHand merged 1 commit into
masterfrom
chore/toml-audit-fix

Conversation

@GimpyHand

Copy link
Copy Markdown
Owner

Problem

pnpm audit --prod fails on master with three high advisories against toml@4.3.0 (GHSA-4qx8-w7c3-pj3p, GHSA-9j65-hcg3-gc64, GHSA-9qmh-m7c6-f92p — toml-node parsing DoS), all patched in >=5.0.1. effect@4.0.0-beta.103 declares toml: ^4.1.2, so no in-range fix exists, and the bridge job goes red for every PR — including docs-only ones.

Solution

Force toml: 5.0.1 through a pnpm override and refresh the lockfile.

This is safe for the shipped artifact because Effect's only use is Toml.parse() inside unstable/cli, which this bridge never imports: grep finds no toml in bridge/dist/t3-mini-bridge.mjs, and the rebuilt bundle is byte-identical (35efd46c…) to the committed one. The tracked lib/t3-mini-bridge-linux-x64.gz payload therefore stays valid and needs no rebuild; CI's provenance step re-checks that against the pinned Node 24 build.

Verification

  • pnpm audit --prod --audit-level moderate → no known vulnerabilities
  • pnpm --filter @omarchy-t3/bridge build → bundle hash unchanged
  • pnpm test → 84 passed

Closes #5


T3 Code · opencode (deepseek-v4.1-flash-free)

effect@4.0.0-beta.103 pins toml ^4.x and three new toml-node parsing
DoS advisories make the bridge job red on every PR. Effect only reaches
toml through unstable/cli, which this bridge never imports, and toml is
not in the built bundle, so the patched release is a safe override.

Refs #5
@coderabbitai

coderabbitai Bot commented Oct 28, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 55 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1405e02c-1674-43a2-86c6-7a00cadf9813
Commits

Reviewing files that changed from the base of the PR and between 8426e75 and 81e47b1.

Files ignored due to path filters: 1
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
Files selected for processing: 1
  • pnpm-workspace.yaml
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@GimpyHand
GimpyHand merged commit cdfe933 into master Oct 28, 2026
5 checks passed
@GimpyHand
GimpyHand deleted the chore/toml-audit-fix branch October 28, 2026 18:36
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.

CI: pnpm audit fails on master for toml 4.3.0 (3 high advisories via effect)

1 participant