@RhysSullivan: just enabled a minimum age on npm package installs for my machine, should've done this sooner but if you haven't either…

X AI KOLs Following Tools

Summary

A developer shares a tip to configure a minimum release age for package installs to mitigate supply-chain attacks.

just enabled a minimum age on npm package installs for my machine, should've done this sooner but if you haven't either here's a prompt for your coding agent to configure it for you: ""Find my package manager (bun/pnpm/npm/yarn) and configure a 3-day minimum-release-age / cooldown for installs to blunt supply-chain attacks. Exempt my workspace scopes. Verify the exact config key in current docs before writing."
Original Article

Similar Articles

Staged publishing and new install-time controls for npm

Hacker News Top

npm introduces staged publishing, requiring human approval via 2FA for package releases, and new `--allow-*` flags (file, remote, directory) to control install sources, improving supply-chain security in npm CLI 11.15.0.