Supply chain
mediumRefutedlow confidenceUndeclared npm 'prepare' lifecycle hook runs format and build automatically on install/pack; it is a local, standard dev build step with no remote fetch, so low risk and plausibly honest.
"prepare": "npm run format && npm run build"
Why it was refuted
The prepare hook is a standard local dev build step (prettier format and tsc build) with no remote fetch or exfil. The harm gate fails because it matches the ordinary build/cache-dir carve-out, and there is no chain to any harmful sink. The finding itself acknowledges low risk.