I'm installing Metamod and Sourcemod as local server for Left 4 Dead 2. I start a game to check the installation.
] meta list
Listing 1 plugin:
[01] <FAILED>
] meta info 1
Plugin 1 is not loaded.
File: h:\...\steam\steamapps\common\left 4 dead 2\left4dead2\addons\sourcemod\bin\sourcemod_m m.dll
] meta load \addons\sourcemod\bin\sourcemod_mm.dll
Failed to load plugin \addons\sourcemod\bin\sourcemod_mm.dll (Operation did not complete successfully because the file contains a virus or potentially unwanted software.
(failed to load bin/sourcepawn.jit.x86.dll)).
I open /sourcemod/bin in file explorer, which should contain both sourcemod_mm.dll and sourcepawn.jit.x86.dll but the latter is missing. I open Windows Defender and find out that it silently removed the file with no warnings (Trojan:Win32/Grandoreiro).
I disable Windows Defender, re-extract Sourcemod's files and run a Malwarebytes scan on them. The software doesn't flag sourcepawn.jit.x86.dll, instead, it detects sourcemod.2.l4d.dll as malware.
VirusTotal scans: sourcepawn.jit.x86.dll - 21/70 flags
b4b27649bd510aabe85cb55bffef10734e9b6ecd0d843 a190177a29ab8832687 sourcemod.2.l4d.dll - 17/70 flags
47dba4deb6ce020a87911a7a98a3d3803978feac6df5d 7fb2b4e7cb3957918c3
The other dll files seem to get 0-3 flags, which may be false positives.
EDIT: I scanned with VirusTotal the file sourcepawn.jit.x86.dll from older Sourcemod builds, and it looks like the more recent the build, the more flags it gets. Builds:
6946: 0 flags
6947: 1 flag
6952: 3 flags
6954: 8 flags
6955 and later: 20+ flags
Since Defender detects the file as Trojan:Win32/Grandoreiro in the last build, it's impossible to run a server (at least local server) in a machine with Windows Defender without adding the file to whitelist first. I don't know about other antivirus or other files (I only know Malwarebytes flags sourcemod.2.l4d.dll).