The Wire · Showcase
CLAUDE CODE CLOSES PERMISSION BYPASS; AGENT SDK TIGHTENS VALIDATION
By RepoJournal · Filed · About Anthropic
Claude Code 2.1.214 ships critical security fixes for permission checks across Windows and Bash, while the TypeScript agent SDK now rejects invalid permission modes instead of silently accepting them.
The Claude Code team patched three distinct permission-check vulnerabilities in v2.1.214 [1]. A Windows PowerShell 5.1 permission bypass is now closed, Bash permission checks no longer mishandle file-descriptor redirects, and overly-long commands that broke the permission analyzer are now handled correctly. Separately, a logic error in single-segment `dir/**` allow rules was fixed, preventing unintended auto-approvals for nested directories outside the target scope [1]. On the SDK side, the TypeScript agent SDK v0.3.214 [2] now rejects unrecognized permission modes with an error instead of silently adopting them, hardening the validation layer. The agent SDK also added optional `subkind: 'scheduled-trigger'` support to mark task notifications fired from user-configured scheduled tasks [2]. Both the Python agent SDK [4] and Claude Code Action bumped to these latest versions, ensuring consistency across the toolchain. This coordinated release cycle (Claude Code 2.1.214, Agent SDK TypeScript 0.3.214, Python SDK 0.2.122) reflects a tightening of permission semantics across the platform [3].
Action items
- → Update Claude Code to 2.1.214 immediately if you use Windows PowerShell or long command scripts anthropics/claude-code [immediate]
- → Upgrade Agent SDK TypeScript to 0.3.214 and Python to 0.2.122 to enforce stricter permission validation anthropics/claude-agent-sdk-typescript [plan]
- → Audit existing `dir/**` allow rules in your Claude Code configs to verify they target the correct scope anthropics/claude-code [plan]
References
- [1] v2.1.214 ↗ anthropics/claude-code
- [2] v0.3.214 ↗ anthropics/claude-agent-sdk-typescript
- [3] chore: bump Claude Code to 2.1.214 and Agent SDK to 0.3.214 anthropics/claude-code-action
- [4] v0.2.122 ↗ anthropics/claude-agent-sdk-python