Skip to content

fix(opencode): override toml to 5.0.1 to clear high DoS advisories - #253

Merged
gurinderu merged 1 commit into
mainfrom
fix/opencode-audit-toml
Oct 23, 2026
Merged

gurinderu merged 1 commit into
mainfrom
fix/opencode-audit-toml

Conversation

@gurinderu

Copy link
Copy Markdown
Owner

The blocking audit of the OpenCode plugin's production closure fails on three high advisories in toml <= 5.0.0 (GHSA-4qx8-w7c3-pj3p, GHSA-9j65-hcg3-gc64, GHSA-9qmh-m7c6-f92p), reached through @opencode-ai/plugin → effect (pinned exactly to 4.0.0-beta.83, which asks for toml ^4.1.1; no fixed 4.x exists). An exact overrides entry pins toml to 5.0.1; the plugin itself stays on 1.18.25. effect uses only Toml.parse, whose export is unchanged in 5.0.1. Why the override exists and when it is lifted: realm @nick/craft, #310.

Dropped Low findings:

  • Whether Bun honours overrides in a consumer's opencode tree is unproven; the audit already disclaims consumer coverage.

@opencode-ai/plugin 1.18.25 pins effect 4.0.0-beta.83, which depends on
toml ^4.1.1; toml <=5.0.0 carries GHSA-4qx8-w7c3-pj3p, GHSA-9j65-hcg3-gc64
and GHSA-9qmh-m7c6-f92p (patched in 5.0.1). effect only calls Toml.parse,
whose API is unchanged in 5.0.1, so an exact override clears the blocking
audit without a breaking plugin bump.
@gurinderu
gurinderu merged commit 4de9d34 into main Oct 23, 2026
3 checks passed
@gurinderu
gurinderu deleted the fix/opencode-audit-toml branch October 23, 2026 08:37
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.

1 participant