{"version":"2.1.335","anchor":"new-shell-check-reason-for-cat","canonical_anchor":"new-shell-check-reason-for-cat","heading":"Commands that pull text from a cat here-document can't be checked in advance","tier":"notice","area":"Bash Safety","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335\/e\/new-shell-check-reason-for-cat","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335","markdown":"### Commands that pull text from a cat here-document can't be checked in advance\n\nClaude Code now flags commands that take text from $(cat\n\n**Unclear.** It is not known whether such a command asks for approval or is refused.\n\n**What**\n\nBefore a shell command runs, Claude Code tries to check what it will do. It now gives a specific reason when a command takes part of its text from a here-document read with cat, such as `$(cat <<EOF ... EOF)`. Such a command can't be checked, because the text would be missing if cat failed. The message tells you to write that text into the command itself.\n\n**Why**\n\nCommands written this way may be stopped or need your approval. Writing the text directly into the command avoids it.\n\n- Area: Bash Safety\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}