ghupdate: add checksum verification and extraction path containment guard

This commit is contained in:
henrygd
2026-08-14 17:12:11 -04:00
parent d50c09176f
commit 052489cada
6 changed files with 195 additions and 15 deletions

View File

@@ -8,6 +8,7 @@ import (
type releaseAsset struct {
Name string `json:"name"`
DownloadUrl string `json:"browser_download_url"`
Digest string `json:"digest"`
Id int `json:"id"`
Size int `json:"size"`
}