"This research is mainly focused on analyzing and discussing the transaction process of Electronic Commerce(such as Bank transfer, Online payment etc.) and the security problems and exploit methods of the 1st generation UKEY which currently used in electronic commerce platform. For 2nd generation UKEY, I analyze the potential problems and some problems due to improper design in trading platform software. Most trading platform didn't use 2nd generation UKEY due to its high cost. In the end of paper, I will show you a low-cost way to replace the 2nd generation UKEY."