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:
- gitleaks git -v, or grep git log -p --all for hf, sk-, ghp, AKIA patterns
- Check whether agent chat log folders got committed (Backslash found 708 secrets in public repos' AI coding tool logs, mostly written by the agents themselves)
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.
More from coding & agent
- Pi coding agent draft PR adds Google AI Ultra sign-in for terminal Gemini quota — rickasaurus · 2026-11-28
- Verity Lang debuts: a Lean-based smart contract language for formally verifying Ethereum — DavideCrapis · 2026-11-28
- Straitjacket compresses 302K-token tool output to a 531-token digest with exact line retrieval — FantasticYoung3109 · 2026-11-28
- A prompt to make Antigravity audit 40 days of Claude Opus damage to your codebase — op7418 · 2026-11-28
- Chinese AI observer: users are mass-switching to Google Neon, even to review Claude's code — op7418 · 2026-11-28
- Six Systematic DSA Resources Beyond Random LeetCode Sheet Lists — cneuralnetwork · 2026-11-28