> Are there really common environments where the final product only gets run with less permissions than the package manager?
Yes, only running the final product in a VM/container is pretty common.
Yes, only running the final product in a VM/container is pretty common.
Hopefully the VM/container run environment is also in a network-isolated environment too, so it can only be accessed and invoked through the expected routes, and it can't make arbitrary network calls to external hosts that haven't been manually reviewed and approved.