[security] Temporarily closing PRs from external contributors (rescinded) #1401
franky47
announced in
Announcements
Replies: 3 comments
|
It’s good that you stopped accepting new PRs until stronger protections are found |
0 replies
|
note: As of today, PRs are reopened and welcome again in nuqs! 🎉 It took me a bit over a month, but I think we've landed in a good state in terms of supply chain security. Here's what changed:
pnpm verify v2.9.0 # and higher, won't work for older versions
This custom release workflow also fixes some gaps I had with semantic-release, and allows more control over the process.
|
0 replies
|
would love your feedback! I’m still actively fiddling with it but as it stands it's an easy install that at the very least, even if you do nothing else, tells you how secure your current set up is. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
The recent attacks on the NPM ecosystem (last in date being the TanStack infection with Mini Shai-Hulud yesterday) combined with the lack of proper tools on GitHub's side to properly defend against supply chain attacks mean it's up to us, maintainers, to take action to defend our community.
As I write this, nuqs is downloaded around 2.5M times weekly. Sure, the volume of PRs isn't huge, but it only takes one bad apple to spoil the bunch. I've been doing some research to harden our CI/CD workflows, and I'm mostly happy where we stand. But attackers are becoming more and more ambitious, exploiting things that static scanners, or even (generally available) AI models can't pinpoint. It takes only one angle that I haven't defended against to pwn projects that I love. And this sucks.
So for this reason, and for the time being, I'm stopping accepting PRs from external contributors (it's a setting in the General repository settings):
It's sad we're arriving at this point, because OSS is about the open sharing of code and community improvement. Reactions like making repos private or moving off of GitHub seem a bit extreme to me, but I feel like attacks like this are only the tip of the iceberg ahead. Pausing incoming PRs keeps the discussions open, which is what really matters: connections between people, more than the code itself.
I've got some ideas I want to play with to try and nip attacks in the bud that would result in a malicious npm package being published, and I'll re-allow external PRs when I feel like we're equipped with better tools to defend ourselves. What shape this ends up taking is currently unknown.
All reactions