Author here: I also find this an important thing to ask yourself when you are running applications/scripts that do anything with sudo and which is why I have written a fairly in-depth "Security" section on the isd documentation page:
https://isd-project.github.io/isd/security/
Let me know if anything is missing!
loading story #42756427