I had a very similar experience: https://kaveh.page/blog/job-interview-scam I would never agree to run someone's code on my own machine that didn't come from a channel I initiated. The odd time I've ran someone else's code, ALWAYS USE A VM!
How are you guys spinning up vms, specifically windows vms, so quickly? I used to use virtual box back in the day, but that was a pain and required a manual windows OS install. I'm a few years out of the loop, and would love a quick point in the right direction : )
Libvirt and virt-manager https://wiki.archlinux.org/title/Libvirt
Quickemu https://github.com/quickemu-project/quickemu
Proxmox VE https://www.proxmox.com/en/proxmox-ve
QubesOS https://qubes-os.org
Whonix https://whonix.org
XCP-ng https://xcp-ng.org/
You can also get some level of isolation by containers (lxc, docker, podman).