The safest and most reliable way to get a macOS ISO is to download the official installer from Apple and convert it yourself using Terminal commands.
hdiutil convert ~/Desktop/macOS_temp.dmg -format UDTO -o ~/Desktop/macOS_install.iso mac os iso
While third-party sites offer pre-made ISOs, use caution. For the most secure experience, always download installers directly from Apple Support. Mounting and Using ISOs on Mac Virtual Machine to Run Mojave and How I'm an Idiot The safest and most reliable way to get
Creating a macOS ISO is a common task for users who need to install macOS in a virtual machine (like VMware or VirtualBox) or create a bootable installer. Since Apple does not provide official ISO downloads, you must generate one from the official installer app. mac os iso
from a genuine Apple installer.