Apple has released a scaremongering, self-serving warning aimed at the Australian government, claiming that Australians will be overrun by a parade of digital horribles if Australia follows the European Union’s lead and regulates Apple’s “walled garden.” The EU’s Digital Markets Act is a big,...
Mac is only a safe platform due to obscurity.
To be fair that’s not really true. Gatekeeper is deeply integrated into the OS and is extremely strict.
As opposed to windows, macOS will effectively refuse to run any software that is not signed and notarized by Apple themselves.
I’m not a fan of this behaviour but that’s the way it is.
I’m pretty sure that can be turned off in security stings.
If not, you can hold down control or command when launching the so the first time to have the option to run the software anyway.
You can put Windows in strict mode but it makes the computer virtually unusable. The other thing been is it there are techniques that attackers can use to bypass these checks thus making the signatures irrelevant anyway.
You can also use an immutable Linux distro (SteamOS being the most popular) and install software with flatpak, which is sandboxed using bubblewrap.