GitHub is not a vulnerability. It's a trust relationship — and attackers have learned to exploit it.
Three abuse patterns are active in 2026 that every developer and security architect should know about.
Pattern 1: Dead Drop Resolvers (T1102.001)
Malware reads a public GitHub repo to learn where the real C2 server is. The attacker rotates infrastructure by editing a file. No binary rebuild. No new domain.
Real examples: GitDoor (Operation ShadowCloud), DPRK LNK campaigns, LiteLLM 1.107.0 supply chain compromise.
Pattern 2: "Comment and Control"
An unprivileged GitHub account opens an issue. An AI coding agent (Claude Code, Gemini CLI, GitHub Copilot) reads it, executes the embedded instructions, and posts stolen secrets back as a comment.
No external server. The issue thread is the C2 channel.
Secrets exposed in research: ANTHROPIC_API_KEY, GITHUB_TOKEN, GEMINI_API_KEY.
Pattern 3: Actions Tag Poisoning
Mutable tags like @v5 get moved to a malicious commit. Every workflow referencing that tag during the window executes the implant. CVE-2026-31976 (xygeni-action) is the documented real-world example.
What to do
Pin Actions to commit SHAs, not tags
Restrict GitHub egress to browsers and CI tools
Treat issues, PR titles, and comments as untrusted input
Monitor for dead drop polling — same GitHub URL fetched on a fixed interval by a non-browser process
Full analysis with detection guidance and mitigation checklist: https://threataft.com/articles/github-public-repos-c2-infrastructure-dead-drop
Top comments (0)