What
When Claude Code runs gh, aws, gcloud, bq or gsutil inside its proxied environment and none of that tool's real credential variables are set, it now injects placeholder values (literally proxy-injected) so the CLI authenticates via the proxy instead of failing for want of a token.
Details
- Covered groups:
ghusesGH_TOKENandGITHUB_TOKEN;awsusesAWS_ACCESS_KEY_IDand its companions;gcloud,bqandgsutiluseCLOUDSDK_AUTH_ACCESS_TOKEN. - If any real credential variable in a group is already present, no placeholder is injected for that group.
- The list of credential variables forwarded into the sandboxed environment is now derived from this same table rather than hard-coded.
Evidence
realCredentialEnv
Strings lifted out of the shipped bundle, so the claim above can be checked against them.