[AI] Add npm minimal age gate for supply-chain defense#8011
Conversation
✅ Deploy Preview for actualbudget ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughA Yarn configuration update enforces a 3-day minimum age gate for npm package versions to reduce supply-chain attack risk, paired with a release notes entry documenting this maintenance change. ChangesSupply-chain Hardening
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
3 days is a start; a week or a month is probably better, IMHO. |
A too long of a time period is also bad as then we cannot do timely upgrades for CVEs. There has to be a equilibrium that protects us from zero days, but also doesn't cripple us entirely. Also to note: realistically this only impacts edge users. People on stable versions would generally get 7+ days old dependencies. |
…8011) * [AI] Add npmMinimalAgeGate to block dependency versions newer than 3 days * [autofix.ci] apply automated fixes * [AI] Add release notes for npm minimal age gate --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Description
Extra protection when we are doing dependency upgrades.
Plus should make the upgrade ergonomics slightly better as we won't need to manually check the release date for the version bumps.
Related issue(s)
n/a
Testing
N/A
Checklist
https://claude.ai/code/session_01SVxxPz4Ku8GmkYzTLrLQWo