Skip to content

Commit 326e38e

Browse files
fix(deps): close four runtime advisories, leave tar deliberately (#26)
Four runtime advisories closed through \overrides\: \cross-spawn\ (critical), \ws\ (high), \minimatch\ (high) and \glob\ (moderate). \@opencode/plugin\ to 2.4.5, \@opencode-ai/plugin\ to 1.19.6. \ ar\ stays at 7.5.x on purpose: the only patched line is 8.x, and forcing it breaks \pacote.extract()\, which \@opencode/util\ uses at runtime. Recorded in the CHANGELOG under \Known remaining\. Production audit: 10 high to 1 high, 5 critical to 0.
1 parent 1d86c01 commit 326e38e

3 files changed

Lines changed: 375 additions & 659 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Fixed
11+
12+
- Four advisories in the runtime dependency tree are closed with `overrides`: `cross-spawn` 7.0.6
13+
to 7.1.2 (critical, argument injection on Windows), `ws` 8.22.1 to 8.23.1 (high, memory
14+
exhaustion via automatic pong responses), `minimatch` 10.2.5 and 11.0.5 to 11.0.10 (high,
15+
quadratic compile time and globparts amplification), and `glob` 14.0.4 to 14.0.7 (moderate,
16+
`ignore` pattern limits). `npm audit --omit=dev --audit-level=high` reports no remaining
17+
critical or high advisory other than the one below.
18+
- `@opencode/plugin` to 2.4.5 and `@opencode-ai/plugin` to 1.19.6, the versions the suite was
19+
verified against.
20+
21+
### Known remaining
22+
23+
- `tar` 7.5.x carries open advisories (high). Its only patched release is 8.x, and forcing it
24+
breaks `pacote`, which `@opencode/util` uses at runtime: `pacote.extract()` fails with
25+
`this.dest.on is not a function`. The advisory therefore stays until the OpenCode SDK moves to
26+
tar 8, and the override is deliberately absent rather than shipped and broken. Verified: with
27+
the range forced, the full suite still passed and only the extract path failed, which is why the
28+
full suite is not enough to accept it.
29+
1030
## [0.5.2] - 2026-10-30
1131

1232
### Documented

0 commit comments

Comments
 (0)