Refuse a Read, Grep or Bash call that reads ~/.claude/.env or a config's env-file
CI / tests (pull_request) Failing after 2m29s
CI / tests (pull_request) Failing after 2m29s
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
## Unreleased
|
||||
|
||||
- rule-hook refuses a Read, a Grep or a Bash command that reads `~/.claude/.env` or the `env-file` of any project's config, so no credential lands in a transcript.
|
||||
- To keep Mattermost DMs, move the keys from `~/.claude/.env` into a file outside the checkout and the config's folder, such as `~/.claude-projects/<key>.env`, and name it in the project's config as `env-file`; `mattermost-dm` and loop-claude's DMs no longer read `~/.claude/.env`, and a project with no `env-file` gets none. A failure names each missing key and holds no token.
|
||||
|
||||
## 0.10.0
|
||||
|
||||
Reference in New Issue
Block a user