chore: add min-release-age to npm/pnpm/yarn config - #1
Open
rjain-g2 wants to merge 1 commit into
Open
Conversation
|
| Commit | Scanned at | New | Resolved | Net |
|---|---|---|---|---|
84ab536 < |
2026-08-06 10:51 UTC | 0 | 0 | 0 |
Last scanned: 84ab536 · 2026-08-06 10:51 UTC
|
| Commit | Scanned at | New | Resolved | Net |
|---|---|---|---|---|
84ab536 |
2026-08-06 10:52 UTC | — | — | — |
84ab536 < |
2026-08-06 10:52 UTC | 0 | 0 | 0 |
Last scanned: 84ab536 · 2026-08-06 10:52 UTC
rjain-g2
marked this pull request as ready for review
August 6, 2026 11:33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a minimum release age to npm/pnpm/yarn config so newly-published
packages are not installed until they have existed on the registry for 7
days. This reduces exposure to fresh supply-chain compromises (Shai-Hulud
incident, Slack thread: https://g2dotcom.slack.com/archives/C0BN1V4EM25/p1785964332669229).
.npmrc:min-release-age=7(days)pnpm-workspace.yaml:minimumReleaseAge: 10080(minutes).yarnrc.yml:npmMinimalAgeGate: 10080(Yarn Berry, minutes)Per-repo layer on top of a device-level default rolling out via MDM. Draft:
please confirm this does not conflict with a custom registry or lockfile
policy, and verify the repo lockfile is clean of known-bad Shai-Hulud
versions, before merging. Bun repos are handled by a separate sweep.