Post by @jaseg@chaos.social

dr.-ing. ⁡jaseg
@jaseg @chaos.social

I'm honestly not a fan at all of PyPI's introduction of a "file provenance" feature under a page labelled "security", branding projects that don't use github, google, or gitlab as insecure.

Replying to @jaseg@chaos.social
dr.-ing. ⁡jaseg
@jaseg @chaos.social
Public en edited

The way PyPI nudges users to view packages not built at e.g. github or google but on your on infrastructure as "insecure" IMHO runs counter to where we should be going as an open-source ecosystem. Discriminating against e.g. self-hosted #forgejo or platforms like #codeberg in favor of github and google is a bad look in 2026.

#python

Replying to @jaseg@chaos.social

@jaseg@chaos.social Can you please tell me what you're seeing that makes you think that? My impression is that it's the inverse.

Packages built using the Trusted Publishing Pipeline are marked as secure. Others aren't. Think about the trade-offs inherent in creating infrastructure like this.

When I look at a package we build with our Concourse pipeline at MIT, this is what I see:

It says "No provenance found". How is that "insecure" ? Or are you looking at something else?

Replying to @feoh
dr.-ing. ⁡jaseg
@jaseg @chaos.social

@feoh if you know what you’re looking for that looks harmless. However, if you’re not well-versed in this stuff you see one project page with lots of important-looking stats and a checkmark on the security page, and one with a scary disclaimer and a callout saying “no provenance found”, and you choose the first, github-hosted project over the second. It’s a nudge. It’s not an in your face warning, but a subtle signal.

Replying to @jaseg@chaos.social

@jaseg@chaos.social Honestly I respectfully disagree. It is exactly what it says on the tin. If you think they should use different language that would more clearly communicate the facts, you should engage with the @ThePSF@fosstodon.org security team. They're amazing folks doing seriously great work.

Replying to @feoh
dr.-ing. ⁡jaseg
@jaseg @chaos.social

@feoh That’s alright, then we disagree here. My stance is that most users don’t read this stuff, and the mere presence or absence leads to people making (uninformed, incorrect) inferences. It’s not great, but that’s how people are. They don’t read disclaimers or take the time to understand nuanced security stuff.

I’ve brought it up over at github, but to a chilly response. That’s really all I’m going to do here, I don’t have the time or energy to argue this to the end.

Replying to @jaseg@chaos.social
dr.-ing. ⁡jaseg
@jaseg @chaos.social

@feoh contextualize all of this with the fact that this entire feature is near useless to do anything against real attacks, and that the little it does doesn’t require the “security” tab UI in the first place.