systemd-analyze security <myapp.service>
No sudo needed, and it grades how much of the machine your unit can reach. A plain one, just ExecStart and Restart, comes back 9.6 UNSAFE.
Five lines took mine to 6.1 and it still served HTTP 200, on a throwaway UID instead of root.