I have misread the documentation. It is devmode that implies dangerous.
OK, so I have made an app that contains just a script. And snap info --verbose
says it has confinement on. The script only contains a call to /usr/bin/lzip -h
. And it works. So obviously confinement does not disallow applications to call lzip.