How Did a Stolen Token Shake GitHub and Coinbase Repositories?

Article Highlights
Off On

A sophisticated supply chain attack on GitHub repositories has brought to light critical vulnerabilities within the software development ecosystem, particularly within CI/CD frameworks.This incident, ignited by a single stolen token, significantly impacted over 200 repositories, spotlighting the potential for even limited breaches to ripple through an interconnected network. The attackers demonstrated a high level of technical expertise and strategic planning, ultimately exposing sensitive information and emphasizing the need for robust security measures across development platforms.

A Sophisticated Attack on GitHub Actions

On March 14, 2025, an intricate supply chain breach was detected within the tj-actions/changed-files GitHub action, shaking multiple repositories with precision. Initial apprehensions suggested that up to 23,000 repositories might be affected; however, further analysis revealed that the breach’s impact was confined to 218 repositories. Despite this more contained outcome, the incident underscores the potency of well-executed attacks and the vulnerabilities inherent in widely-used tools such as GitHub Actions.

GitHub Actions, designed to automate workflows, building, and deploying code, became the conduit for this breach.Attackers strategically modified the action’s code, updating various version tags to reference malicious commits. The malicious commits were crafted to extract CI/CD secrets embedded in the build logs, posing severe risks, especially if these logs were publicly accessible. The compromise highlights the broader implications of seemingly minor security lapses in automated software development processes.

CI/CD Framework Vulnerabilities

This attack starkly highlights vulnerabilities in CI/CD frameworks, such as GitHub Actions, which are integral to modern software development pipelines. The attackers were able to manipulate version tags within GitHub Actions, embedding malicious code that could execute during the automated workflows. This manipulation led to the printing of sensitive CI/CD secrets in public build logs, a critical exposure risk.The breach serves as a potent reminder of the latencies within automated frameworks where the continuous integration and continuous deployment of code rely heavily on the seamless execution of predefined actions. These actions, if compromised, can lead to significant data breaches. The exploitation method used by the attackers – updating version tags with references to malicious commits – emphasizes the necessity for heightened vigilance and robust security protocols to detect and prevent such manipulations within CI/CD pipelines.

Starting Point: A Stolen Token

The entire breach can be traced back to a single, stolen GitHub token from spotbugs, a static Java code analysis tool. The attackers exploited this stolen token, gaining unauthorized access and leveraging it to infiltrate other repositories. The token’s theft served as the crucial entry point, allowing the attackers to target RD_MNTNR’s reviewdog project, thereby escalating the impact significantly.

Reviewdog, an automated code review and testing project, became a critical vector in the propagation of the attack.The connection between spotbugs and reviewdog provided a pathway for the attackers to tamper with the tj-actions/changed-files project. The breach elucidates how interconnected tools, even those maintained by different entities, can become conduits for widespread security compromises, driven by a single compromised token.

Methodical Escalation

The timeline of the attack depicts a methodical and calculated escalation. Starting from November 2024, the attackers gained unauthorized access to spotbugs and proceeded to exploit a vulnerable ‘pull_request_target’ workflow by early December. This enabled the theft of a maintainer’s Personal Access Token (PAT) via a malicious pull request. By March 11, 2025, the attackers used the stolen PAT to introduce a dummy user, thereby pushing further compromised workflows.These steps illustrate the attackers’ calculated approach, which culminated in the compromise of the reviewdog project, enabling them to embed malicious code within multiple repositories. The attackers’ ability to maneuver through various repositories, stealing credentials and escalating their access, underscores the importance of vigilant security measures to detect unauthorized activities promptly and mitigate their impact comprehensively.

Targeting Coinbase Projects

The primary target appeared to be projects related to Coinbase, a prominent cryptocurrency exchange. The attackers aimed to infiltrate the open-source agentkit project used by Coinbase, leveraging stolen credentials and compromised workflows to embed their malicious code. The intent was to extract sensitive secrets from CI/CD logs, posing a direct threat to Coinbase’s security infrastructure.However, Coinbase’s rapid detection and response to the potential vulnerabilities played a crucial role in mitigating broader risks. The exchange’s prompt actions underscore the importance of swift incident response mechanisms to minimize damage from such breaches. This incident highlights the critical need for organizations to have robust security monitoring and response strategies to address potential breaches proactively.

Broader Implications

The attack throws into sharp relief the pressing need for enhanced security across CI/CD frameworks and the broader open-source software supply chain. By leveraging a stolen token and manipulating automated workflows, the attackers demonstrated how deeply these systems can be compromised. Such vulnerabilities, if left unaddressed, could impact thousands of interconnected software packages and repositories, posing significant risks across the technology landscape.The emphasis on securing CI/CD frameworks cannot be overstated, as these systems form the backbone of modern software development. Protecting against token theft, preventing unauthorized access, and ensuring the integrity of automated workflows are essential measures. The breach highlights the necessity for organizations to adopt layered security approaches, incorporating continuous monitoring, audit trails, and automated threat detection to safeguard their development environments.

Unified Response

The breach prompted immediate and coordinated actions from various stakeholders, including security researchers, automated review tool maintainers, and cybersecurity agencies. Independent security researchers played a pivotal role in identifying the compromise, publishing advisories, and issuing timelines for remediation. On March 16, 2025, researcher Adnan Khan flagged the compromise of the reviewdog organization, showcasing the critical role of external expertise in identifying and mitigating threats.Furthermore, cybersecurity agencies like the US Cybersecurity and Infrastructure Security Agency (CISA) responded promptly by adding the associated CVE-2025-30066 to its Known Exploited Vulnerabilities catalog, emphasizing the breach’s severity. This unified response highlights the importance of collaborative efforts between security communities and regulatory bodies to address and mitigate the repercussions of such sophisticated attacks.

Conclusion

A sophisticated attack on GitHub repositories has exposed critical vulnerabilities within the software development ecosystem, especially in CI/CD frameworks. This breach, triggered by a single stolen token, significantly affected over 200 repositories, highlighting how even minor security lapses can cascade through a connected network. The attackers showed remarkable technical skills and strategic planning, ultimately exposing sensitive data.Their actions underscore the urgent need for stronger security measures across development platforms. This incident serves as a stark reminder of the profound impact that even seemingly small breaches can have, and the importance of rigorous defenses in safeguarding the integrity and security of software development environments. Companies must invest in advanced security protocols, continuous monitoring, and comprehensive threat assessment to prevent similar future attacks, ensuring the software supply chain remains resilient against increasingly sophisticated cyber threats.

Explore more

Can AI Redefine C-Suite Leadership with Digital Avatars?

I’m thrilled to sit down with Ling-Yi Tsai, a renowned HRTech expert with decades of experience in leveraging technology to drive organizational change. Ling-Yi specializes in HR analytics and the integration of cutting-edge tools across recruitment, onboarding, and talent management. Today, we’re diving into a groundbreaking development in the AI space: the creation of an AI avatar of a CEO,

Cash App Pools Feature – Review

Imagine planning a group vacation with friends, only to face the hassle of tracking who paid for what, chasing down contributions, and dealing with multiple payment apps. This common frustration in managing shared expenses highlights a growing need for seamless, inclusive financial tools in today’s digital landscape. Cash App, a prominent player in the peer-to-peer payment space, has introduced its

Scowtt AI Customer Acquisition – Review

In an era where businesses grapple with the challenge of turning vast amounts of data into actionable revenue, the role of AI in customer acquisition has never been more critical. Imagine a platform that not only deciphers complex first-party data but also transforms it into predictable conversions with minimal human intervention. Scowtt, an AI-native customer acquisition tool, emerges as a

Hightouch Secures Funding to Revolutionize AI Marketing

Imagine a world where every marketing campaign speaks directly to an individual customer, adapting in real time to their preferences, behaviors, and needs, with outcomes so precise that engagement rates soar beyond traditional benchmarks. This is no longer a distant dream but a tangible reality being shaped by advancements in AI-driven marketing technology. Hightouch, a trailblazer in data and AI

How Does Collibra’s Acquisition Boost Data Governance?

In an era where data underpins every strategic decision, enterprises grapple with a staggering reality: nearly 90% of their data remains unstructured, locked away as untapped potential in emails, videos, and documents, often dubbed “dark data.” This vast reservoir holds critical insights that could redefine competitive edges, yet its complexity has long hindered effective governance, making Collibra’s recent acquisition of