Claude Code 2.1.223: Bash permission bypass fixed, /review folded into /code-review
Fixes three permission-enforcement holes — a crafted Bash command hiding parts of itself from permission checks, workflow scripts escaping the sandbox via dynamic import(), and agent-definition bypassPermissions ignoring the org disable policy. /review becomes an alias of /code-review, and auto-compaction now enforces context windows more broadly.
PUBLISHED2026-08-05
OBSERVED2026-08-11
AGE6d
SOURCES1
- Fixed a Bash permission bypass where a crafted command could hide parts of itself from permission checks; commands padded with tabs or invisible Unicode can no longer hide part of the command from the approval dialog
- Fixed workflow scripts using dynamic
import()to run code outside the workflow sandbox - Fixed an agent definition's
bypassPermissionsmode ignoring the org bypass-permissions disable policy /reviewis now an alias of/code-review, which reviews the current diff or a PR (/code-review <level> <pr#>);/code-reviewwith no level reuses the level you typed lastCLAUDE_CODE_DISABLE_1M_CONTEXTnow holds every Claude model with a native 1M window to 200K via auto-compaction, not just a fixed list, with a startup warning when auto-compaction isn't holding the session to 200K- Auto-compact now keeps sessions on unrecognized model IDs within the assumed context window;
CLAUDE_CODE_DISABLE_UNKNOWN_MODEL_WINDOW_ENFORCEMENT=1restores the previous behavior - Added owner wildcard entries (
"owner/*") tostrictKnownMarketplacesandblockedMarketplacesmanaged settings - Fixed gateway model discovery hiding Claude models registered under provider-prefixed IDs such as
vertex_ai/claude-*orbedrock/anthropic.claude-* - Fixed
modelOverrideskeys that aren't Anthropic model IDs being treated as the session's canonical model ID; unknown keys are now ignored - Fixed server-delivered managed settings disabling the env block of a machine-local
managed-settings.jsonor MDM profile; admin env now merges per key - Fixed resuming a session after a mid-session
/cdcoming back empty, and sessions failing every turn on a malformed diagnostics attachment
COMMUNITY
No curated reactions recorded for this event. Facts and takes are kept in separate layers — community context is added by hand, never blended into the record above.