Skip to content

Commit aa025a6

Browse files
committed
Adopt 7 day cooldown before upgrading dependencies
In an effort to reduce the risk of a supply chain attack, add a 7 day cooldown between when a new version of a dependency is released and when Dependabot creates a PR upgrating to it. Most malicious packages are detected by package vendors (in our case, NPM) relatively quickly. The damage is done in the window between when a malicious package is released, and when it is identified and taken down. By adding a cooldown we narrow the window where a malicious package can be introduced, and hopefully within 7 days this window shrinks to zero and we have no potential exposure at all. At minimum this cooldown shrinks the window we're vulnerable. For a more detailed explanation of how this helps, see: https://blog.yossarian.net/2025/11/21/We-should-all-be-using-dependency-cooldowns
1 parent 93ed7ef commit aa025a6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/dependabot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ updates:
44
directory: "/"
55
schedule:
66
interval: "weekly"
7+
cooldown:
8+
default-days: 7
79
open-pull-requests-limit: 5
810
allow:
911
- dependency-type: direct

0 commit comments

Comments
 (0)