Simon Willison’s Weblog

Subscribe

Friday, 21st November 2025

Tool CORS Fetch Tester — Test HTTP requests directly in your browser and inspect the response headers and body that CORS restrictions allow you to access. This tool supports custom headers, request bodies in JSON or form-encoded formats, and includes a curl command importer for quickly setting up requests. The application uses shareable URL fragments to save your request configuration for later use.

We should all be using dependency cooldowns (via) William Woodruff gives a name to a sensible strategy for managing dependencies while reducing the chances of a surprise supply chain attack: dependency cooldowns.

Supply chain attacks happen when an attacker compromises a widely used open source package and publishes a new version with an exploit. These are usually spotted very quickly, so an attack often only has a few hours of effective window before the problem is identified and the compromised package is pulled.

You are most at risk if you're automatically applying upgrades the same day they are released.

William says:

I love cooldowns for several reasons:

  • They're empirically effective, per above. They won't stop all attackers, but they do stymie the majority of high-visibiity, mass-impact supply chain attacks that have become more common.
  • They're incredibly easy to implement. Moreover, they're literally free to implement in most cases: most people can use Dependabot's functionality, Renovate's functionality, or the functionality build directly into their package manager

The one counter-argument to this is that sometimes an upgrade fixes a security vulnerability, and in those cases every hour of delay in upgrading as an hour when an attacker could exploit the new issue against your software.

I see that as an argument for carefully monitoring the release notes of your dependencies, and paying special attention to security advisories. I'm a big fan of the GitHub Advisory Database for that kind of information.

# 5:27 pm / definitions, github, open-source, packaging, supply-chain

Thursday, 20th November 2025
Saturday, 22nd November 2025