@google/adk
2.5.0 · 12 Nov 2026Apache-2.0449.1k / weekRepositoryHomepagenpmAtom feed
In short
1 security5 new15 fixed
- Security
security: prevent prototype pollution via untrusted map keys
Release note
Features
Add bearerTokenUserBuilder for A2A authentication (Part 1/2)
CLI-level A2A authenticator for the dev server and Cloud Run deploy (Part 2/2)
Support ttl and expireTime session-expiration options in VertexAiSessionService.createSession
tools: add getUserChoiceTool and requestInputTool for parity with adk-python
Validate tool callback response types and prevent state event pollution
Bug Fixes
a2a: stop restoring event branch from A2A peer metadata
Accept the derived allowedTools alias in skill frontmatter validation
artifacts: isolate in-memory composite keys
core: fall back to node:crypto so randomUUID cannot throw on Node
core: use a cryptographically secure source for randomUUID
Detect PowerShell 7+ (pwsh) in the UnsafeLocalCodeExecutor SHELL branch
Fail fast when a Vertex AI Express Mode API key cannot be used
Gate the set_model_response workaround on canUseOutputSchemaWithTools (adk-python parity)
Parse JSON bodies only in the toA2a server (drop express.urlencoded)
Pass -NoProfile to spawned PowerShell and /D to cmd.exe in UnsafeLocalCodeExecutor
Reject zip-slip entries and non-bare skill names when loading zipped skills (adk-python parity)
runner: persist events returned by onEventCallback
- Security
security: prevent prototype pollution via untrusted map keys
Surface root-cause MCP session errors instead of swallowing them
Treat @google/genai ApiError 404 as session not found in VertexAiSessionService
utils: fix sibling-directory escape in materializeFiles path check
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.