# Supply-chain hardening. See CONTRIBUTING.md.

# Never run a dependency's install/postinstall script. The main vector in the
# npm compromises of the last year: the payload runs at install time, before
# any of our code does. Applies to every npm version, including the npm 10
# that ships with Node 22.
ignore-scripts=true

# Cooldown, in days: only resolve versions that have been public long enough
# for a compromised release to be caught and unpublished. Applies when a
# version is *chosen* (`npm install <pkg>`), not when one is replayed from the
# lockfile (`npm ci`), and needs npm >= 11.10. The enforced cooldown for this
# repo lives in renovate.json, since Renovate is what bumps our dependencies.
min-release-age=7

# Pin what we add to an exact version instead of a caret range, so the range
# can't widen into a release nobody reviewed.
save-exact=true
