security: add supply-chain quarantine (.npmrc min-release-age=7)#8
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6b6d12865e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| # Supply-chain quarantine: refuse to install any npm package published < 7 days ago. | ||
| # Organization-wide policy; critical after 2026-05-12 Mini Shai-Hulud wave | ||
| # (@mistralai/mistralai 2.2.2-2.2.4, 169 packages total). | ||
| min-release-age=7 |
There was a problem hiding this comment.
Replace unsupported npm config key
I checked this change in /workspace/pi-hard-no with npm 11.4.2, and npm reports Unknown project config "min-release-age" when reading this setting (e.g., via npm config get min-release-age), which means this line is not enforced during installs. As written, the commit claims to add a supply-chain quarantine but leaves the policy gap open because package installs still proceed without age gating; please switch to a quarantine control that npm actually supports (or enforce it in a tool that supports this key).
Useful? React with 👍 / 👎.
Adds org-wide
min-release-age=7quarantine after the 2026-05-12 Mini Shai-Hulud wave. We were not compromised. Closes the policy gap.