Skip to content

[RRFC] Proposal: set min-release-age default to 7 days. #864

Description

@mhoye

Hello, NPM community; I would like to propose that the default of "min-release-age" be set to seven days.

Per https://blog.yossarian.net/2025/11/21/We-should-all-be-using-dependency-cooldowns the great majority of compromised/malicious NPM packages are detected and remediated within hours or a small number of days. There are a number of examples of this, most recently the cline2.3 injection attack - see: GHSA-9ppg-jx86-fqw7
and: https://grith.ai/blog/clinejection-when-your-ai-tool-installs-another ) - but it is a recurring issue in the NPM ecosystem.

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions