chore: enable pnpm trust policy no-downgrade#1378
Conversation
Prevents installing packages whose trust level has decreased compared to previous releases (e.g. a previously trusted-publisher package losing its provenance attestation), as a supply chain security measure.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
chokidar 4.0.3 was published without provenance attestation (restored in 5.0.0), but it's pinned as a transitive dependency of fumadocs-mdx.
Reverted premature exclusion — need to investigate the trust downgrade before bypassing the security check.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Summary
trustPolicy: no-downgradetopnpm-workspace.yamlThis prevents installing packages whose trust level has decreased compared to previous releases. For example, if a package was previously published by a trusted publisher but now only has provenance or no trust evidence,
pnpm installwill fail — catching potential supply chain compromises early.See: https://pnpm.io/settings#trustpolicy
Test plan
pnpm installstill works with the policy enabled