API tokens saved as plain text in Grokbot

Hi @bee, that settles it: the token wasn’t copied out of the secret store, your bot built it into those git remote URLs, and a clone with the token in the URL saves it into that repo’s .git/config. Bots are instructed to never write a secret’s value anywhere, but as you saw, that isn’t enforced.

Until that changes, I’d give your bots a standing instruction: never put a token in a clone or remote URL, keep remotes as plain https://github.com/owner/repo.git, and pass the token through a git credential helper that reads the environment variable.