fix(opencode-plugin): update @daytona/sdk to 0.204 to clear high-severity audit findings - #51
Merged
Merged
Conversation
…rity audit findings @daytona/sdk 0.163.0 pulls @opentelemetry/sdk-node < 0.217.0 and @opentelemetry/propagator-jaeger < 2.9.0, which npm audit flags as high severity (GHSA-q7rr-3cgh-j5r3, GHSA-45rx-2jwx-cxfr) with no fix available at that SDK version. 0.204.1 resolves all of them: npm audit reports zero vulnerabilities. No call sites change. Release notes show no breaking changes to the API surfaces this plugin uses, typecheck and build pass against the new types, and a live smoke test of the exact surfaces (create, fs.createFolder, process.executeCommand, createSshAccess, refreshData, get, delete) passes identically on 0.163.0 and 0.204.1 under bun. Fixes part of #46 Signed-off-by: Mislav Ivanda <mislavivanda454@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Part of #46 (additional context: a clean install reports high-severity audit findings through
@daytona/sdk@0.163.0).@daytona/sdk@0.163.0pins outdated@opentelemetry/*transitive deps flagged bynpm auditas high severity (GHSA-q7rr-3cgh-j5r3 — Prometheus exporter crash; GHSA-45rx-2jwx-cxfr — JaegerPropagator DoS) withfixAvailable: falseat that version.Note: the issue asked about "0.205", but the latest published version on npm is 0.204.1 — this PR targets
^0.204.1(same caret convention as before).Changes
@daytona/sdk:^0.163.0→^0.204.1(+ regeneratedpackage-lock.json)Compatibility verification
Daytonaconstructor,create/get/delete,process.executeCommand/session commands,createSshAccess,fs.*,state/refreshData); the only breaking change in range is list-secrets pagination (0.194.0), unused heretsc --noEmitand full build pass against the new types; no call-site changes needednpm audit --audit-level=high: 0 vulnerabilities after the bump (was 5 high)Summary by cubic
Upgrades
@daytona/sdkin the OpenCode plugin from^0.163.0to^0.204.1to eliminate high‑severitynpm auditfindings from transitive@opentelemetry/*packages.packages/opencode-plugin/package.jsonand regeneratespackage-lock.json; no source changes.create/get/delete,process.executeCommand/session,createSshAccess,fs.*,state/refreshData); list‑secrets pagination breaking change in 0.194.0 is not used.0.204.1, so we use^0.204.1as before.Written for commit aaa6344. Summary will update on new commits.