-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
securitySecurity-related issues and improvementsSecurity-related issues and improvements
Description
Add SHA256 checksum verification to installers before archive extraction.
Current State
- ✅ ZipSlip/path traversal protection already implemented in
src/internal/download/extract.go - ❌ No checksum verification in
install.shorinstall.ps1
Remaining Work
Release Process
- Generate SHA256 checksums for all release archives during CI build
- Publish
CHECKSUMS.sha256file alongside release artifacts
Installer Updates
-
install.sh: Download and verify checksum before extraction -
install.ps1: Download and verify checksum before extraction - Abort installation if checksum is missing or doesn't match
- Use secure temp directories for downloads
Documentation
- Update install instructions to mention verification
- Document manual verification steps for security-conscious users
Acceptance Criteria
- Installers always verify archive integrity before extracting
- Installation aborts if checksum is missing or doesn't match
-
Extraction prevents absolute paths/parent traversal(already done)
Security Impact
High - Prevents supply chain attacks via compromised downloads.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
securitySecurity-related issues and improvementsSecurity-related issues and improvements