Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.333 ·

Shell commands containing heredocs are read more strictly for permission checks

Claude Code now matches heredoc end-markers more strictly and starts blanking their text after the opening line when checking shell commands

You'll notice Improvements
JSON All of v2.1.333
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Bash ToolArea: what it touches
ImprovementsKind: in v2.1.333,
ImprovementsSection of the release
What

A heredoc is a way of feeding several lines of text into a shell command, closed by an end word you choose, such as EOF. When Claude Code checks a shell command against your permission rules, it blanks out the heredoc's text so that text is not read as commands.

Two things are different now:

  • End word: the end word must now stop where it appears, so it no longer matches when followed straight away by a letter, digit or underscore.
  • Blanking: the blanked-out section now starts on the line after the one that opens the heredoc, instead of at a different point.
Why

This changes how shell commands are read when Claude Code decides whether they need your approval, so commands containing heredocs are judged more precisely.

See this entry in the whole of v2.1.333 →

Feedback