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

AI Redefines Software Engineering as Manual Coding Fades

The rhythmic clacking of mechanical keyboards, once the heartbeat of Silicon Valley innovation, is rapidly being replaced by the silent, instantaneous pulse of automated script generation. For decades, the ability to hand-write complex logic in languages like Python, Java, or C++ served as the ultimate gatekeeper to a world of prestige and high compensation. Today, that gate is being dismantled

Is Writing Code Becoming Obsolete in the Age of AI?

The 3,000-Developer Question: What Happens When the Keyboard Goes Quiet? The rhythmic tapping of mechanical keyboards that once echoed through every software engineering hub has gradually faded into a thoughtful silence as the industry pivots toward autonomous systems. This transformation was the focal point of a recent gathering of over 3,000 developers who sought to define their roles in a

Skills-Based Hiring Ends the Self-Inflicted Talent Crisis

The persistent disconnect between a company’s inability to fill open roles and the record-breaking volume of incoming applications suggests that modern recruitment has become its own worst enemy. While 65% of HR leaders believe the hiring power dynamic has finally shifted back in their favor, a staggering 62% simultaneously claim they are trapped in a persistent talent crisis. This paradox

AI and Gen Z Are Redefining the Entry-Level Job Market

The silent hum of a server rack now performs the tasks once reserved for the bright-eyed college graduate clutching a fresh diploma and a stack of business cards. This mechanical evolution represents a fundamental dismantling of the traditional corporate hierarchy, where the entry-level role served as a primary training ground for future leaders. As of 2026, the concept of “paying

How Can Recruiters Shift From Attraction to Seduction?

The traditional recruitment funnel has transformed into a complex psychological maze where simply posting a vacancy no longer guarantees a single qualified applicant. Talent acquisition teams now face a reality where the once-reliable job boards remain silent, reflecting a fundamental shift in how professionals view career mobility. This quietude signifies the end of a passive era, as the modern talent