Apparantly, macOS has the same crappy design as Windows. https://securityonline.info/macos-security-compromised-novel-exploit-bypasses-sandbox-protections/