Proofline

`Get-ProoflineTarExecutable` checks the PE signature but not the COFF `Machine` field.

khan-dev-labs/cli#1Reviewed commit b1d0424

Warning · Logic

An x86 executable that runs under WOW64 can also pass the installer’s version check.

Impact

The installer can report success after installing an x86 build from a mislabeled x64 release.

Recommended action

Bounds-check the COFF `Machine` field and require AMD64 (`0x8664`) in the shared archive reader.

Cited code

Checked
Pull request code. The environment was not checked.
Status
Completed
Started
Completed