- Validate config dependency names and versions to be proper npm package names and exact semver, preventing path traversal via workspace.yaml.
- Reject malicious lockfile aliases and reserved paths (e.g., ../../../escape, .bin) during hoisted node_modules construction to stop files being written outside the install root.
- Harden .npmrc warnings to avoid command injection and prevent pnpm patch remove from deleting files outside the configured patches directory.