External Script Fetching
- Category
- Supply Chain
- Confidence
- 90% confidence
- Finding
Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.
- Content
md # Install (Linux x86_64/ARM64) # Download the official installer and verify its SHA256 checksum before executing # (pinned checksum below; do not pipe remote scripts directly into bash). curl -fsSL https://cn-north-4-hdn-koocli.obs.cn-north-4.myhuaweicloud.com/cli/latest/hcloud_install.sh -o /tmp/hcloud_install.sh echo "cd2c99bf92861ee5760c72e07bfa51f46d990d3e0e8411f12d69e32f1981cdf2 /tmp/hcloud_install.sh" | sha256sum -c - || { echo "installer checksum mismatch — aborting"; exit 1; } bash /tmp/hcloud_install.sh
