Trojan:Script/Wacatac.B!ml alert on Windows for any Golang build

Here’s my build command:
$env:GOOS = “windows”
$env:GOARCH = “amd64”
go build -ldflags “-H=windowsgui” -o build/output.exe .

Anyone has any tips on what might trigger Windows Defender alert on golang binary. This happens even if the binary does nothing but hello world golang application

It’s a false positive. It’s explained here

confirmed, this was resolved with proper CA signed binary

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.