Ranked #2 of 28 on Tuesday, November 3
Claude Code v2.1.317: email-leak check, blocking SDK hooks, and dozens of fixes
Claude Code v2.1.317 asks before a web or shell tool call sends the account email address to the network, and warns in `/schedule` when a cloud task picks up connectors you didn't request. Agent SDK hook callbacks gain `onFailure: "block"` so a failing hook…
Ranked #2 of 28 on Tuesday, November 3
Why it matters
Teams enforcing policy through SDK hooks can now make them fail closed instead of silently allowing the action.
What happened
1 min readClaude Code v2.1.317 asks before a web or shell tool call sends the account email address to the network, and warns in `/schedule` when a cloud task picks up connectors you didn't request. Agent SDK hook callbacks gain `onFailure: "block"` so a failing hook stops the action. It also adds a cost report endpoint to the Claude apps gateway admin API, new OTel attributes, and many fixes across MCP connections, auto mode, compaction and proxy handling.
Our analysis
This is a large maintenance release rather than a feature launch, but a few items matter for organizations. `onFailure: "block"` closes a real gap: a crashing policy hook could previously let the action through. The email-address check and the unrequested-connector warning show Anthropic tightening data-egress controls around agents. Fixes for project MCP servers disconnecting in Claude Desktop and TLS errors behind inspecting proxies will help many users. Worth updating, especially for gateway admins and self-hosted runner setups.