security-update

Installation
SKILL.md

Security Update

Workflow

1. Identify Vulnerable Package

Run the audit and note the vulnerable package name, version range, which direct dependency pulls it in, and the recommended safe version:

pnpm audit

2. Check Safe Version Age (minimumReleaseAge)

Before applying any fix, verify the target version was published > 10,080 minutes ago (7 days). This guards against package hijacking / dependency confusion attacks.

Two enforcement layers exist when minimumReleaseAge is configured. If pnpm-workspace.yaml sets minimumReleaseAge (e.g. 10080 for 7 days), pnpm install itself refuses to resolve younger versions. The script below is a complementary pre-check that gives a human-readable age report before you edit manifests. Keep both: the script stops you writing a too-new version; the workspace setting stops you installing one. Note that pnpm audit --fix (Step 4a) can punch a hole in this by appending to minimumReleaseAgeExclude — see Step 4a.

Installs
11
GitHub Stars
1
First Seen
10 days ago