Claude Code v2.1.223: Security Fixes, /teleport Hint, and /review Alias

Claude Code v2.1.223 is out, carrying a batch of security fixes and workflow improvements. The headline: a Bash permission bypass where crafted commands could hide parts of themselves from permission checks is now patched. Also, permission prompts now catch commands padded with tabs or invisible Unicode.
Security fixes
- Fixed a Bash permission bypass that allowed hidden command parts.
- Permission prompts no longer allow tabs or invisible Unicode to obfuscate the command.
- Workflow scripts can no longer use dynamic
import()to run code outside the sandbox. - An agent's
bypassPermissionsmode now respects the org's bypass-permissions disable policy.
Marketplace wildcards
Managed settings (strictKnownMarketplaces and blockedMarketplaces) now support "owner/*" entries, letting you allow or block entire GitHub orgs in one go.
Cloud session hint
Cloud sessions show a /teleport hint so you can continue locally with claude --teleport <session id>.
Other fixes
- Resuming a session after a mid-session
/cdno longer comes back empty. - Gateway model discovery now includes Claude models with provider-prefixed IDs like
vertex_ai/claude-*orbedrock/anthropic.claude-*. modelOverrideskeys that aren't Anthropic model IDs are now ignored, not treated as the session's canonical model.- Server-delivered settings no longer disable the env block of machine-local
managed-settings.json; admin env merges per key. - Sandboxed commands fail less on Linux when
denyWritecovers the working directory. - Forked background agents no longer get stuck 'already resuming' when rebuilding the parent prompt fails.
- Fixed a hang on unusual
git pushoutput.
Context window changes
Two changes to context handling:
CLAUDE_CODE_DISABLE_1M_CONTEXTnow holds every Claude model with a native 1M window to 200K via auto-compaction, not just a fixed list. A startup warning appears if auto-compaction isn't holding the session to 200K.- Auto-compact now keeps sessions on unrecognized model IDs within the assumed context window. Set
CLAUDE_CODE_DISABLE_UNKNOWN_MODEL_WINDOW_ENFORCEMENT=1to restore old behavior.
Code review changes
/review is now an alias for /code-review, which reviews the current diff or a PR with /code-review <level> <pr#>. Use /code-review ultra for a deep cloud review. Without a level, it reuses the last one you typed.
This release is primarily for developers using Claude Code in CI or scripts — the security patches are worth updating for.
📖 Read the full source: GitHub Claude-Code
👀 See Also

Agentic AI Failure Modes and Developmental Scaffolding
Agentic AI systems fail in production through alignment drift, context loss across handoffs, boundary violations, and coordination collapse. The source proposes a 'developmental scaffolding' approach with five components: coherence monitoring, coordination repair, consent and boundary awareness, relational continuity, and adaptive governance.
Microsoft Exec Called AI Scraping 'the Largest Theft of Labor in Human History,' Unredacted NYT v. OpenAI Filings Show
Newly unredacted filings in The New York Times' three-year copyright suit against OpenAI and Microsoft quote a Microsoft director calling scraping 'the largest theft of labor in human history.' Internal data also shows Copilot cut NYT click-throughs by up to 93%.

Coinbase x402 vs Google A2A: Two Opposite Payment Orderings for Agent-to-Agent Payments
Building agent-to-agent payments reveals a fundamental split: Coinbase's x402 middleware settles after work (verify→run→settle), while Google's A2A extension settles before (verify→settle→run) for slow agentic calls.

Claude Loses Ability to Retrieve Product Pricing Across Retailers
As of April 27, Claude no longer returns pricing for Amazon, Best Buy, Newegg, or B&H Photo. Walmart is the only retailer still showing prices.