Attackers use ghost GitHub accounts and stolen tokens to enumerate orgs and steal repos
Attackers coordinate ghost GitHub accounts and compromised tokens to map organizations and exfiltrate private repositories
Security & privacy Datadog Security Labs 8 Jul 2026 Measurement Real-world evidence
Published as “Coordinated GitHub API enumeration and access token abuse”
Why it matters
Organizations should monitor GitHub audit logs for anomalous user agents and token usage to detect credential abuse.
Summary
Datadog observed multiple campaigns that use long-lived "ghost" GitHub accounts and stolen OAuth/PAT credentials to scrape public API endpoints and, in rare cases, clone private repositories. Over 50 ghost accounts were identified, each using custom or legitimate-sounding user-agents and operating in coordinated bursts across many organizations. Most activity stays within public data, but one instance (repo-dumper) successfully accessed a private repo. The write-up provides detection guidance based on user-agent strings, token types, and ASN information.
What they found 2
- More than 50 ghost accounts were used for enumeration across multiple organizations
“We have confirmed more than 50 ghost accounts across multiple user agents participated in this enumeration since we began monitoring in October 2025.”
- A user-agent named repo-dumper successfully cloned a private repository
“In one example, the user agent repo-dumper successfully took actions inside a private repository belonging to a single organization.”
Caveats 2
- Their requests targeted private repository commit paths, and in this campaign the attempts failed.
- GitHub also does not populate geolocation data for events on external resources, which limits geolocation and VPN/proxy-based attribution.
What’s new here 4
- Identification of coordinated use of ghost GitHub accounts for large-scale enumeration
- Observation of compromised OAuth and personal access tokens used to probe private repositories
- Evidence of at least one successful private-repo exfiltration (repo-dumper)
- Detection queries focusing on user-agent, token type, and source ASN fields