Skip to content

fix(deps): resolve all Dependabot alerts + clear adk OpenTelemetry advisories#543

Merged
danielchalef merged 2 commits into
mainfrom
fix/dependabot-alerts
Jun 18, 2026
Merged

fix(deps): resolve all Dependabot alerts + clear adk OpenTelemetry advisories#543
danielchalef merged 2 commits into
mainfrom
fix/dependabot-alerts

Conversation

@danielchalef

@danielchalef danielchalef commented Jun 18, 2026

Copy link
Copy Markdown
Member

What

Resolves all 29 open Dependabot alerts plus the 11 moderate npm audit advisories in the adk package — every TypeScript integration is now npm audit-clean, and the legacy Go module is patched.

Manifest Fixed
integrations/adk/typescript vitest ^2^3.2.6; overrides: tar ^7.5.16, esbuild ^0.28.1, uuid ^11.1.1, @tootallnate/once ^2.0.1, @opentelemetry/{core,resources,sdk-metrics,sdk-trace-base} 2.8.0
integrations/mastra/typescript vitest bump; overrides: esbuild >=0.28.1, js-yaml >=4.2.0
integrations/vercel-ai/typescript vitest bump; override: esbuild >=0.28.1
legacy/src/go.mod go-chi/chi/v5 v5.2.2v5.2.4

The adk OpenTelemetry fix

@google/adk@1.2.0 is already the latest release — it can't be bumped further. Its tree pulled a split set of @opentelemetry stable packages: both 2.8.0 (patched) and 2.1.0 (vulnerable to GHSA-8988-4f7v-96qf, @opentelemetry/core <2.8.0). All 11 advisories trace to that single core <2.8.0. Forcing the stable quartet to 2.8.0 — the version @google/adk already runs with elsewhere in its own tree — dedupes the straggler 2.1.0 copies and clears every advisory, with no @google/adk downgrade.

Validation (independently re-verified, not agent self-reports)

  • adk: npm audit0; build ✅, tsc --noEmit ✅, 50 tests ✅; @google/adk imports + initializes telemetry cleanly under the OTel override (runtime smoke test).
  • mastra: build ✅, 37 tests ✅, typecheck ✅, npm ci in sync ✅ (2 low non-Dependabot @ai-sdk advisories remain).
  • vercel-ai: build ✅, 59 tests ✅, typecheck ✅, npm audit → 0.
  • legacy go: go build + go vet ✅ (module has no tests).

vitest 2→3 needed no test or config changes. Only package.json/package-lock.json (and go.mod/go.sum) changed — no source edits.

🤖 Generated with Claude Code

Clears the 29 open Dependabot alerts across 3 npm lockfiles and the
legacy Go module.

npm (TypeScript integrations) — bump the direct devDep vitest from ^2 to
^3.2.6 (pulls patched vite 7.3.5 + esbuild transitively) and add minimal
`overrides` for the remaining transitive advisories:
- adk/typescript:       tar ^7.5.16, esbuild ^0.28.1, uuid ^11.1.1,
                        @tootallnate/once ^2.0.1
- mastra/typescript:    esbuild >=0.28.1, js-yaml >=4.2.0
- vercel-ai/typescript: esbuild >=0.28.1

Go — legacy/src: github.com/go-chi/chi/v5 v5.2.2 -> v5.2.4.

Each package: lockfile regenerated, `npm run build` + `npm test` +
`tsc --noEmit` pass (vitest 3 needed no test/config changes); Go builds
and vets clean.

Out of scope (not Dependabot alerts; would need breaking changes):
adk/typescript still reports 11 moderate npm-audit advisories under the
pinned @google/adk@1.2.0 (@google/adk + OpenTelemetry family); the only
npm-offered fix is a semver-major @google/adk downgrade.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@claude

claude Bot commented Jun 18, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@google/adk@1.2.0 is already the latest release, so it can't be bumped
further. Its dependency tree pulls a split set of @opentelemetry stable
packages — both 2.8.0 (patched) and 2.1.0 (vulnerable to
GHSA-8988-4f7v-96qf, @opentelemetry/core <2.8.0). All 11 moderate
npm-audit advisories trace to that single @opentelemetry/core<2.8.0.

Override the stable OTel quartet (core, resources, sdk-metrics,
sdk-trace-base) to 2.8.0 — the version already present in @google/adk's
own tree, so this only dedupes the straggler 2.1.0 copies up to a
version @google/adk already runs with. npm audit now reports 0
vulnerabilities for this package.

Verified: build + typecheck + 50 tests pass, and @google/adk imports and
initializes its telemetry cleanly under the override (runtime smoke test).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@danielchalef danielchalef changed the title fix(deps): resolve all open Dependabot alerts fix(deps): resolve all Dependabot alerts + clear adk OpenTelemetry advisories Jun 18, 2026
@danielchalef danielchalef merged commit 9b3545e into main Jun 18, 2026
15 checks passed
@danielchalef danielchalef deleted the fix/dependabot-alerts branch June 18, 2026 23:56
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