Really appreciate that GitHub is taking steps to lock down npm publishing workflows: https://github.blog/security/supply-chain-security/our-plan-for-a-more-secure-npm-supply-chain/
9 replies
@zachleat "Expand eligible providers for trusted publishing."
👀
Microsoft's got a financial incentive to lock everyone in to GitHub, but I would welcome trusted publishing capabilities in alternatives like Forgejo/Codeberg/Gitea/etc.
-
@thisismissem @janl hm? I think they’re removing support for a few things
@zachleat @janl maybe but if memory serves, they were already making those changes slowly.
I would've expected a pnpm like approved builds setup, including the ability to review the build script to run. Also the ability to mark a specific package scope as requiring trusted publishing or MFA verified tokens, etc.
@thisismissem @janl ah, I wasn’t aware of already in-motion changes!
-
@thisismissem @janl afaict the biggest change (imo) is to deprecate/remove use of non-granular tokens
-
@zachleat while applaud this - I would applaud even more if they would also cleanup in their own backyard though.
They still force people to use classic PATs like it's 2010.
https://github.com/orgs/community/discussions/38467
https://github.com/github/roadmap/issues/558Given the age of the PAT discussion I fear it is rather npm pushing for this - not Github.
I guess every improvement is a win - but still.
@zachleat I'm really not. Putting "supply chain" burdens on ordinary people is exploitative and abusive behavior by capitalists.
What I want to see is npm's "lol here's a million random-provenance micro-deps" model burned to the ground. I'm happy to see it keep being a source of vulns until it's abandoned.