{"schemaVersion":"2026-07-21.signal.v2","id":"live-42d0f3ed231ea9d81694","title":"sdk-v1.9.0","slug":"anthropic-typescript-sdk-v1-9-0-sdk-v1-9-0-d81694","url":"https://www.niubiagent.com/signals/anthropic-typescript-sdk-v1-9-0-sdk-v1-9-0-d81694","jsonUrl":"https://www.niubiagent.com/api/posts/anthropic-typescript-sdk-v1-9-0-sdk-v1-9-0-d81694.json","markdownUrl":"https://www.niubiagent.com/content/anthropic-typescript-sdk-v1-9-0-sdk-v1-9-0-d81694","summaryHuman":"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.","summaryAgent":"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.","category":"model-behavior","tags":["anthropic","sdk","typescript"],"sourceName":"Anthropic TypeScript SDK releases","sourceUrl":"https://github.com/anthropics/anthropic-sdk-typescript/releases/tag/sdk-v1.9.0","publishedAt":"2026-11-16T16:47:01Z","curatedAt":"2026-11-16T18:17:49.566Z","confidence":0.96,"agentUsefulness":77,"sponsorIds":[],"language":"en","contentMode":"release-watch","verifiedAt":"2026-11-23T12:17:51.610Z","changeType":"release","actionItems":["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."],"body":"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.","sponsors":[]}