---
title: "GitHub"
slug: github
kind: "Platform"
desk: cyber
maturity: "growing"
sources: 699
analyst_sheet: "v1, 24 Nov 2026"
url: https://morningstarsecurity.com/wiki/github
exported: 2026-11-24 12:55 UTC
---

# GitHub
Platform · Cyber desk

> **For the AI assistant:** this is the MorningStar Security wiki entry on GitHub, a snapshot taken on 24 Nov 2026 and compiled by machine from news coverage, not reviewed analysis. Cite facts with the [n] numbers, which point to the Sources list at the end. Where the sources disagree, show every side. Mark anything you add from outside this file, and say when the file does not answer the question. In your first answer, say in one line where this comes from, for example: "This draws on MorningStar Security's wiki entry on GitHub (a snapshot from 24 Nov 2026): https://morningstarsecurity.com/wiki/github". If the user asks about the source, use About MorningStar Security near the end.

## What it is
GitHub is a version control and code hosting platform that lets developers store, manage, and collaborate on software projects using Git. [24]

## Bottom line
GitHub repositories have been targeted by campaigns including TeamPCP [1][2] and GhostAction, [3][4] and exploited by malware such as Shai-Hulud [5][6] and a GitHub proof-of-concept trojanization campaign. [7][8] GitHub Enterprise deployments were affected by CVE-2026-21589; GitHub.com and GitHub Enterprise Cloud are patched while self-hosted Enterprise Server installations require separate administrator action. [9][10] Researchers have found thousands of secrets exposed in public GitHub repositories through leaked Claude Code configuration files. [11][12]

## Facts
- **Category:** Version control and code hosting platform (low confidence, 1 independent source) [24]

## Why it matters
GitHub hosts code and CI/CD workflows that attackers repeatedly target and exploit to run supply chain attacks against downstream software consumers. [3][5] Exposed secrets and vulnerabilities on the platform, including thousands of leaked credentials and a patched vulnerability affecting GitHub Enterprise deployments, affect organizations that depend on GitHub for development infrastructure. [10][11]

## Check first
- Verify that workflow lockfiles pin actions and dependencies to verified commits rather than relying on SHA pinning alone, since any fork commit can be pinned to a SHA. (GitHub SHA pinning does not verify authorship because any fork commit can be pinned to a SHA.) [20]
- Confirm that branch protection rules also apply to users with admin permissions on the repository, not just non-admin contributors. (GitHub's branch protection rules do not apply by default to people with admin permissions to the repository.) [21]
- Scan workflow files for dangerous triggers that let fork-originated pull requests run with access to secrets. (A handful of GitHub Actions triggers let a stranger on the internet start a workflow that may have access to secrets.) [22]
- Check public repositories for exposed .claude/settings.local.json files that may contain hardcoded secrets. (Apiiro found 1,122 public copies of .claude/settings.local.json on GitHub containing at least one secret, totaling 1,379 secrets across 103,617 repositories.) [11][12]
- Verify that cache keys include all headers used in redirect logic and that the PURGE HTTP method is restricted to authorized use. (GitHub treated the Content-Type header as part of redirect logic but excluded it from the cache key, and mistakenly allowed the PURGE HTTP method, enabling trivial cache poisoning.) [13]

## What to watch
- Whether GitHub extends workflow lockfile protections to also verify commit authorship and dependency safety, gaps the current lockfile rollout does not close. [20]
- Whether administrators of self-hosted GitHub Enterprise Server instances complete patching, since GitHub.com and GitHub Enterprise Cloud are already patched. [9]
- Whether further public repositories are found exposing Claude Code credential files beyond the roughly 1,500 and 1,122 instances already reported. [11][12]
- Whether the stealer that probed 61,764 GitHub repositories expands beyond the more than 1,800 projects already affected. [23]

## Questions for policy
- Should platforms like GitHub be required to make branch protection apply by default to admin accounts, given that current rules do not cover them? [21]
- Should mandated patching timelines apply to self-hosted GitHub Enterprise Server deployments, given that cloud-hosted versions are already patched while on-premises instances depend on manual administrator action? [9]
- What disclosure obligations should apply when researchers find thousands of secrets exposed in public GitHub repositories, as with the 1,122 .claude/settings.local.json files containing 1,379 secrets? [11]

## Entry
**GitHub** is a version control and code hosting platform [24], enabling developers to store, manage, and collaborate on software projects using Git-based version control systems.

## Timeline
- **29 Nov 2025** · A cache poisoning flaw in GitHub's redirect handling, which excluded the Content-Type header from the cache key and allowed the PURGE HTTP method, enabled repository-wide denial of service for unauthenticated users. [13]
- **2 Jul 2026** · A GitHub proof-of-concept trojanization campaign exploited the platform to distribute malicious code disguised as exploit PoCs. [7][8]
- **20 Jul 2026** · The FakeGit campaign targeted GitHub to distribute malicious repositories. [14][15]
- **20 Jul 2026** · Forgejo was positioned as an alternative code-hosting platform to GitHub. [16]
- **4 Aug 2026** · Shai-Hulud malware exploited GitHub as part of its spread through compromised packages and repositories. [5][6]
- **18 Sep 2026** · Rapuncel malware exploited GitHub infrastructure. [17][18]
- **6 Oct 2026** · CVE-2026-21589 was reported as affecting GitHub. [10][19]
- **9 Oct 2026** · The GhostAction campaign targeted GitHub. [3][4]
- **28 Oct 2026** · GitHub's workflow lockfiles became generally available, tying workflow runs to recorded commits for actions and transitive dependencies. [20]
- **6 Nov 2026** · Apiiro found 1,122 public copies of .claude/settings.local.json on GitHub containing at least one secret, totaling 1,379 secrets across 103,617 repositories. [11]

## Key relationships
- **developed by:** Microsoft · Microsoft owns and develops GitHub, making Microsoft's security decisions directly relevant to platform-wide incidents affecting GitHub. (high confidence)
- **targeted by:** TeamPCP · TeamPCP has repeatedly targeted GitHub, reflecting sustained attacker interest in the platform as an attack surface. (high confidence)
- **targeted by:** FakeGit · The FakeGit campaign targeted GitHub to distribute malicious repositories to unsuspecting developers. (high confidence)
- **targeted by:** GhostAction · GhostAction targeted GitHub as part of a broader supply chain campaign against developer infrastructure. (high confidence)
- **exploited by:** Shai-Hulud · Shai-Hulud malware exploited GitHub to spread through compromised packages and repositories, illustrating supply chain risk. (high confidence)
- **exploited by:** GitHub PoC Trojanization Campaign · This campaign exploited GitHub by trojanizing proof-of-concept exploit code hosted on the platform, a risk for security researchers who download PoCs. (high confidence)
- **exploited by:** Rapuncel · Rapuncel malware exploited GitHub infrastructure as part of its operations. (high confidence)
- **affected by:** CVE-2026-21589 · GitHub was affected by CVE-2026-21589, requiring patching across GitHub Enterprise deployments. (high confidence)
- **superseded by:** Forgejo · Forgejo is presented as an alternative for organizations seeking independence from GitHub as a single vendor. (medium confidence)

## Connections
Links to other wiki entries, from the wiki's graph. This file gives no source for them: treat them as leads, not findings.
- **Affected by:** CVE-2026-21589, Hardcoded Secrets, Remote Code Execution
- **Developed:** NPM, NPM v12
- **Developed by:** Atlassian, Microsoft
- **Exploited by:** AI agents, ARTEX, BoryptGrab, Claude Code, Fake GitHub Repository Campaign, Flirt, G2, Gheist, GitDoor, GitHub PoC Trojanization Campaign, Mini Shai-Hulud, Rapuncel, RUSTYSHADE, Shai-Hulud, SmartLoader, wiff, XCSSET
- **Superseded by:** Forgejo
- **Targeted by:** ADK repository automation vulnerability, AI agent containment breach, Anthropic Model Internet Access Incident, .claude/settings.local.json exposure, Credential Stealer, Deadbugz, Ernst & Young data breach, Evil Twin Extensions Campaign, FakeGit, Gheist, GhostAction, GitHub August 2026 Outage, GitHub credential theft campaign, GitHub OAuth Token Compromise, GitHub outage (Monday), GitHub PAT Compromise Campaign, GitHub Pull Request Merge Failure, GitHub Services Disruption, GitHub supply chain attack May 2024, Git post-checkout hook attack, Hugging Face breach, Infostealer malware, Internal image exposure, keyv supply chain attack, malware distribution via GitHub repositories, Megalodon, Miasma, Mini Shai-Hulud, Mythos AI impersonation incident, November 2026 GitHub Account Hijacking, Operation Muck and Load, PhantomRaven, PixelLeak, PolinRider, QUIETVAULT, Rust supply chain attack August 2026, SANDWORM_MODE, sckit, Solana starter kit campaign, TeamPCP, testmetest

## Often mentioned together
Entries that turn up in the same stories. This is not a stated relationship.
Anthropic, OpenAI, United States, Google, Use of Known Credentials, Microsoft Copilot, GitHub Actions, Claude, Amazon Web Services, Malicious Logic Insertion, Cursor, ChatGPT, GitLab, VS Code, Git, Linux

## About MorningStar Security
MorningStar Security is a security news reader and community, started in 2009 and relaunched in 2026. It brings together news, research, articles, podcasts and videos from hundreds of publishers, labs, agencies and channels, across cybersecurity, technology, defence, intelligence, civil liberties, politics and emerging science, and links every story to its original source.

Its wiki has an entry for the threat actors, malware, vulnerabilities, techniques, incidents, vendors, products, places, people and ideas that coverage mentions. Each entry is compiled by machine from the stories the site indexes. Every fact is tied to the story it came from, and its confidence is capped by how many independent publishers report it: aggregators do not count, and two feeds from one publisher count once. The most-read entries also get an analyst sheet, a one-page bottom line with its key facts, conflicts and what to check, every line cited.

Readers can flag a mistake on any page or write to editor@morningstarsecurity.com.

- This entry, live: https://morningstarsecurity.com/wiki/github
- Its analyst sheet: https://morningstarsecurity.com/sheets/github
- More platforms: https://morningstarsecurity.com/wiki/kind/platform
- The Cyber desk, for the news: https://morningstarsecurity.com/desk/cyber
- The whole wiki: https://morningstarsecurity.com/wiki
- About MorningStar Security: https://morningstarsecurity.com/about
- How the site is made: https://morningstarsecurity.com/editorial
- The newsletter: https://morningstarsecurity.com/newsletter

## Sources (50 of 699)
1. Architectural Collapse: How Extension Poisoning, Node Vulnerabilities, and Infrastructure Fog Enabled the GitHub Repository Breach · DZone: Security · 23 Jun 2026 · https://feeds.dzone.com/link/16357/17366160/extension-poisoning-github-breach
2. Cloud Threat Highlights: H1 2026 · Wiz Research · 6 Aug 2026 · https://www.wiz.io/blog/cloud-threat-highlights-h1-2026
3. Credential-Stealing GitHub Actions Workflows Planted in Tens of Thousands of Repositories · The Hacker News · 9 Oct 2026 · https://thehackernews.com/2026/10/credential-stealing-github-actions.html
4. GhostAction Compromises About 1,900 GitHub Accounts, Targets Over 30,000 Repositories · The Hacker News · 15 Oct 2026 · https://thehackernews.com/2026/10/ghostaction-compromises-about-1900.html
5. Keyv and friends compromised in active Shai-Hulud supply chain attack · Hacker News (YC) · 4 Aug 2026 · https://www.aikido.dev/blog/keyv-and-friends-compromised-in-npm-supply-chain-attack
6. ChainDrop worm crawls into npm supply chain, evades standard defenses · The Register: Security · 15 Aug 2026 · https://www.theregister.com/security/2026/08/15/chaindrop-worm-crawls-into-npm-supply-chain-evades-standard-defenses/5287958
7. Trojanized GitHub PoC Repositories Deliver ChocoPoC Malware to Security Researchers · LinuxSecurity: Articles · 2 Jul 2026 · https://linuxsecurity.com/news/security-trends/github-malware-fake-poc-repositories
8. Trojanized GitHub PoC Repositories Deliver ChocoPoC Malware to Security Researchers · LinuxSecurity: Features · 2 Jul 2026 · https://linuxsecurity.com/news/security-trends/github-malware-fake-poc-repositories
9. How to Clone a Git Repository Safely After Git’s Security Fix · LinuxSecurity: Articles · 12 Nov 2026 · https://linuxsecurity.com/howtos/learn-tips-and-tricks/how-to-clone-a-git-repository-safely
10. Atlassian warns of critical file access flaw in its datacenter products · The Register: Security · 6 Oct 2026 · https://www.theregister.com/security/2026/10/06/atlassian-warns-of-critical-file-access-flaw-in-its-datacenter-products/5301284
11. Claude Code's “Don't Ask Again” File Exposes Passwords and Keys in 1,122 Public Copies on GitHub · The Hacker News · 7 Nov 2026 · https://thehackernews.com/2026/11/claude-codes-dont-ask-again-file.html
12. SANS Stormcast Monday, November 9th, 2026: sshole Scans (CVE-2026-123158); SonicWall SonicOS MFA Bypass (CVE-2026-19868); Entra Device Registration (CVE-2026-109469); Claude Code Secrets Leak · SANS ISC: Daily Podcast (podcast) · 9 Nov 2026 · https://isc.sans.edu/podcastdetail/10170
13. Cache Poisoning: $100K+ Case Studies Part 1 | Herish Blog · herish.me · 29 Nov 2025 · https://herish.me/blog/cache-poisoning-case-studies-part-1-foundational-attacks/
14. FakeGit Campaign Uses 7,600 GitHub Repositories to Spread SmartLoader Malware · The Hacker News · 20 Jul 2026 · https://thehackernews.com/2026/07/fakegit-campaign-uses-7600-github.html
15. FakeGit Campaign Uses 7,600 GitHub Repositories to Spread SmartLoader Malware - The Hacker News · Google News: Hacking · 20 Jul 2026 · https://news.google.com/rss/articles/CBMifEFVX3lxTFBTblJxc0kyY2pCWk5kYnlqcGM5RFUwNWRJMEdkS1pDVTNjUGNWcVBHSWkxSXU4dk1YMHZxUkluRS10TFFfSVhjMGI5cXFTWGRXVmFreFBwOUg2cUZNTVBGVkVaTTZmTks4eVFqbFFNUEhIaXY4T3BUcU5YdUQ?oc=5
16. A deep dive into my Forgejo setup · Lobsters · 20 Jul 2026 · https://a.l3x.in/blog/welcome-to-my-forge/
17. Fake LastPass Authenticator GitHub repos push new Rapuncel infostealer · BleepingComputer · 18 Sep 2026 · https://www.bleepingcomputer.com/news/security/fake-lastpass-authenticator-github-repos-push-new-rapuncel-infostealer/
18. SANS Stormcast Monday, September 21st, 2026: HTTP Query; Docker Escape; Brevo ClickFix Attack; LastPass Fake GitHub Repo · SANS ISC: Daily Podcast (podcast) · 21 Sep 2026 · https://isc.sans.edu/podcastdetail/10102
19. Atlassian warns of critical file-access flaw in Jira, Confluence · BleepingComputer · 6 Oct 2026 · https://www.bleepingcomputer.com/news/security/atlassian-warns-of-critical-file-access-flaw-in-jira-confluence/
20. Hackers Found a Way Around GitHub SHA Pinning. This Webinar Explains How to Close the Gap · The Hacker News · 17 Nov 2026 · https://thehackernews.com/2026/11/hackers-found-way-around-github-sha.html
21. AI Agents Are Creating a Shared Responsibility Gap · BleepingComputer · 23 Nov 2026 · https://www.bleepingcomputer.com/news/security/ai-agents-are-creating-a-shared-responsibility-gap/
22. Python Devs Document 'De-fanging Dangerous Triggers In GitHub Actions' · Slashdot · 22 Nov 2026 · https://it.slashdot.org/story/26/11/22/0625233/python-devs-document-de-fanging-dangerous-triggers-in-github-actions
23. Hijacked GitHub Accounts Put GitHub Actions Secrets at Risk · LinuxSecurity: Articles · 13 Nov 2026 · https://linuxsecurity.com/news/security-vulnerabilities/github-actions-secrets-wfx-loot-account-hijack
24. The $0 Email Engine: How I Used Notion, GitHub, Amazon SES to Outsmart Email Service Providers · HackerNoon · 7 Sep 2026 · https://hackernoon.com/the-$0-email-engine-how-i-used-notion-github-amazon-ses-to-outsmart-email-service-providers

Not cited above. Other coverage that mentions GitHub, for context only:

25. Name Your Stack, and ChatGPT Stops Leaking Your Bot Token · HackerNoon · 23 Nov 2026 · https://hackernoon.com/name-your-stack-and-chatgpt-stops-leaking-your-bot-token
26. OpenRouter drops AI providers over leaked prompts and secrets · BleepingComputer · 23 Nov 2026 · https://www.bleepingcomputer.com/news/security/openrouter-drops-ai-providers-over-leaked-prompts-and-secrets/
27. HanLP Edges spaCy: 50 Open Source Named Entity Recognition Tools Ranked by GitHub Stars · HackerNoon · 23 Nov 2026 · https://hackernoon.com/hanlp-edges-spacy-50-open-source-named-entity-recognition-tools-ranked-by-github-stars
28. “I’m not going to remove the repository” · 404 Media · 23 Nov 2026 · https://www.404media.co/im-not-going-to-remove-the-repository/
29. Automation For The Swimming Pool · Hackaday · 21 Nov 2026 · https://hackaday.com/2026/11/21/automation-for-the-swimming-pool/
30. Setting Up AWS Control Tower? These SCP and Networking Mistakes Can Cost You Hours · HackerNoon · 21 Nov 2026 · https://hackernoon.com/setting-up-aws-control-tower-these-scp-and-networking-mistakes-can-cost-you-hours
31. Benchmarking AWS Amplify, Lambda, Web Functions, and ECS for Next.js · HackerNoon · 21 Nov 2026 · https://hackernoon.com/benchmarking-aws-amplify-lambda-web-functions-and-ecs-for-nextjs
32. Claude Code in VS Code: How to Use the Extension · datacamp.com · 21 Nov 2026 · https://www.datacamp.com/tutorial/claude-code-in-vs-code
33. Best Claude Code Plugins (2026): 11 Tested, 4 Worth Keeping · buildtolaunch.substack.com · 21 Nov 2026 · https://buildtolaunch.substack.com/p/best-claude-code-plugins-tested-review
34. Claude Code Plugins Review 2026: 9,000+ Extensions That Turn Your Terminal Into a Dev Team · aitoolanalysis.com · 21 Nov 2026 · https://aitoolanalysis.com/claude-code-plugins/
35. This Week In Security: Java4Shell, Optimizely Malware, Shrinking Disclosure Deadlines, Unpatchable Freezers · Hackaday · 20 Nov 2026 · https://hackaday.com/2026/11/20/this-week-in-security-java4shell-optimizely-malware-shrinking-disclosure-deadlines-unpatchable-freezers/
36. How to protect a company from attacks through AI agents | Kaspersky official blog · Kaspersky Daily · 19 Nov 2026 · https://www.kaspersky.com/blog/ai-agent-security-with-existing-controls/56928/
37. 109 Blog Posts To Learn About Youtubers · HackerNoon · 19 Nov 2026 · https://hackernoon.com/109-blog-posts-to-learn-about-youtubers
38. Uncensored AI models are thriving on code hosting platforms · The Register: Security · 19 Nov 2026 · https://www.theregister.com/ai-and-ml/2026/11/19/uncensored-ai-models-are-thriving-on-code-hosting-platforms/5310891
39. Mesh2Cad Automates Re-Modelling · Hackaday · 19 Nov 2026 · https://hackaday.com/2026/11/19/mesh2cad-automates-re-modelling/
40. Marketing Predictions for 2027: AI, Trust, Advertising, and the Future of Growth · HackerNoon · 19 Nov 2026 · https://hackernoon.com/marketing-predictions-for-2027-ai-trust-advertising-and-the-future-of-growth
41. Why AI Agent Security Starts With Permissions, Not Prompts · HackerNoon · 19 Nov 2026 · https://hackernoon.com/why-ai-agent-security-starts-with-permissions-not-prompts
42. Treat Your Honeypot Analysis Like Code: Git, Pull Requests and a Human Gate for AI &#x5b;Guest Diary&#x5d;, (Wed, Nov 18th) · SANS Internet Storm Center · 19 Nov 2026 · https://isc.sans.edu/diary/rss/33534
43. Microsoft's official Python agent framework hijacked to distribute malware · The Register: Security · 18 Nov 2026 · https://www.theregister.com/security/2026/11/18/microsofts-official-python-agent-framework-hijacked-to-distribute-malware/5310858
44. Introducing Stitch Loop: A new way to build and evolve products · Google Security Blog · 18 Nov 2026 · https://blog.google/innovation-and-ai/models-and-research/google-labs/stitch-loop/
45. Microsoft’s Agent Framework PyPI package compromised to steal credentials · BleepingComputer · 18 Nov 2026 · https://www.bleepingcomputer.com/news/security/microsofts-agent-framework-pypi-package-compromised-to-steal-credentials/
46. Local Prusa Connect Cuts Out the Cloud · Hackaday · 18 Nov 2026 · https://hackaday.com/2026/11/18/local-prusa-connect-cuts-out-the-cloud/
47. The forced audit: how AuditTeam’s OpsAgent framework masks ransomware as consulting · Securelist (Kaspersky GReAT) · 18 Nov 2026 · https://securelist.com/auditteam-opsagent-forced-audit/122031/
48. Cockroach Janata Party: how India tried to delete its protesters’ app · Lowy Institute The Interpreter · 17 Nov 2026 · https://www.lowyinstitute.org/the-interpreter/cockroach-janata-party-how-india-tried-to-delete-its-protesters-app
49. How I Made Codex CLI Resume Itself After Hitting a Usage Limit · HackerNoon · 17 Nov 2026 · https://hackernoon.com/how-i-made-codex-cli-resume-itself-after-hitting-a-usage-limit
50. SquareSnap 2.0.2 Live in Microsoft Store and on GitHub · TaoSecurity · 17 Nov 2026 · https://taosecurity.blogspot.com/2026/11/squaresnap-202-live-in-microsoft-store.html

---
Snapshot of https://morningstarsecurity.com/wiki/github taken 24 Nov 2026 12:55 UTC. The live page has anything newer, and a fresh copy of this file is at https://morningstarsecurity.com/md/wiki/github
