Skip to content

Commit eb596cf

Browse files
authored
Add pnpm minimumReleaseAge for dependency installation
In light of the recent npm supply chain attacks against axios, trivy, and surely more to come: never pulling a dependency until it's at least a day old saves us from pulling compromised versions before they're discovered and taken down
1 parent 199332a commit eb596cf

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pnpm-workspace.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ onlyBuiltDependencies:
44
- esbuild
55
- protobufjs
66
- re2
7+
minimumReleaseAge: 1440 # Protect against supply chain attacks by requiring dependencies to be 24h old before installation.

0 commit comments

Comments
 (0)