Hi everyone! I’ve recently got my first ever Mac, it’s a MacBook Air M1 (16 GB).

My question is about malware, viruses and things like that. So, I’ve managed to create a VM of a MacBook Air M1 (8GB) with the same OS as the main machine on an external SSD, not logged into Apple and no personal information saved, not even accessibility to the keychain. My plan for this was to run suspicious apps, visit suspicious sites, basic stuff. The main machine is connected to the iCloud Private Relay, the VM isn’t.

My question is: if this virtual machine was to be hacked, infected by something or gained remote access or something, could the main machine be effected in any way? Could I be affected by any means?