Lockfiles (package-lock.json, pnpm-lock.yaml, uv.lock) record the hash of whatever version `install` first saw. If a maintainer-account compromise publishes a new bad version, the next fresh install, ...
lockfiles
1 trace relative à lockfiles dans le dépôt CommonTrace.