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

Claude AI Shows Repetition Bug with 'Sketcher' Term in QGIS Workflow
A user reported Claude AI repeatedly outputting the word 'sketcher' when providing QGIS guidance for aligning DXF files, suggesting a potential model bug with specific terms. The source includes practical QGIS workflow details for coordinate system alignment.

LibreOffice Online Development Resumes After Community Vote
The Document Foundation has resumed work on LibreOffice Online after a community vote nullified the 2022 freeze. TDF will reopen the repository for contributions but won't host servers—instead providing self-hostable tools.
Discovered Materials: AI Agents Discover 500+ New Materials, But Only 1 Has a Plausible Synthesis Route
Discovered Materials (YC P26) used frontier LLMs to computationally discover 500+ new semiconductor materials. Only 1 has a plausible synthesis route, highlighting the lab-to-fab gap.

Anthropic Launches Claude Code Channels for Messaging Integration
Anthropic has launched Claude Code Channels, allowing developers to DM Claude Code sessions from Telegram or Discord with full tool access including file edits, test runs, and git operations. The feature requires a paid Anthropic plan and supports two platforms compared to OpenClaw's 20+.