There are reasons curl|sh is a bad way to install things but security isn't one. It's difficult to uninstall, for instance.