ENH: Add month cooldown window for new package uploads#162
Conversation
* To weakly guard against security issues that are introduced in new uploads to conda-forge, add a 30 day exclusion window for Pixi's resolver. * This feature was introduced in Pixi v0.67.0, so require at least that for use.
|
@scientific-python/nightly-wheels-developers this is ready for review. |
On the contrary, this can be very effective. For example, of the 10 attacks in the chart at https://blog.yossarian.net/2025/11/21/We-should-all-be-using-dependency-cooldowns, seven were taken down in under 24 hours. The others were 3 and 10 days, and 5 weeks. |
|
Thanks for the fast review, all!
I agree @hugovk. My thoughts are more along this section from the blog
My main concern and motivating reason for "weakly" is that we're relying on both detection to have happened and for this to be reported and properly dealt with by conda-forge. I have no doubt that
and we currently have no way of performing automated security audits of software environments if conda packages are installed (c.f. #general > ✔ Recommendations for security audits on conda packages? @ 💬). I think that until we can overcome this last issue that we can't really say more than "weakly", even if we're doing our best. |
This PR is coming from the main project and not my fork so that the CI actually runs, which is important on
anaconda-clientupdates.