Headless Intel/Apple Silicon build on MacOS getting reported as malware

If I build a headless Intel/Apple Silicon MacOS server, and run it on MacOS Sequoia 15.1 I get this message:

Malware Blocked and Moved to Bin
“thegame” was not opened because it contains malware. This action did not harm your Mac.

If I change the target to just Apple Silicon the headless server builds and runs without problems. Is there a way to get the Intel/Apple build to run, or does headless only work with Apple Silicon on Sequoia?