Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] To help prevent downloading hijacked or broken packages, warn if the package has been released less than 72 hours ago. #80

Open
tabarra opened this issue Jun 26, 2022 · 2 comments

Comments

@tabarra
Copy link
Contributor

tabarra commented Jun 26, 2022

Recently the ecosystem is getting quite a lot of packages hijacked.
One way I try to prevent using those packages is not updating to any version released less than 72 hours ago, which is time enough for the maintainers of any big package to realize what's up and unpublish the contaminated version on npm.

This could be also very useful for people that like to download only versions that have already passed the "real world smoke test".

I propose that on the update prompt, you warn if the package was released less than 72 (blue), 48 (yellow) or 24 (red) hours ago.

@ghost
Copy link

ghost commented Jun 26, 2022

I would also see this as a great feature!

@IchiiDev
Copy link

I have implemented it on my fork, I plan to submit a PR once I got some sleep ! 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants