VOOZH about

URL: https://thenewstack.io/whos-keeping-the-python-ecosystem-safe/

⇱ Who’s Keeping the Python Ecosystem Safe? - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2024-06-06 07:25:21
Who’s Keeping the Python Ecosystem Safe?
podcast,sponsor-amazon-web-services-aws,sponsored-podcast-day-of-podcasting,video,
Python / Security

Who’s Keeping the Python Ecosystem Safe?

Since August, a “code gardener” has been watching over the Python Package Index, or PyPI, with help from Pythonistas and security experts. Here’s how.
Jun 6th, 2024 7:25am by Heather Joslyn
👁 Featued image for: Who’s Keeping the Python Ecosystem Safe?
AWS sponsored this post.

PITTSBURGH — Mike Fiedler’s official title in his role at the Python Software Foundation is “PyPI safety and security engineer.” But unofficially, he’s given himself a humbler moniker: “code gardener.”

What, pray tell, is a code gardener?

Fiedler gave himself that descriptor, he said in this On the Road episode of The New Stack Makers, recorded at PyCon US in May, back in the days when developers who worked on open source projects gave themselves “silly titles for the things we were doing.” But it turns out, there’s nothing funny about the work of a code gardener.

In a sense, he “pulls the weeds” that crop up in a project over time, he said — handling the nonsexy parts of open source contribution.”

“It’s important, but a lot of people aren’t don’t find that as interesting,” Fiedler said. “I think there’s always this aspect of gardening or weeding out things of your code.”

Since August, Fiedler has been digging into the Python Package Index, or PyPI, at the Python Software Foundation. His work is being funded by Amazon Web Services.

See Something? Say Something.

Python is memory-safe. But the open source nature of Python means that “when it comes to the ecosystem, there are lots of packages or third-party modules that people want to include,” Fiedler said. “And those should be vetted by people who are installing them. Before you install and deploy your software to production, you should take a moment to see, is this Kosher?”

At the Python Software Foundation, Fiedler focuses on improving the security of the package index and its ecosystem. That includes not just that the packages themselves are free of malware but that the pipeline itself is secure.

In other words, he elaborated, “The supply chain security aspect of it: that we will deliver the right package the right bits on a disk that you asked for every single time. And if they change, all sorts of like bells and whistles should go off at that point.”

Among Fiedler’s first acts upon starting his job last summer was enforcing two-factor authentication (2FA) on all user accounts. The foundation has enabled 2FA a couple of years earlier. “But we didn’t have a plan, going forward to specifically get everybody on board,” he said. “it was more of an opt-in.“

He embarked on a community awareness campaign getting the word out via podcasts and blog posts; when 2FA became mandatory for users on January 1, the transition was smooth.

Tapping the community has also helped to keep PyPI safe, he said. “We partner along with a lot of security researchers and the public in general, [for a] ‘if you see something, say something’ aspect, to build out this community of folks who are well invested in scouring all of these packages for signals that look fishy. And then they escalate those signals and report them back to us. And we verify and remove those malicious packages.”

In late 2023, the foundation embarked on a security audit by Trail of Bits, supported by the Open Technology Fund, diving deep into the PyPI codebase and its deployment tools. The results didn’t reveal that PyPI was “clean as a whistle because there’s always something to do,” Fiedler said. But there were no major fires to put out — just a few medium-sized vulnerabilities that were remediated quickly.

“There weren’t big gaping holes, there were just some extra doors,” he said. Locking up those doors will increase the platform’s security. The results are available for review on the PyPI.org website.

Check out the full video for more details on how Fiedler’s work at the Python Software Foundation helps keep the Python ecosystem safe.

Since its inception, Amazon Web Services (AWS) has been the best place for customers to build and run open source software in the cloud. AWS is proud to support open source projects, foundations, and partners.
Learn More
The latest from AWS
Hear more from our sponsor
TRENDING STORIES
Heather Joslyn is the former editor-in-chief of The New Stack. She previously worked as editor-in-chief of Container Solutions, a Cloud Native consulting company, and as an editor/reporter at The Chronicle of Philanthropy and the Baltimore City Paper.
Read more from Heather Joslyn
AWS sponsored this post.
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.