Security in Cryptocurrency: Risks and Protections