Summary
Verify bundle content hashes after download to ensure integrity and prevent tampering.
Motivation
Users need confidence that downloaded bundle content matches the intended source. Without verification, there's no protection against:
- Man-in-the-middle attacks during download
- Corrupted downloads
- Tampered releases
Proposed Solution
-
Add hash field to bundle manifest:
{
"files": {
"presets/full.json": "sha256:abc123..."
}
}
-
After downloading a bundle, compute SHA-256 of each file and verify against manifest
-
Fail with clear error if hash mismatch detected
Acceptance Criteria
Summary
Verify bundle content hashes after download to ensure integrity and prevent tampering.
Motivation
Users need confidence that downloaded bundle content matches the intended source. Without verification, there's no protection against:
Proposed Solution
Add hash field to bundle manifest:
{ "files": { "presets/full.json": "sha256:abc123..." } }After downloading a bundle, compute SHA-256 of each file and verify against manifest
Fail with clear error if hash mismatch detected
Acceptance Criteria