Skip to content

fix(opencode-plugin): update @daytona/sdk to 0.204 to clear high-severity audit findings - #51

Merged
mislavivanda merged 1 commit into
mainfrom
fix/opencode-plugin-daytona-sdk-bump
Aug 14, 2026
Merged

fix(opencode-plugin): update @daytona/sdk to 0.204 to clear high-severity audit findings#51
mislavivanda merged 1 commit into
mainfrom
fix/opencode-plugin-daytona-sdk-bump

Conversation

@mislavivanda

@mislavivanda mislavivanda commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

Part of #46 (additional context: a clean install reports high-severity audit findings through @daytona/sdk@0.163.0).

@daytona/sdk@0.163.0 pins outdated @opentelemetry/* transitive deps flagged by npm audit as high severity (GHSA-q7rr-3cgh-j5r3 — Prometheus exporter crash; GHSA-45rx-2jwx-cxfr — JaegerPropagator DoS) with fixAvailable: false at 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 (+ regenerated package-lock.json)

Compatibility verification

  • Release notes 0.163.0 → 0.204.1 contain no breaking changes to the API surfaces this plugin uses (Daytona constructor, 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 here
  • tsc --noEmit and full build pass against the new types; no call-site changes needed
  • Live smoke test of the exact surfaces (create → fs.createFolder → executeCommand → createSshAccess → refreshData → get → delete) passes identically on 0.163.0 and 0.204.1, run under bun (the runtime OpenCode uses for plugins); test sandbox deleted afterwards
  • npm audit --audit-level=high: 0 vulnerabilities after the bump (was 5 high)

Summary by cubic

Upgrades @daytona/sdk in the OpenCode plugin from ^0.163.0 to ^0.204.1 to eliminate high‑severity npm audit findings from transitive @opentelemetry/* packages.

  • Changes: updates packages/opencode-plugin/package.json and regenerates package-lock.json; no source changes.
  • Security impact: old installs showed 5 high‑severity advisories (GHSA-q7rr-3cgh-j5r3, GHSA-45rx-2jwx-cxfr); new installs report 0 high vulnerabilities.
  • Compatibility: no breaking changes on the surfaces we use (constructor, create/get/delete, process.executeCommand/session, createSshAccess, fs.*, state/refreshData); list‑secrets pagination breaking change in 0.194.0 is not used.
  • Verification: type check and build succeed; smoke test of the exact surfaces passes identically under bun on 0.163.0 and 0.204.1.
  • Notes: issue mentioned “0.205”; latest on npm is 0.204.1, so we use ^0.204.1 as before.
  • Rollout: run install to refresh lockfile; no migration required for plugin consumers.

Written for commit aaa6344. Summary will update on new commits.

Review in cubic

…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>

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

Re-trigger cubic

@mislavivanda
mislavivanda merged commit d03ea54 into main Aug 14, 2026
33 checks passed
@mislavivanda
mislavivanda deleted the fix/opencode-plugin-daytona-sdk-bump branch August 14, 2026 14:23
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant