Skip to content

Commit 7e4a8b6

Browse files
committed
dev: add minimum dependency age of 72h against supply chain attacks
Reduce the risk of installing malicious packages when upgrading dependency versions by only allowing package versions published at least 72h ago. As most malicious packages are discovered and blocked within this time, this reduces the risk of accidentally installing them.
1 parent 2d4eee9 commit 7e4a8b6

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pnpm-workspace.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
packages:
22
- 'packages/*'
3+
# The minimum age of dependency versions to be installed in minutes. 4320 minutes is 72h.
4+
# This is to avoid supply chain attacks where a new version of a dependency is published with malicious code.
5+
minimumReleaseAge: 4320
6+
minimumReleaseAgeIgnoreMissingTime: false

0 commit comments

Comments
 (0)