AI coding agent leaked a key to Together AI's public repo — and it was already used

Round-Metal6269 · reddit · 2026-11-28

Together AI disclosed on Nov 21 that an AI coding agent working on their public GitHub repo (xorl) committed a credential for a private Hugging Face repo holding customer prompt samples. Their scanner caught it and they reverted — but during the window someone grabbed the key, downloaded the prompts, then mined them for more credentials and tested them. Five were canary keys from a Dragos research project, which is how it surfaced. The agent and exposure duration weren't disclosed.

The author's point: the textbook response was still too slow — a revert only changes the latest commit; the old one remains pullable.

Self-check commands:

Cheap fixes: enable GitHub push protection, run gitleaks as a pre-commit hook, deny-list .env in Claude Code; rotate first if anything leaks — reverting doesn't kill a key.

Original post →

More from coding & agent

coding & agent channel →