r/github • u/Mission-Leave-6551 • 3h ago
Discussion Together AI's coding agent committed a key, how shall we prevent it
together ai says one of its coding agents pushed a credential into a public github repo and it opened a private hugging face repo with prompt samples from june and july. scanning caught it and the commit got reverted but someone had already downloaded the samples
cleanup is still revoking it at hugging face, then gitleaks or trufflehog for copies the agent left in other branches and logs, with provider usage logs and a runtime view such as hush security showing which still get used
the agent being the committer changes where the checks go tho.
a plain pre commit hook gets skipped with --no-verify. claude code PreToolUse hooks can stop the git commit before it runs and push protection is the last stop


