- Stops environment variable expansion in project/workspace .npmrc and pnpm workspace.yaml, preventing secret leakage; only trusted user/global/CLI/env configs can expand vars.
- Bootstrap traffic now uses trusted registries and verifies npm registry signatures for downloaded pnpm versions and Node.js SHASUM signatures, tightening supply‑chain security.
- Adds hardening such as rejecting reserved bin names, requiring trusted package identity for lifecycle scripts, and improving lockfile validation.