fix: this pnpm workspace configuration does not set ... in...#9437
fix: this pnpm workspace configuration does not set ... in...#9437anupamme wants to merge 1 commit into
Conversation
…mum-release-age security vulnerability Automated security fix generated by OrbisAI Security
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughAdds workspace-level pnpm dependency governance settings for minimum release age, exotic subdependency blocking, and no-downgrade trust policy behavior. ChangesDependency governance
Estimated code review effort: 1 (Trivial) | ~2 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✨ 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 Warning |
Summary
Address high severity security finding in
pnpm-workspace.yaml.Vulnerability
package_managers.pnpm.pnpm-missing-minimum-release-age.pnpm-minimum-release-agepnpm-workspace.yaml:1Description: This pnpm workspace configuration does not set a minimum release age. Newly published packages can be malicious or unstable. Add
minimumReleaseAge: 10080(minutes) to wait at least seven days before installing newly published package versions. Added in: v10.16.0 Reference: https://pnpm.io/settings#minimumreleaseageEvidence
Scanner confirmation: semgrep rule
package_managers.pnpm.pnpm-missing-minimum-release-age.pnpm-minimum-release-agematched this pattern as package_managers.pnpm.pnpm-missing-minimum-release-age.pnpm-minimum-release-age.Production code: This file is in the production codebase, not test-only code.
Threat Model Context
This is a Node.js library - vulnerabilities affect downstream consumers who use this package.
Changes
pnpm-workspace.yamlVerification
This change addresses a pattern flagged by static analysis. The code path handles user-influenced input and the fix reduces the attack surface against both manual and automated exploitation.
Automated security fix by OrbisAI Security
Summary by CodeRabbit