Claude Code version 2.1.214 addresses critical security vulnerabilities, including a permission-check bypass in Windows PowerShell 5.1 and issues with Bash permission checks. The update also introduces the EndConversation tool, allowing Claude to terminate sessions with abusive users or those attempting jailbreaks.

  • Fixed single-segment `dir/**` allow rules that incorrectly auto-approved writes to nested directories anywhere in the tree.
  • Added the EndConversation tool for handling highly abusive users or jailbreak attempts.
  • Fixed Bash permission checks misjudging very long commands over 10,000 characters and treating zsh variable subscripts as inert text.
  • Added permission prompts for `docker` commands carrying daemon-redirect flags that previously ran without approval.
  • Fixed unbounded memory growth when `--settings` points at oversized files and resolved streaming issues behind corporate proxies on Windows.

These changes enhance security by closing permission bypasses and improve reliability by fixing crashes, memory leaks, and connection pooling issues in long-running sessions.