mirror of
https://github.com/okieselbach/AutopilotMonitor.git
synced 2026-10-24 12:42:38 +00:00
d639d9dda9
The automated security review of the previous commit found that a publisher pin alone would run any validly signed script of ours placed at the copy's path, such as an older loader without the held handle. The build now bakes the SHA-256 of the signed loader into the action (wix build -d LoaderSha256=...; the package refuses to build without it), and the action compares the bytes it read against it before the signature check. - Package.wxs: hash check, preprocessor guard, comment - build-msi.yml: the build step hashes the signed loader and passes it to wix - Bootstrap.Integration.Tests.ps1: the harness substitutes the hash of the loader it serves; a copy that is not the embedded loader, however validly signed, runs nothing - BootstrapContractTests: the hash condition, the guard and the build step are pinned - internal: D-384, footprint doc and plan updated Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>