Skip to content

chore(security): add min-release-age=3 to .npmrc - #63

Merged
jvdadda merged 1 commit into
masterfrom
mobsuccessbot/npmrc-min-release-age
Sep 1, 2026
Merged

jvdadda merged 1 commit into
masterfrom
mobsuccessbot/npmrc-min-release-age

Conversation

@ms-bot

@ms-bot ms-bot commented May 21, 2026 •

Copy link
Copy Markdown
Contributor

Why is this needed?

This pull request has been created by a robot to add supply chain protection.

Adding min-release-age=3 to .npmrc prevents npm from installing packages published less than 3 days ago, protecting against attacks like the TanStack compromise (May 2026).

Requires npm ≥ 11.10 — already enforced by the generated npm.yml workflow.

@ms-bot ms-bot added the mobsuccessbot Pull requests that enforce company policies label May 21, 2026

@jvdadda jvdadda left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approuvé automatiquement : PR de synchronisation de workflow générée par ms-bot, tous les checks requis sont verts.

Copilot AI lite review requested due to automatic review settings September 1, 2026 08:36
@jvdadda
jvdadda force-pushed the mobsuccessbot/npmrc-min-release-age branch from 6e91fdb to c6acdb9 Compare September 1, 2026 08:36
@jvdadda
jvdadda enabled auto-merge (squash) September 1, 2026 08:37

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an npm configuration guardrail to reduce supply-chain risk by preventing installation of very recently published packages, aligning with the repository’s CI setup that upgrades npm to a compatible version.

Changes:

  • Add min-release-age=3 to the repo’s .npmrc to block installs of packages published within the last 3 days.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@ms-bot
ms-bot force-pushed the mobsuccessbot/npmrc-min-release-age branch from c6acdb9 to ff9d15c Compare September 1, 2026 08:41
@jvdadda
jvdadda merged commit b2430f7 into master Sep 1, 2026
11 checks passed
@jvdadda
jvdadda deleted the mobsuccessbot/npmrc-min-release-age branch September 1, 2026 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mobsuccessbot Pull requests that enforce company policies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants