Skip to content

Commit 0ea69ac

Browse files
committed
chore: Harden pnpm-workspace settings
`blockExoticSubdeps`: transitive dependencies must be resolved from a trusted source, such as the configured registry, local file paths, workspace links, or trusted GitHub repositories (node, bun, deno). `trustPolicy`: pnpm will fail if a package's 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, installation will fail. This helps prevent installing potentially compromised versions.
1 parent 82b02eb commit 0ea69ac

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

pnpm-workspace.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,11 @@ catalogs:
3131
'@zxcvbn-ts/language-common': 3.0.4
3232

3333
minimumReleaseAge: 2880
34-
3534
minimumReleaseAgeExclude:
3635
- '@clerk/*'
3736
- 'pkglab'
3837
- 'pkglab-*'
38+
39+
trustPolicy: no-downgrade
40+
41+
blockExoticSubdeps: true

0 commit comments

Comments
 (0)