The computer is on a private IP network. So the only way in, so far as I know, is via the connection used by Bitcoin Core. Although it does get access to the outside world through other services such as NTP and whatever the heck Apple uses for software update.
My security plan, if it can be called that, is if any BTC of significant quantity is successfully mined, it gets moved into a cold storage wallet.
Anyone getting shell access to that machine would have a field day as they are now on my private LAN.
Once a machine has access to the pubic internet, even if it's on a private IP stack behind a router it's still vulnerable.
Go to the wrong website, it's compromised. Copy the wrong file, it's compromised.
Take a look here:
https://support.apple.com/en-us/HT213670dozens of things patched last month for macOS, and a bunch of them have the ability to get to parts of your file system.
Use a hardware wallet.
-Dave