Claude Code
Claude Code Now Runs Your .zshrc Before You Answer the Prompt
Claude Code 2.1.327, published 17 November, starts your login shell and runs your shell startup files as soon as Claude begins its first Bash call in an interactive session, about 0.2 seconds before the permission prompt appeared in my runs. Refusing the command, a deny rule and don't-ask mode did not stop it, while claude -p and a PreToolUse hook on Bash did.
18 Nov 20267 min read