It is not safe, there are a lot of risks involved in investing in ICOs but then again, there are always risks in any coin or any investment that you choose to participate in for that matter. So before you invest you should first make your peace and accept the risks that are involved in investing in it. Also you can also try to significantly decrease the risk involved by doing a lot of research into the ICO before investing.