/security-engineering:npm-release-age-gatefrom security-engineering
Configures and reviews npm min-release-age controls to slow dependency adoption after publish, with defaults, high-sensitivity profiles, and override handling.
Ships in security-engineering. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill when a user wants to slow dependency adoption after a
fresh npm publish, configure min-release-age, decide whether to use
npm or pnpm for the gate, or troubleshoot install failures caused by
newly published package versions.
For npm projects, commit this at the repo root:
min-release-age=7
Require npm 11.5+ on contributor machines and in any CI job that can change the lockfile:
npm install -g npm@^11.5
npm --version
For release-prep dependency churn, major version bumps, or highly sensitive projects, use a one-command high-sensitivity profile:
npm install --min-release-age=10
package-lock.json?
Keep npm and add .npmrc. Migration to pnpm is not required for the
threat model.minimumReleaseAge setting in pnpm-workspace.yaml or
.npmrc equivalent per pnpm's current docs.Avoid permanent bypasses. If a dependency must be adopted before the gate expires:
npm install --min-release-age=0 <package>
Require the commit message or PR body to state:
.npmrc at repo root.npm install, npm update, or lockfile
regeneration.--before; npm cannot use before and
min-release-age together.| Mistake | Fix |
|---|---|
| Setting the gate but leaving contributors on npm 10 | Document and enforce npm 11.5+ |
Assuming npm ci updates the lockfile | The gate matters most when the lockfile is regenerated |
Using --min-release-age=0 in CI permanently | Remove the bypass and document one-off exceptions |
| Migrating npm projects to pnpm just for this control | Keep npm unless pnpm has independent project value |
min-release-age: https://docs.npmjs.com/cli/v11/using-npm/config#min-release-ageWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npm, min-release-age, supply-chain, dependency-management, security-gate
npx claudepluginhub jmagly/aiwg --plugin security-engineering28 skills in this plugin
/auth-factor-designDecision aid for authentication factor architecture — have/know/are mapping, coercion resistance, FIDO2 PIN/UV policy, and PRF hot-path anti-patterns./banned-api-auditScan source code for banned APIs/forbidden functions per project banlist; report violations with paths, line numbers, and recommended replacements/binary-blob-auditScan tracked repository files for committed binary blobs and report reviewability/provenance exceptionsOther plugins' skills for the same job