A GitHub token leak could have compromised the entire Python language

What if the Python programming language itself was malicious? It would be the most devastating supply chain attack in human history – but it almost happened after a key GitHub token was accidentally leaked.

Cybersecurity researchers at JFrog recently discovered a GitHub Personal Access Token in a public Docker container hosted on Docker Hub. This token granted elevated access to the GitHub repositories of the Python language, Python Package Index (PyPI), and the Python Software Foundation (PSF).