Seeded defect in a throwaway copy of HEAD: install stamps the package folder it runs from, which is npm's npx folder.
Changed: lib/commands/install.mjs
Command: node verify/lifecycle.mjs --steps npx-v1 --depth 1 --property writes-only-its-roots
Exit code: 1

Install lifecycle. 1 steps (npx-v1), every sequence of up to 1, 1 real steps run in 4.4 s, the result kept from 2026-11-27T19:28:28.943Z for these exact files (--fresh runs the search again).
BOUNDED. Sequences stop at 1 steps, so a pass means no property broke in any of them, not that none can break in a longer one.
  assumes one user on one machine, one install at a time (two at once is the lock, which a test covers)
  assumes the package is this repo's own files in two versions, v1 and v2, and the clone is v1; both are laid out as npx lays them out
  assumes no crash between the two renames of a swap (a test covers it)
  assumes macOS or Linux paths, no Windows
  assumes the owner changes nothing in the home folder while a step runs, and the folder run from stays empty
FAIL  writes-only-its-roots. npx-v1 wrote npm cache/_npx/hash-v1/node_modules/100x/.installed, which is outside the install's folders. After: npx-v1.
