Although Microsoft Defender SmartScreen scans downloads by default from all trusted sources in the Edge browser, you can disable it if you want, using the Registry Editor and the Local Group ...
SmartScreen Filter allows Windows Security ... Open the application and navigate to Apps & browsers > Reputation-based protection settings. Finally, turn off all the toggles.