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
Commit c1eb3dd
Browse filesBrowse the repository at this point in the historyBrowse files
Martin Vogel
committed
Comprehensive security hardening across all installers
install.sh:
- Wrap entire body in main() to prevent partial execution from curl|bash
(interrupted download would execute truncated script)
install.ps1:
- Enforce TLS 1.2+ (older PowerShell defaults to TLS 1.0)
PyPI (_cli.py):
- Add SHA256 checksum verification against checksums.txt (was the only
installer without checksums)
npm (install.js):
- Add SHA256 checksum verification against checksums.txt
- Validate HTTPS on every redirect hop (max 5 redirects)
- Replace execSync string interpolation with execFileSync array args
(eliminates shell injection vector in tar/PowerShell calls)
- Add path traversal check on extracted binary
npm (bin.js):
- Auto-download binary if missing (handles --ignore-scripts / pnpm)
Go wrapper (main.go):
- Custom HTTP client with CheckRedirect that rejects non-HTTPS redirects
(Go's default http.Get follows redirects without scheme validation)
- Fix variable name bug in error message (url → rawURL)
0 commit comments