Skip to content

Conversation

@plemarquand
Copy link
Contributor

@plemarquand plemarquand commented Nov 21, 2025

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 upgrading 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. Ideally, within 7 days this window shrinks to zero and we have no potential exposure at all. At minimum, this cooldown reduces the window where 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

Tasks

  • Required tests have been written
  • Documentation has been updated
  • Added an entry to CHANGELOG.md if applicable

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants