Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.265 ·

Bash heredoc/pipe read-restriction check extended to always-deny host-credential rules

Bash heredoc/pipe protections now also account for always-deny host-credential rules

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaPermissionswhat it touches
KindInternal Changesin v2.1.265,
Under the hood

Bash heredoc/pipe protections now also account for always-deny host-credential rules

What

Claude Code blocks bash commands that use heredocs (multi-line input blocks) or pipes to read files outside your working directories. That check now also looks at the command's "always deny" rules, checking whether any of them target the current session and whether none of the other deny rules (aside from a host-credential rule) apply, before deciding whether to block the read.

Why

This tightens the existing protection against commands that try to read sensitive files (like host credentials) from outside the working directory, making the block more consistent with how always-deny rules are otherwise enforced.

See this entry in the whole of v2.1.265 →

Feedback