mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-25 19:21:18 -08:00
The tool/ wrapper scripts downloaded helm, node, yarn, and the binaryen wasm-opt toolchain over HTTPS with curl and executed them with no integrity verification. Port corp's download_tool helper (tool/lib/download.sh), which verifies a repo-pinned SHA256 before extracting, and route helm, node, yarn, and wasm-opt through it with pinned per-platform hashes. select_sha256 fails closed on platforms without a pinned hash. Updates tailscale/corp#43401 Updates tailscale/triage#339 Signed-off-by: Patrick O'Doherty <[email protected]>