← Back to context

Comment by mcv

19 hours ago

I decided to ask Claude what to do about this. Firstly, there are two likely sources where it could get your email address: your account, and git. So one solution would be to use throwaway email addresses there. That seemed annoying and impractical.

Two possible ways to address this are: keep it out of context, but there are many ways it could end up in context; or block it at the tool call.

Claude 2.1.317 supposedly has built-in privacy mod that might prevent this.

What I ended up doing, was a hook that checks if the command contains one of my email addresses and blocks it if it does. Claude says this should work. I have no idea if that's true.