Description
BizHawk/src/BizHawk.Client.EmuHawk/AVOut/FFmpegDownloaderForm.cs
Lines 83 to 104 in 0e9c21e
BizHawk/src/BizHawk.Common/FFmpegService.cs
Lines 16 to 18 in 0e9c21e
Not great, there's some trustworthiness to those addresses, but it gets worse...
...because this blindly follows any address returned in the first response 🙃 And bonus points for copy-pasting:
Simple solution for FFmpeg is to hardcode the checksum.
RA's API seems to be down at the moment so I can't check if that includes a checksum, but even if it did, it would need to be signed as well (and we hardcode the pubkey).
And assert info["LatestVersionUrlX64"].StartsWith("https://retroachievements.org/")
.