Sinaver Idrisov pfp
Sinaver Idrisov
@sinaver.eth
Just encountered this: Claude Code DOES read all your secret, *.env, etc files by default, even if it's in the .gitignore You can add deny read rules (~/.claude/settings.json): "permissions": { "deny": [ "Read(**/*.env*)", "Read(**/*.pem)", "Read(**/*.key)", "Read(**/secrets/**)", "Read(**/credentials/**)", "Read(**/.aws/**)", "Read(**/.ssh/**)", "Read(**/docker-compose*.yml)", "Read(**/config/database.yml)" ] }
3 replies
0 recast
9 reactions

MikaDoe pfp
MikaDoe
@mikadoe.eth
Gemini on the other hand keeps removing anything sensitive and asking me to fill in them myself (annoying af)
1 reply
0 recast
1 reaction

Sinaver Idrisov pfp
Sinaver Idrisov
@sinaver.eth
yah, gemini is the worse for me, didn't find it reliable
0 reply
0 recast
1 reaction