Get the latest tech news

Python GitHub Token Leak Shows Binary Files Can Burn Developers Too


snydeq shares a report from CSO Online, written by Lucian Constantin: A personal GitHub access token with administrative privileges to the official repositories for the Python programming language and the Python Package Index (PyPI) was exposed for over a year. The access token belonged to the Pyth...

The access token belonged to the Python Software Foundation's director of infrastructure and was accidentally included in a compiled binary file that was published as part of a container image on Docker Hub. Sensitive credentials can also be included in environment variables, configuration files and even binary artifacts as a result of automated build processes and developer mistakes. "Although we encounter many secrets that are leaked in the same manner, this case was exceptional because it is difficult to overestimate the potential consequences if it had fallen into the wrong hands -- one could supposedly inject malicious code into PyPI packages (imagine replacing all Python packages with malicious ones), and even to the Python language itself," researchers from security firm JFrog, who found and reported the token, wrote in a report.

Get the Android app

Or read this on Slashdot

Read more on:

Photo of developers

developers

Photo of binary files

binary files

Related news:

News photo

Apple will allow developers access to its NFC technology, avoiding an EU fine

News photo

Apple Seeds Third Beta of macOS Sequoia to Developers

News photo

The developers suing over GitHub Copilot got dealt a major blow in court