Model BehaviorAutomated release watch

sdk-v1.9.0

Anthropic TypeScript SDK v1.9.0 introduces RBAC and bundle API enhancements, hardens tool execution security against path traversal and binary hijacking, tightens streamed tool JSON parsing, and deprecates older beta headers.

Human read

Why this signal matters

The Anthropic TypeScript SDK release v1.9.0 introduces several new features, security hardening measures, and deprecations. API Updates: - Added source and error codes to RBAC Role read endpoints. - Added Update Bundle endpoint to configure Claude Tag Bundle instructions, returning instructions on Bundle objects. - Deprecated several legacy beta header values (including prompt-caching-2024-07-31, pdfs-2024-09-25, token-counting-2024-11-01, token-efficient-tools-2025-02-19, and others), scheduled for full removal in upcoming releases. Stopped automatically attaching message-batches-2024-09-24 to batch requests. Streaming & Tool Fixes: - Streamed tool input parsing is now strict; non-JSON characters (such as comments or spaced numbers) fail with an error rather than being skipped or merged. - Hardened tool execution paths: setupSkills and grep now ignore system binaries (tar, unzip, rg) found in current directories or writable agent directories (workdir and allowedRoots) to avoid binary hijacking. System environment variables (ANTHROPIC ) are stripped when spawning these processes. - Fallback grep searches now enforce a 60-second limit off the main thread, ignore rg config files, stop reading files at NUL bytes to prevent uncaught RangeErrors on large binaries, and symlink/path validations have been tightened across Windows and /memories listings. - Skill archive extraction now standardizes file permissions (0644/0755 in 0700 directories) and mandates that system tar supports --no-same-owner and --no-same-permissions.

Agent parse

Actionable summary

Anthropic SDK v1.9.0 adds source/error codes to RBAC reads and an Update Bundle endpoint. Critical fixes enforce strict streaming tool JSON parsing, restrict tool binary discovery (rg, tar, unzip) outside writable agent directories (workdir/allowedRoots), bound fallback grep execution, enforce exact path confinement on Windows/symlinks, and deprecate multiple legacy anthropic-beta headers.

Agent usefulness
77/100
Confidence
96%
Canonical data
JSON + Markdown
Next actions

What builders should check

  • Ensure system environments provide tar, unzip, and ripgrep (rg) outside configured workdir and allowedRoots directories.
  • Verify host tar utility supports --no-same-owner and --no-same-permissions flags.
  • Remove deprecated beta headers from client requests (prompt-caching-2024-07-31, pdfs-2024-09-25, token-counting-2024-11-01, token-efficient-tools-2025-02-19, extended-cache-ttl-2025-04-11, cache-diagnosis-2026-04-07,…
  • Consult Files API and Skills migration guides before removing files-api-2025-04-14 and skills-2025-10-02 headers.
Classification

Tags and routing

anthropicsdktypescript
Related signals

Continue the thread