You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[RRFC] Proposal: set min-release-age default to 7 days. #864
I believe that defaulting min-release-age to one week - which the data suggests would be an effective safety margin - would mitigate a great deal of ecosystem risk at negligible cost.
Anyone wanting to accept that risk would be able to set min-release-age to whatever they want, obviously, and in extremis - say, to pull a fix for a long-deployed but only recently discovered bug - could be dialled to zero, but I believe safe defaults are always good decision.
Thanks for hearing me out.
Reacted by pshryock-nba, Wayne Sebbens, Michael Aubert, Chris Jones and ynn
Reacted by Stof
Reacted by pshryock-nba
Reacted by netop://ウィビ, Mark Banner, Paul Shryock, pshryock-nba and Chris Jones
To clarify: my comment is already based on how long on average it takes to catch and take down vulnerabilities, which is a matter of hours. You could set it to a half day and it'd be enough.
The threat landscape is changing, greater caution is cheap. Here is the scenario, I fear. I'm a part developer, I only work on my apps a few hours a week. If I run an update/upgrade at the wrong moment, I get hit with a vulnerability. ... and I won’t know about it for days/weeks.
As it stands, I fear running an update/upgrade at all.
A retailer learns that organized crews are hitting its stores a full week before the police are even told the pattern exists. The retailer announces its response. It will not review its own security footage for the first seven days after it hears about a theft ring, because the police might identify the crews and send over their photos. The absurdity lands instantly. The police may help. The police may not. Either way the retailer is choosing not to use the cameras it already owns during the exact window when the criminals are most active.
That is a cooldown.
The cameras are detection. The criminals are the same in the scenario as those that are exploiting half of all vulnerabilities published for 7 days BEFORE they are published. Cooldowns are pretending it's not happening.
Where everyone parrotting cooldowns accross the industry should focus energy - is at publication time scanning.
If it is supposedly already being scanned (or the cooldown joke is a lie) then do it. Do the scanning. Do it then publish. Or stop pretending scanning will save you with a lie that is a cooldown.
Feel like debating this? read supplychain.exposed first then we shall debate
Reacted by Michael Aubert, A. R. Younce, David Warde-Farley, Evan Charlton and Jordan Harband
that was too quick a response, to have done any thinking on the topic, make a real point or stop gas lighting people actually trying to fix the problem - troublemakers are obvious
This whole idea is absurd.
Want a 7 day cooldown on by default while letting malware in the NPM door in the first place?
Tell that to the team that shipped a fix a week late because a cooldown timer you set could not tell a patch from an attack
that was too quick a response, to have done any thinking on the topic, make a real point or stop gas lighting people actually trying to fix the problem - troublemakers are obvious
Straw men and whataboutism also are obvious.
On the plus side, you didn't actually say anything about whether the proposed change should be implemented.
let's talk about that strawman then, cooldowns take credit for the real control. The real control is the detection. You must have missed the point so i'll say it again. The cooldown should be before the package is published so the scanning can happen while no one can install yet. Putting a cooldown on a package manager installation HOPING the real controls, the scanning, happens, is a not a control, it is a tax. A tax you pay when you do not install a patch for an exploited vulnerability.
Please stop trying to gaslight the only person in this thread trying to actually protect the industry , Read the content linked and bring a curiosity instead of dogma.
let's talk about that strawman then, cooldowns take credit for the real control. The real control is the detection. You must have missed the point so i'll say it again. The cooldown should be before the package is published so the scanning can happen while no one can install yet. Putting a cooldown on a package manager installation HOPING the real controls, the scanning, happens, is a not a control, it is a tax. A tax you pay when you do not install a patch for an exploited vulnerability.
Please stop trying to gaslight the only person in this thread trying to actually protect the industry , Read the content linked and bring a curiosity instead of dogma.
That contained a much better explanation. Thank you.
Hopefully, you'll open up to the idea of being wrong about, if nothing else, "only person".
Only person who makes you think I hope. no one respects the followiers and yes men.
Here's more to think on.
If a low-profile malicious package is never caught, your seven-day cooldown installs it on day seven, still malicious
The danger is not that the cooldown timer sits there doing nothing. It is that people believe it does something.
That is a placebo.
A team that turned on cooldowns thinks it bought protection. It only rescheduled its installs to land behind someone else's detection. That false confidence displaces the control that works. The worst thing about a placebo is that you stop taking the medicine. Or in the caee of a cooldown, that there was even other medicine you needed to take too becuase this cooldown placebo was never medicine, it takes credit for it when it works and did nothing either way.
Once you attribute the imaginary protection back to detection, only the cost is left.
What cost?
Sysdig’s Zero Day Clock tracks median time-to-exploit falling from 771 days in 2018 to four hours by 2024.
That was 4 hours 2 years ago!
Mandiant’s M-Trends 2026 reports a mean time-to-exploit of roughly negative seven days.
CrowdStrike finds that 42 percent of exploited vulnerabilities are hit before they are public.
Cooldowns stop the patches in the face of that data - like the data is not real.
Want to argue for cooldowns?
You need to argue against those reports and data - I wish you luck good sir (and all the thumbs down followers should get a grip on reality and consider new facts as a curiosity and not a thing to dismiss so easily)
Whatabouting a modest improvement in ecosystem safety and trying to reframe it as a whole different problem you coincidentally just happen to be selling solutions to don't sound like the ingredients of a good faith exercise, much less a good use of anyone's time.
A different take and framing. Background: I'm not a full time developer any more, although I was for over 20yrs. All of my apps and code are part time and hobbyist.
In addition, through my professional work as Agile Educator and Coach, I've had to learn about security.
As a part time developer, I don't touch my applications for weeks. I will only become aware of security problems when Gitbot emails me. Even then it might be days before I can do anything. I suggest that there are many people like me.
One of things in the security world has taught me is defence in depth. Setting a default minimum package age is a small mitigation, not sufficient but a start. I'm sure the comments about scanning are on the money but this isn't binary. Why not yes and...?
Default minimum package age helps people like me who will never put enough thought into securely configuring npm. If you know enough to debate on this subject you know enough to change the defaults for your projects.
Let me frame it this way, I have over 20 yrs of experience building applications. 40 yrs in the software industry and until I saw a post on Mastodon I just wasn't aware. Set the defaults for me and not someone who does this day to day.
Whatabouting a modest improvement in ecosystem safety and trying to reframe it as a whole different problem you coincidentally just happen to be selling solutions to don't sound like the ingredients of a good faith exercise, much less a good use of anyone's time.
coincidentally? No, it's entiurely the point, you're right that I solve these problems, I care about the commuity more than the people character sniping. Trying to help means contributing facts and discussing the topic, how about you try that for once?
Actually try looking into me. I am a full time government employee on a government wage. Lifetime OWASP member, and have contributed to Transparency Exchange API, RedHat security, AWS Botocore, etc. the rest of that list of communty and open source speaks for itself.
Point to anywhere or any reference I make here about any other motive?
Try to be curious and consider facts presented, why open a thread of you will just attack anyone trying to present facts and truths to you?
If you want to bring up anything "I create", did you read the link I shared? That stuff is donated.. had you read you would already know. I offer to donate to any registry willing to actually do the protections, instead of offer a placebo that only steals credit from researchers who are doing the scaning packages. Registries offering a cooldown is a registry claiming the cooldown was the safety mechanism when it works. A cooldown does nothing unless someone gets hit and you actually get a report (and take action in time). Where's the proof you will act in time? Where is the actual protections you are offering, All I see is a setting that EXPECTS someone to be harmed and a MANYBE the registry does something afterwards. I see a WISH and a borderline malpractice setting being offered here.
How about you put that scanning, the scanning you may or may not do today (i'll donate mine if you accept), put scanning BEFORE the registry publishes in the first place? Put the cooldown where it belongs, on the registry side, once, instead of pushing the burden down to EVERY team on the planet...
Welcome @mlevison glad to have constructive contributors enter!
I suggest that there are many people like me.
@mlevison would you prefer the registry perform the scan before publishing, or that you and every other person using these has to scan yourself OR hope someone else get's exploited first while you are on a cooldown, all while you risk missing patches. Those patches are statistcally more likely to fix real problem that will be exploited becuase the cooldown stopped the patches, do you feel safer?
defence in depth
The cooldown SUBTRACTS from defence in depth, it takes away patching for a time period. it has ZERO ability to detect malware. There is noone at the registry that see's you and think "Mark just used cooldowns, let me go scn for malware in his packages for him", NO!.. the real defense is elsewhere, not at the registry, not at your cooldown setting and they (the registry) are pretending it is a "you problem" feeding you dogma to feel good abou that bad behaviour, and try to hand you a placebo "cooldown" while they may or may not get a report from researchers, or someone who got popped instead of you. Your cooldown does not trigger any malware scanning for you, you should still scan for malware, and had cooldowns never been invented, you should scan for malware yourself because with or without cooldowns you only hope someone will, and the registry is not at all saying they do that for you, read carefully, the worst part is that the registry chose to make you wait for that protection if you are "smart" and use cooldowns, which means that they want other people to get attacked and report they were attacked so you stay safe.
Default minimum package age helps people like me
That is a dogma that too many people have been brainwashing you with, it is a placebo, you are fed and stop being curious about the real protiections, the real security control. the real failure to your defence in depth that a cooldown burdened you with. Now that you are informed, think about that dogma? Would you trade your defence in depth protections from exploits during hte riskiest period of exploitation every report's stats tell you, for a placebo like cooldown that just hopes someone else gets hit before you so you stay afe?
If you know enough to debate on this subject you know enough to change the defaults for your projects.
Even if you are told a dogma and myth such as cooldowns, that is now knowledge. the person telling you had been told by someone else and liek aparrot just soread the bad adivce that will actually cause you more harm, and the only thing it does for you, is make a setting that REQUIRES someone else is harmed first AND they tell the registry. the truth is, cooldowns do nothing. hey either have mass exploitation first then the registry listens and pulls a package OR the registry is advised by someone like me that there is malware and maybe they listen and do somehting for the people on cooldow, i can't stress enough that you are on cooldown not being patched and risk getting exploited, the data shows that 42% of all known vulnerabilites are exploited 7 days BEFORE publishing, your cooldown of 7 days mens on average that is 14 days you REFUSE a patch that will protect you, while you hope someone else gets you the makware fix - the cooldown did not fix anything for you.
This whole thing is cognitive dissonance for the registry and users who don't fact check the dogma.
Registry people who argue for a cooldown? It is obvious to anyone who takes a moment to ask "why?" a convenience, an easy "make it your problem devs" kind of change. If registry people love cooldowns so much - add a cooldown to your own registry, and prove you love the cooldowns! Use the cooldown once to stop publishing until YOU scan it, instead of uskin millions of users to do that for you or get exploited and tell you (doing your job) keeping everyone else safe
@ljharb you did not challenge the facts, nor defend the RRFC lack of facts. No claims of 100% are made, and the last point you made IS VALID
cooldown also delays security and bug fixes. That is not a good place for an ecosystem to be, and no security tradeoff is worth that
That is the exact situation this RRFC presents - so youhave just announced that the RRFC (and my proposal that does not change the fact) is in your opinion) not acceptable. The only difference between the RRFC and my proposal are:
RRFC applies for a non-negotiable 7 day default while the RRFC allows detectable malware packages to still be published and distributable
vs
Proposal form PHP that is relevant to the Malware defence controls, the thesis of the RRFC so relevant ipso facto, that control the RRFC demands is safer than the RRFC control if it is a shorter delay (minutes or hours, not a week) to delay same-day package and patch publishing, while it is scanned by the registry, no detetable malware is EVER published (unlike the RRFC that still wants to publish it)
Hopefull the next person will discuss this topic based factually - or at least agree in principal the RRFC is dangerous too, thank you for clearing that up
It's perfectly valid to select which facts someone wants to respond to - nobody is obligated to address every single point brought up, especially when there's dozens of them.
That said, I'm saying that no security benefit is worth any delay in making published packages available. Security is important, but that doesn't mean it trumps all other concerns.
@ljharb In practice, the PHP Packagist solution is not a cooldown, that is what the RRFC proposes - NPM RRFC would continue to publish malware with a cooldown imposed - as @mhoye said, it is lunacy (thank you for sayign the quiet part out loud), the RRFC solution is lunacy, because the solution other registries chose, is sane comparisson, actually stops publishing detectable malware, the RRFC does not try to stop publishing detectable malware at all.
That's what I'm saying - it is not viable to prevent the publishing of anything, because that would cause nonzero false positives, which is the worst possible outcome.
The only approach that is even remotely viable is post-publish scanning, which is why a cooldown is appropriate.
post-publish scanning is happening, it has been happening. I have the largest public free corpus that spun out of a capability in my day job in the governemnt, and very recently available via GCVE as a numbering authority.
I can attest to the level of effectiveness of malware scanning, at scale, and in numbers for NPM that would blow your mind, with very few entities rivalling this corpus. That is why it is being published freely, offeering to donate it, and will be shared with OSM as soon as they can handle the data (as of last week).
You have made a point that I agree with - but the conclusion you added makes the risk higher i am sure you would see, if you take the time to immerse yourself in the data and the reporting from the 5 entities named in this thread.
We have had a lot of ideation in this thread, but no one is checking the facts, challenging the facts, or caring about the facts enough to respond to them. Without the facts beign considred, all this ideation and discussion is counter productive and borderlines rooted in dogmas.
Can someone please take the time to review the data sources shared and respond with their conclusions? I'd appreciate the "vibe" cease, adn we focus. This is malware and potentially non-consentual exposure to unpatchable exploits if the RRFC goes ahead blindly.
PNPM chose 1440 (1 day) for a reason. They are awaiting a better solution. 1 day default was not a great result, but a smart one if it is only temporary. If the facts are not reviewed and the RRFC goes forard in ignorance of proper solutions - then I hope that it is temporary also, and reduced to 1 day of non-consentiual blocking of security patches enforced on all users - not 7 days, that is an absurd level of negligence.
This RRFC is just about a clientside config default. It can be overridden by setting the value to 0, 1, or whatever you want. Nothing's "forced" on anyone.
This RRFC is just about a clientside config default. It can be overridden by setting the value to 0, 1, or whatever you want. Nothing's "forced" on anyone.
Please reframe from selectively ommitting facts. It is a half truth and not very convincing.
it is default, you get it when you do not ask for it. you can (if you know) opt-out. this is a forcing of a default and it is ingenuous to claim defaults are unforced. the only thing you can say is it is on by default, off if you figure out the quet change happened and decide you want to opt out.
So, you will inform them that their expectation using SemVer will stop working for 7 days when the defaul rolls out, and ensure they consent? No? they have to spontaneously figure out there is an escape hatch and then undersnd htat they need that in their use case after using SemVer to control it their entire career?
Seems elitist and supernatural - completely diconnected from reality - and worse. redefindes the term "default" with a convenient self-serving opposite meaning than everyone else expects.
No, defaults that change fundamentals of security patching to act in opposition, long stnading expectations like SemVer to be silently ignored - that's what the default does.
NPM, make the correct decision for users.
Over and out.
It's true that I didn't specifically point out that changing how the software behaves by default would change how the software behaves by default when I requested comments about my proposal to change how the software behaves by default on a site whose only reason to exist is managing changes to how software behaves by default, but I concede the point.
It's true that I didn't specifically point out that changing how the software behaves by default would change how the software behaves by default when I requested comments about my proposal to change how the software behaves by default on a site whose only reason to exist is managing changes to how software behaves by default, but I concede the point.
I guess that makes sense?..
Here, allow me to rephrase coherently.
As a user. Safety I did not consent to, that quietly removes a protection (patches) I was counting on, is not safety. It is NPM deciding what risk I am allowed to carry. Extending the actiuvely exploited widnow by 7 days for a patch is certain. Hoping researchers find Malware within 7 days is the price.
Activity
ljharb commentedon May 9, 2026
One day is more than enough for all but the most paranoid.
mlevison commentedon May 12, 2026
Apparentlty, I'm considered paranoid.
I think a week is a good default.
A small tweak to the original proposal: Start with one week, monitor how long it takes on average to catch vulnerabilities, then adjust the default.
Clearly the current state of affairs is not safe.
ljharb commentedon May 12, 2026
To clarify: my comment is already based on how long on average it takes to catch and take down vulnerabilities, which is a matter of hours. You could set it to a half day and it'd be enough.
mlevison commentedon May 12, 2026
The threat landscape is changing, greater caution is cheap. Here is the scenario, I fear. I'm a part developer, I only work on my apps a few hours a week. If I run an update/upgrade at the wrong moment, I get hit with a vulnerability. ... and I won’t know about it for days/weeks.
As it stands, I fear running an update/upgrade at all.
ljharb commentedon May 12, 2026
and, based on empiric data, if you set a cooldown period of even a single day, that will never happen.
0x73746F66 commentedon Jun 21, 2026
Consider the absurdity of this a moment please?
A retailer learns that organized crews are hitting its stores a full week before the police are even told the pattern exists. The retailer announces its response. It will not review its own security footage for the first seven days after it hears about a theft ring, because the police might identify the crews and send over their photos. The absurdity lands instantly. The police may help. The police may not. Either way the retailer is choosing not to use the cameras it already owns during the exact window when the criminals are most active.
That is a cooldown.
The cameras are detection. The criminals are the same in the scenario as those that are exploiting half of all vulnerabilities published for 7 days BEFORE they are published. Cooldowns are pretending it's not happening.
Where everyone parrotting cooldowns accross the industry should focus energy - is at publication time scanning.
If it is supposedly already being scanned (or the cooldown joke is a lie) then do it. Do the scanning. Do it then publish. Or stop pretending scanning will save you with a lie that is a cooldown.
Feel like debating this? read supplychain.exposed first then we shall debate
mhoye commentedon Jun 21, 2026
That was nonsense.
0x73746F66 commentedon Jun 21, 2026
that was too quick a response, to have done any thinking on the topic, make a real point or stop gas lighting people actually trying to fix the problem - troublemakers are obvious
This whole idea is absurd.
Want a 7 day cooldown on by default while letting malware in the NPM door in the first place?
Tell that to the team that shipped a fix a week late because a cooldown timer you set could not tell a patch from an attack
michaelaubert commentedon Jun 21, 2026
Straw men and whataboutism also are obvious.
On the plus side, you didn't actually say anything about whether the proposed change should be implemented.
0x73746F66 commentedon Jun 21, 2026
let's talk about that strawman then, cooldowns take credit for the real control. The real control is the detection. You must have missed the point so i'll say it again. The cooldown should be before the package is published so the scanning can happen while no one can install yet. Putting a cooldown on a package manager installation HOPING the real controls, the scanning, happens, is a not a control, it is a tax. A tax you pay when you do not install a patch for an exploited vulnerability.
Please stop trying to gaslight the only person in this thread trying to actually protect the industry , Read the content linked and bring a curiosity instead of dogma.
michaelaubert commentedon Jun 21, 2026
That contained a much better explanation. Thank you.
Hopefully, you'll open up to the idea of being wrong about, if nothing else, "only person".
0x73746F66 commentedon Jun 21, 2026
Only person who makes you think I hope. no one respects the followiers and yes men.
Here's more to think on.
If a low-profile malicious package is never caught, your seven-day cooldown installs it on day seven, still malicious
The danger is not that the cooldown timer sits there doing nothing. It is that people believe it does something.
That is a placebo.
A team that turned on cooldowns thinks it bought protection. It only rescheduled its installs to land behind someone else's detection. That false confidence displaces the control that works. The worst thing about a placebo is that you stop taking the medicine. Or in the caee of a cooldown, that there was even other medicine you needed to take too becuase this cooldown placebo was never medicine, it takes credit for it when it works and did nothing either way.
Once you attribute the imaginary protection back to detection, only the cost is left.
What cost?
Sysdig’s Zero Day Clock tracks median time-to-exploit falling from 771 days in 2018 to four hours by 2024.
That was 4 hours 2 years ago!
Mandiant’s M-Trends 2026 reports a mean time-to-exploit of roughly negative seven days.
CrowdStrike finds that 42 percent of exploited vulnerabilities are hit before they are public.
Cooldowns stop the patches in the face of that data - like the data is not real.
Want to argue for cooldowns?
You need to argue against those reports and data - I wish you luck good sir (and all the thumbs down followers should get a grip on reality and consider new facts as a curiosity and not a thing to dismiss so easily)
mhoye commentedon Jun 21, 2026
Whatabouting a modest improvement in ecosystem safety and trying to reframe it as a whole different problem you coincidentally just happen to be selling solutions to don't sound like the ingredients of a good faith exercise, much less a good use of anyone's time.
mlevison commentedon Jun 21, 2026
A different take and framing. Background: I'm not a full time developer any more, although I was for over 20yrs. All of my apps and code are part time and hobbyist.
In addition, through my professional work as Agile Educator and Coach, I've had to learn about security.
As a part time developer, I don't touch my applications for weeks. I will only become aware of security problems when Gitbot emails me. Even then it might be days before I can do anything. I suggest that there are many people like me.
One of things in the security world has taught me is defence in depth. Setting a default minimum package age is a small mitigation, not sufficient but a start. I'm sure the comments about scanning are on the money but this isn't binary. Why not yes and...?
Default minimum package age helps people like me who will never put enough thought into securely configuring npm. If you know enough to debate on this subject you know enough to change the defaults for your projects.
Let me frame it this way, I have over 20 yrs of experience building applications. 40 yrs in the software industry and until I saw a post on Mastodon I just wasn't aware. Set the defaults for me and not someone who does this day to day.
0x73746F66 commentedon Jun 21, 2026
coincidentally? No, it's entiurely the point, you're right that I solve these problems, I care about the commuity more than the people character sniping. Trying to help means contributing facts and discussing the topic, how about you try that for once?
Actually try looking into me. I am a full time government employee on a government wage. Lifetime OWASP member, and have contributed to Transparency Exchange API, RedHat security, AWS Botocore, etc. the rest of that list of communty and open source speaks for itself.
Point to anywhere or any reference I make here about any other motive?
Try to be curious and consider facts presented, why open a thread of you will just attack anyone trying to present facts and truths to you?
If you want to bring up anything "I create", did you read the link I shared? That stuff is donated.. had you read you would already know. I offer to donate to any registry willing to actually do the protections, instead of offer a placebo that only steals credit from researchers who are doing the scaning packages. Registries offering a cooldown is a registry claiming the cooldown was the safety mechanism when it works. A cooldown does nothing unless someone gets hit and you actually get a report (and take action in time). Where's the proof you will act in time? Where is the actual protections you are offering, All I see is a setting that EXPECTS someone to be harmed and a MANYBE the registry does something afterwards. I see a WISH and a borderline malpractice setting being offered here.
How about you put that scanning, the scanning you may or may not do today (i'll donate mine if you accept), put scanning BEFORE the registry publishes in the first place? Put the cooldown where it belongs, on the registry side, once, instead of pushing the burden down to EVERY team on the planet...
Welcome @mlevison glad to have constructive contributors enter!
@mlevison would you prefer the registry perform the scan before publishing, or that you and every other person using these has to scan yourself OR hope someone else get's exploited first while you are on a cooldown, all while you risk missing patches. Those patches are statistcally more likely to fix real problem that will be exploited becuase the cooldown stopped the patches, do you feel safer?
The cooldown SUBTRACTS from defence in depth, it takes away patching for a time period. it has ZERO ability to detect malware. There is noone at the registry that see's you and think "Mark just used cooldowns, let me go scn for malware in his packages for him", NO!.. the real defense is elsewhere, not at the registry, not at your cooldown setting and they (the registry) are pretending it is a "you problem" feeding you dogma to feel good abou that bad behaviour, and try to hand you a placebo "cooldown" while they may or may not get a report from researchers, or someone who got popped instead of you. Your cooldown does not trigger any malware scanning for you, you should still scan for malware, and had cooldowns never been invented, you should scan for malware yourself because with or without cooldowns you only hope someone will, and the registry is not at all saying they do that for you, read carefully, the worst part is that the registry chose to make you wait for that protection if you are "smart" and use cooldowns, which means that they want other people to get attacked and report they were attacked so you stay safe.
That is a dogma that too many people have been brainwashing you with, it is a placebo, you are fed and stop being curious about the real protiections, the real security control. the real failure to your defence in depth that a cooldown burdened you with. Now that you are informed, think about that dogma? Would you trade your defence in depth protections from exploits during hte riskiest period of exploitation every report's stats tell you, for a placebo like cooldown that just hopes someone else gets hit before you so you stay afe?
Even if you are told a dogma and myth such as cooldowns, that is now knowledge. the person telling you had been told by someone else and liek aparrot just soread the bad adivce that will actually cause you more harm, and the only thing it does for you, is make a setting that REQUIRES someone else is harmed first AND they tell the registry. the truth is, cooldowns do nothing. hey either have mass exploitation first then the registry listens and pulls a package OR the registry is advised by someone like me that there is malware and maybe they listen and do somehting for the people on cooldow, i can't stress enough that you are on cooldown not being patched and risk getting exploited, the data shows that 42% of all known vulnerabilites are exploited 7 days BEFORE publishing, your cooldown of 7 days mens on average that is 14 days you REFUSE a patch that will protect you, while you hope someone else gets you the makware fix - the cooldown did not fix anything for you.
This whole thing is cognitive dissonance for the registry and users who don't fact check the dogma.
Registry people who argue for a cooldown? It is obvious to anyone who takes a moment to ask "why?" a convenience, an easy "make it your problem devs" kind of change. If registry people love cooldowns so much - add a cooldown to your own registry, and prove you love the cooldowns! Use the cooldown once to stop publishing until YOU scan it, instead of uskin millions of users to do that for you or get exploited and tell you (doing your job) keeping everyone else safe
8 remaining items
0x73746F66 commentedon Jun 23, 2026
@ljharb you did not challenge the facts, nor defend the RRFC lack of facts. No claims of 100% are made, and the last point you made IS VALID
That is the exact situation this RRFC presents - so youhave just announced that the RRFC (and my proposal that does not change the fact) is in your opinion) not acceptable. The only difference between the RRFC and my proposal are:
RRFC applies for a non-negotiable 7 day default while the RRFC allows detectable malware packages to still be published and distributable
vs
Proposal form PHP that is relevant to the Malware defence controls, the thesis of the RRFC so relevant ipso facto, that control the RRFC demands is safer than the RRFC control if it is a shorter delay (minutes or hours, not a week) to delay same-day package and patch publishing, while it is scanned by the registry, no detetable malware is EVER published (unlike the RRFC that still wants to publish it)
Hopefull the next person will discuss this topic based factually - or at least agree in principal the RRFC is dangerous too, thank you for clearing that up
ljharb commentedon Jun 23, 2026
It's perfectly valid to select which facts someone wants to respond to - nobody is obligated to address every single point brought up, especially when there's dozens of them.
That said, I'm saying that no security benefit is worth any delay in making published packages available. Security is important, but that doesn't mean it trumps all other concerns.
mhoye commentedon Jun 23, 2026
I apologize to the NPM community for my part in summoning this lunacy into the world.
0x73746F66 commentedon Jun 23, 2026
@ljharb In practice, the PHP Packagist solution is not a cooldown, that is what the RRFC proposes - NPM RRFC would continue to publish malware with a cooldown imposed - as @mhoye said, it is lunacy (thank you for sayign the quiet part out loud), the RRFC solution is lunacy, because the solution other registries chose, is sane comparisson, actually stops publishing detectable malware, the RRFC does not try to stop publishing detectable malware at all.
ljharb commentedon Jun 23, 2026
That's what I'm saying - it is not viable to prevent the publishing of anything, because that would cause nonzero false positives, which is the worst possible outcome.
The only approach that is even remotely viable is post-publish scanning, which is why a cooldown is appropriate.
0x73746F66 commentedon Jun 24, 2026
post-publish scanning is happening, it has been happening. I have the largest public free corpus that spun out of a capability in my day job in the governemnt, and very recently available via GCVE as a numbering authority.
I can attest to the level of effectiveness of malware scanning, at scale, and in numbers for NPM that would blow your mind, with very few entities rivalling this corpus. That is why it is being published freely, offeering to donate it, and will be shared with OSM as soon as they can handle the data (as of last week).
You have made a point that I agree with - but the conclusion you added makes the risk higher i am sure you would see, if you take the time to immerse yourself in the data and the reporting from the 5 entities named in this thread.
We have had a lot of ideation in this thread, but no one is checking the facts, challenging the facts, or caring about the facts enough to respond to them. Without the facts beign considred, all this ideation and discussion is counter productive and borderlines rooted in dogmas.
Can someone please take the time to review the data sources shared and respond with their conclusions? I'd appreciate the "vibe" cease, adn we focus. This is malware and potentially non-consentual exposure to unpatchable exploits if the RRFC goes ahead blindly.
PNPM chose 1440 (1 day) for a reason. They are awaiting a better solution. 1 day default was not a great result, but a smart one if it is only temporary. If the facts are not reviewed and the RRFC goes forard in ignorance of proper solutions - then I hope that it is temporary also, and reduced to 1 day of non-consentiual blocking of security patches enforced on all users - not 7 days, that is an absurd level of negligence.
ljharb commentedon Jun 24, 2026
This RRFC is just about a clientside config default. It can be overridden by setting the value to 0, 1, or whatever you want. Nothing's "forced" on anyone.
0x73746F66 commentedon Jun 24, 2026
Please reframe from selectively ommitting facts. It is a half truth and not very convincing.
it is default, you get it when you do not ask for it. you can (if you know) opt-out. this is a forcing of a default and it is ingenuous to claim defaults are unforced. the only thing you can say is it is on by default, off if you figure out the quet change happened and decide you want to opt out.
ljharb commentedon Jun 24, 2026
"Forcing" means there's no escape hatch. Factually and definitionally, a configurable default is not "forced" or "enforced".
0x73746F66 commentedon Jun 25, 2026
So, you will inform them that their expectation using SemVer will stop working for 7 days when the defaul rolls out, and ensure they consent? No? they have to spontaneously figure out there is an escape hatch and then undersnd htat they need that in their use case after using SemVer to control it their entire career?
Seems elitist and supernatural - completely diconnected from reality - and worse. redefindes the term "default" with a convenient self-serving opposite meaning than everyone else expects.
No, defaults that change fundamentals of security patching to act in opposition, long stnading expectations like SemVer to be silently ignored - that's what the default does.
NPM, make the correct decision for users.
Over and out.
mhoye commentedon Jun 25, 2026
It's true that I didn't specifically point out that changing how the software behaves by default would change how the software behaves by default when I requested comments about my proposal to change how the software behaves by default on a site whose only reason to exist is managing changes to how software behaves by default, but I concede the point.
0x73746F66 commentedon Jun 26, 2026
I guess that makes sense?..
Here, allow me to rephrase coherently.
As a user. Safety I did not consent to, that quietly removes a protection (patches) I was counting on, is not safety. It is NPM deciding what risk I am allowed to carry. Extending the actiuvely exploited widnow by 7 days for a patch is certain. Hoping researchers find Malware within 7 days is the price.
ljharb commentedon Jun 26, 2026
Any default you rely on without explicitly reifying in your config, is autonomy you've forfeited to the software.
As I said upthread, all known malware has been found in fractions of 1 day so far.
0x73746F66 commentedon Jul 29, 2026
microsoft GitHub are doing the scanning of Microsoft NPM before publish now
https://github.blog/changelog/2026-07-28-npm-publish-time-malware-scanning-and-dual-use-metadata/
What a novel idea!
bcomnes commentedon Jul 31, 2026
I support 1 day, or some other kind of scan hold feature with no delay once scanned.