What happened
Researchers surfaced more than 1,300 live secrets committed to public GitHub repositories through developer sessions using Anthropic's Claude Code, per a CryptoBriefing report published Monday. The scan covered commit history where the agent had been granted write access to local repos, then pushed changes without a human gate on sensitive files. The leaked material, according to the report, spans API keys, cloud access tokens, database connection strings, and private configuration blobs.
Several of the secrets were still valid at the time researchers disclosed them. The pattern is consistent with a now-familiar failure mode in agentic coding: the model indexes a project directory, pulls in `. env` files or credential JSON for context, and later regurgitates them into a commit or a diff without recognizing them as sensitive.
Git's staging model doesn't help. Once a secret lands in a public history, rewriting it out is messy, and scraping bots harvest keys within minutes.
Why it matters
Crypto doesn't forgive leaked keys. An exposed exchange API key with withdrawal permissions is a drain waiting to happen. A leaked cloud token on a node operator's account can give an attacker signed access to validator infrastructure.
The 2022 Slope wallet incident, where logs shipped private keys off-device, cost users several thousand SOL before anyone could rotate. The mechanism here is different, but the blast radius rhymes. The second-order concern is governance.
AI coding agents are now embedded in the stacks that build custodial software, DeFi protocols, and trading infrastructure. If an agent can push a commit that exfiltrates `. env` contents to a public mirror, every security review that ends at the human developer is now incomplete.
