The Python Software Foundation team has invalidated all PyPI tokens stolen in the GhostAction supply chain attack in early September, confirming that the threat actors didn't abuse them to publish malware. These tokens are used to publish packages on the Python Package Index (PyPI), a software repository that acts as the default source for Python's package management tools and hosts hundreds of thousands of packages. As PyPI admin Mike Fiedler explained, a GitGuardian employee reported on September 5th that malicious GitHub Actions workflows (like FastUUID) attempted to exfiltrate PyPI tokens to a remote server. Another GitGuardian researcher emailed PyPI Security with additional findings the same day, but their message ended up in the spam folder, delaying the incident response until September 10th. As soon as it uncovered the full scope of the supply chain attack, GitGuardian opened GitHub issues in over 570 impacted repositories and notified the security teams of GitHub, npm, and PyPI. Many project maintainers rotated their PyPI tokens, reverted changes to actions workflows, or removed affected workflows after being notified by GitGuardian of the incident. While the PyPI team found no evidence of compromised PyPI repositories during the investigation, it invalidated all affected publishing tokens and contacted project owners to assist in securing their accounts. However, GitGuardian estimated at the time that over 3,3000 secrets were stolen in the GhostAction campaign, in...
PyPI invalidates tokens stolen in GhostAction supply chain attack
BleepingComputer
·Sergiu Gatlan
·Published Sep 18, 2025
·Updated
Affected Software
1 affected component
Python Software Foundation PyPI
Frequently Asked Questions
1
What is the main topic of this article?
The article discusses the invalidation of stolen PyPI tokens due to the GhostAction supply chain attack.
2
What security implications are discussed?
The article highlights the need for enhanced security measures following the discovery of stolen tokens used in a supply chain attack.
3
What products or software are affected?
The affected software is the Python Package Index (PyPI) managed by the Python Software Foundation.
4
When did the GhostAction supply chain attack occur?
The GhostAction supply chain attack occurred in early September.
5
Did the threat actors use the stolen tokens to publish malware?
No, the article confirms that the threat actors did not abuse the stolen tokens to publish malware.