Skip to content
Start with Identity
News

26,400 working cloud and AI credentials found in public Gitee repositories

A researcher scanned 7.25 million public repositories on Gitee, China's largest Git platform, and found 26,400 unique credentials that still worked, led by Alibaba Cloud access keys. One was an active organization-admin credential for a major enterprise AI platform.

By SWI Community TeamOct 28, 2026

Independent researcher Ben Zimmermann scanned 7,256,531 public repositories on Gitee, China's largest Git hosting platform, and found 26,400 unique credentials that still worked when tested, he wrote on MongoDB's engineering blog on October 28. He ran two secret scanners, TruffleHog and Kingfisher, over each repository's full commit history and kept only credentials the issuing service accepted. Alibaba Cloud access keys were the largest group, and AI provider keys from DeepSeek, OpenAI and Zhipu followed in the thousands. One finding was "an active organization-admin credential for a major enterprise AI platform." The scanners overlapped on only 1,001 credentials, so either tool alone would have caught about half; Kingfisher found all 1,489 Zhipu keys, which TruffleHog has no detector for. Zimmermann sent the most exposed vendors their lists but did not contact individual developers.

Why it matters

The scan read commit history, so a key a developer later deleted from the code still counted. Deleting a secret is not revoking it, the same lesson as LiteLLM's admin key, which was removed from a public repository within hours and still worked months later. A live AI provider key in a public repository is a direct line to someone else's bill, which is what LLMjacking runs on.

If a key ever reached a public repository on any platform, revoke it at the provider and issue a new one; rewriting history does not help. Run more than one scanner, since detector coverage differs by vendor, and restrict cloud keys to the APIs they need. The technique page is secrets in repositories and CI, and our secrets management guide covers replacing long-lived keys with short-lived credentials.

Source: MongoDB Engineering Blog

Last reviewed By SWI Community TeamSuggest a correctionHow we research
Independent analysis. No vendor sponsorship. Editorial policy · Report a correction