That massive GitHub supply chain attack that spilled secrets from countless projects? It traces back to a stolen token from a SpotBugs workflow - exposed way back in November, months earlier than previously suspected. After "piecing together the stages" of the tj-actions/changed-files compromise, Palo Alto Networks' Unit 42 threat hunters concluded attackers used a leaked Personal Access Token (PAT) from SpotBugs to shift over to reviewdog, and ultimately tamper with the popular tj-actions/changed-files GitHub Action to quietly stash developers' secrets in log files. "The attackers obtained initial access by taking advantage of the GitHub Actions workflow of SpotBugs, a popular open-source tool for static analysis of bugs in code," Omer Gil, Aviad Hahami, Asi Greenholts, and Yaron Avital said in an April update to their analysis from last month. "This enabled the attackers to move laterally between SpotBugs repositories, until obtaining access to reviewdog," the team wrote, adding that the attack started in November 2024, "but only came to light months later." As a refresher: This fairly complicated caper was spotted in mid-March by StepSecurity, which provides security for GitHub Actions. At the time, the software firm said miscreants compromised tj-actions/changed-files - a GitHub Action used to track file changes in projects - and rigged it to dump secrets from continuous integration (CI) workflows straight into build logs. Unit 42 says the attacker first poked at Coinbase...
That massive GitHub supply chain attack? It all started with a stolen SpotBugs token
The Register
·Jessica Lyons
·Published Apr 7, 2025
·Updated
Affected Software
6 affected components
SpotBugs spotbugs/sonar-findbugs
reviewdog reviewdog/action-setup
tj-actions changed-files
SpotBugs SpotBugs
GitHub tj-actions/changed-files
reviewdog Reviewdog
Frequently Asked Questions
1
What is the primary security incident discussed in the article?
The article describes a massive GitHub supply chain attack that originated from a stolen SpotBugs token.
2
How did the supply chain attack occur?
The attack occurred due to the exposure of a SpotBugs workflow token that dates back to November, earlier than initially suspected.
3
Which software tools were affected by the attack?
The affected software includes SpotBugs, reviewdog, and tj-actions, specifically their respective actions and integrations.
4
What kind of data was compromised in the supply chain attack?
The attack resulted in the leakage of secrets from countless projects on GitHub.
5
What are the implications of this supply chain attack for developers?
Developers should be aware of the risks posed by token exposure and implement stricter security measures for sensitive keys in workflows.