Unclear What decides whether this module is available on a given setup is not stated.
Claude Code now includes a built-in privacy hooks module. Hooks are small programs that run automatically during a session. This one is on by default, and its on or off setting is honoured only from trusted settings.
It refuses a shell command that does both of these:
- Contains the email address of the account you are signed in with
- Sets a User-Agent, the label a program sends to identify itself to a website, using flags such as
curl -Aorwget -U, or similar ones foriwr
The refusal message tells Claude to resend the command without the email address, or to split it into separate calls.
It stops your email address and a browser-style identity being sent together in one request. Because it is on by default and works quietly, a command Claude runs may be refused without you expecting it.
What decides whether this module is available on a given setup is not stated.