Hackers will have to work a little harder to get a piece of the PyPi.
Following a flurry of malicious uploads, the Python code-sharing platform PyPi will require two-factor authentication for all publishers, according to a May post from the repository’s primary maintainer and an IT Brew conversation with Ee Durbin, the Python Software Foundation infrastructure director.
When one account takeover can lead to widespread malware in the code index, the PyPi imperative aims to protect an increasingly enticing target—open-source code and the developers contributing to it.
“We believe that individual developers are in a more vulnerable position than corporate and business users,” wrote Donald Stufft, a PyPi maintainer and operator. “While businesses are generally able to hire staff and devote resources to vetting their dependencies, individual developers generally are not, and must expend their own limited free time to do so,” he said.
PyPi payloads. Established in 2003, the Python Package Index, known as PyPi, is an open-source, mostly volunteer-run repository for maintaining developed and shared Python packages.
Attackers have seen a high bang-for-buck effort from actively injecting malicious code into an open code base with hundreds of thousands of users—PyPi has over 700,000.
Keep reading.—BH