TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

PyPI Security

50 pointsby SethMLarsonover 1 year ago

5 comments

alfalfasproutover 1 year ago
I&#x27;m really glad this is being taken seriously. It&#x27;s often been an uphill battle to convince people that Python supply chain security is a serious issue.<p>In the ML (now called AI) space for example, it&#x27;s not uncommon to download random binaries from the internet containing model weights, scripts, etc. Sometimes even at runtime (!!!) Lots of bad practices across the industry there that wouldn&#x27;t be tolerated in other contexts.
评论 #38018109 未加载
评论 #38018962 未加载
评论 #38018780 未加载
IshKebabover 1 year ago
I haven&#x27;t listened to the interview but are they going to add namespaces? That&#x27;s the only good solution I can see to the current unfixed dependency confusion issue.<p>By that I mean, you want to use a private pip repo in your company, you upload `yourcompany_secretproject` to it and tell people to install it. Now the only way to prevent yourself being hacked is to publicly register an empty package `yourcompany_secretproject` on pypi.org. Oh and also hope the admins don&#x27;t notice it and remove it because it&#x27;s empty (which they have said they will).<p>Insane situation.
评论 #38019076 未加载
woodruffwover 1 year ago
This is a great interview! Mike (and Seth, who is tasked with addressing the non-PyPI security needs of the Python ecosystem) have been doing a great job both documenting and expanding the Python ecosystem’s security capabilities and outstanding needs.<p>PyPI’s security features have undergone a significant expansion since the backend rewrite back in 2017; I <i>think</i> it’s accurate to say that, since then, it has consistently been on the forefront (amongst its peer indices) in terms of adding scopeable API tokens, MFA, secret scanning, and most recently trusted publishing).<p>(FD: The company I work for helped add some of those features[1][2].)<p>[1]: <a href="https:&#x2F;&#x2F;blog.trailofbits.com&#x2F;2019&#x2F;06&#x2F;20&#x2F;getting-2fa-right-in-2019&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;blog.trailofbits.com&#x2F;2019&#x2F;06&#x2F;20&#x2F;getting-2fa-right-in...</a><p>[2]: <a href="https:&#x2F;&#x2F;blog.trailofbits.com&#x2F;2023&#x2F;05&#x2F;23&#x2F;trusted-publishing-a-new-benchmark-for-packaging-security&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;blog.trailofbits.com&#x2F;2023&#x2F;05&#x2F;23&#x2F;trusted-publishing-a...</a>
cmiller1over 1 year ago
Thank you so much for including a transcript!!! I hate when audio or video content doesn&#x27;t, I personally prefer to read rather than listen but there are plenty of users with disabilities who don&#x27;t even have an option.<p>transcript link: <a href="https:&#x2F;&#x2F;talkpython.fm&#x2F;episodes&#x2F;transcript&#x2F;435&#x2F;pypi-security" rel="nofollow noreferrer">https:&#x2F;&#x2F;talkpython.fm&#x2F;episodes&#x2F;transcript&#x2F;435&#x2F;pypi-security</a>
streakfixover 1 year ago
Good to finally see people working on this.