Breaking News: Shai-Hulud Outbreak Debrief: The Worm Evolves into MCP
Read the Report
OX Security is recognized as a Leader in the 2026 Gartner® Magic Quadrant™
Read the full report
OX Security Named a Sample Vendor Across 3 Categories in the Gartner® Hype Cycle™ for Application Security
Read More

In GitHub We Trust: 10 Ways You Could Get Pwned

Untitled (1200 x 628 px)

In this RSA Conference session, OX Security's Eyal Paz (VP of Research) and Liad Cohen (security research team lead) show ten ways teams can be compromised by trusting GitHub-hosted open source software. They explain why GitHub, not the public package registries, is the larger attack surface: developers reference GitHub directly for forks, unpublished projects, plugins, and infrastructure as code, and that combined usage dwarfs the public registries. The core problem is mutable references, pointing at a branch, release, or version rather than a pinned commit, which lets a later build pull a malicious commit. Through live demos (a fake Weather Forecast package, a malicious Helm chart, and a Gradle plugin) they show how environment variables get exfiltrated across JavaScript, Python, Docker, Kubernetes, CI/CD, and more, and they tie it to the real-world tj-actions compromise. They close with defenses: extend SBOMs across the entire SDLC, standardize builds with golden images, and adopt platform engineering to shrink the attack surface.

Key Takeaways

  • GitHub itself is the bigger attack surface, not just the public registries. Counting forks, unpublished projects, plugins, and infrastructure as code, combined GitHub usage is about 100 times the packages in the public registries, giving attackers a far broader reach for the same effort.
  • Mutable references are the core risk. Referencing a branch, release, or version instead of pinning a commit SHA means the code can change underneath you, so the next build can silently pull a malicious commit; they found 110,000+ JavaScript and 60,000+ Python files referencing external repos this way.
  • The risk spans the entire SDLC, not just dependencies. GitHub gets referenced in Dockerfiles, Helm charts, Terraform, GitHub Actions, webhooks, Git submodules, and pre/post-install scripts, and each is a potential entry point for malicious code.
  • It is already being weaponized. The tj-actions compromise hit roughly 23,000 repositories and leaked secrets into public CI/CD logs, proving this is a real attack vector and not just theory.
  • This behavior is by design, so it will not go away. The same cross-repository referencing exists in closed source too, meaning it is an architectural attack vector to manage rather than a single bug to patch.
  • Extend SBOMs across the whole SDLC and get proactive. Cover GitHub-sourced components everywhere, standardize builds with golden images, and use platform engineering to provide safe infrastructure ahead of time, shrinking the attack surface and curbing shadow IT.

Video Transcript

Speakers

Eyal Paz

VP of Research, OX Security

Leads the research group at OX Security and previously worked on network security, endpoint security, and threat intelligence operations.

Liad Cohen

Security Research Team Lead and Data Scientist, OX Security

A security research team lead and data scientist at OX Security who builds detection systems from proof of concept to production.

FAQ

It is an RSA Conference session titled In GitHub We Trust: 10 Ways You Could Get Pwned, showing how trusting GitHub-hosted open source across the software development lifecycle can let attackers run malicious code in your environment.

Developers reference GitHub directly for forks, unpublished projects, plugins, and infrastructure as code; combined, that usage is about 100 times the packages in the public registries, so attackers reach a broader audience for the same effort.

Mutable references. Pointing at a branch, release, or version instead of a pinned commit SHA means the code can change, so a later build can silently pull a malicious commit.

Across it: JavaScript and Python manifests, Dockerfiles, Helm charts, Terraform and Terragrunt, GitHub Actions and webhooks, Git submodules and subtrees, and npm pre/post-install scripts.

No. The tj-actions/changed-files compromise affected roughly 23,000 repositories and leaked secrets, including GitHub tokens, into public CI/CD logs.

Extend SBOMs to cover GitHub-sourced components across the whole SDLC, standardize builds with golden images, and adopt platform engineering to provide safe infrastructure ahead of time and reduce shadow IT.

Frame 2085669014
Group 1261154229