You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(installer): enforce HTTPS-only, TLS 1.2+ and a redirect cap on every curl in install.sh #165
install.sh fetches release metadata, manifest.json, and the binary with bare curl -fsSL. curl's defaults will follow a redirect to plain HTTP and will negotiate whatever TLS version the local build supports. The binary download is checksum-verified against the manifest, but the metadata fetches and the bash re-exec bootstrap have no integrity protection beyond the transport itself.
Add --proto '=https' --proto-redir '=https' --tlsv1.2 --max-redirs 3 to every curl invocation in the script:
fetch_with_retry (manifest + binary downloads)
both fetches in get_latest_version (releases endpoint and the GitHub API fallback)
the failure-report POST in report_error
the curl ... | bash re-exec inside the bash handoff at the top of the script
All four flags have been in curl since 7.34 (2013), well below any platform we support.
Acceptance Criteria
every curl invocation in install.sh refuses non-HTTPS URLs, including after a redirect
every curl invocation enforces a TLS 1.2 minimum
redirects are capped at 3
curl -fsSL https://install.squirrelscan.com/install.sh | bash still installs successfully on macOS and Linux (glibc and musl)
Activity
feat(installer): enforce HTTPS-only, TLS 1.2+ and a redirect cap on e…
fix(installer): close the review holes in the curl hardening contract…
feat(installer): enforce HTTPS-only, TLS 1.2+ and a redirect cap on e…