Decentralized exchange does not offer you the security that your account wont be hacked. Your safety begins with yourself. How you backed up your wallet , and be cautious when entering a site that look phishi and other things like the use of google authentication is needed to avoid hack.