CoinWatch: A Clone-Based Approach For Detecting Vulnerabilities in Cryptocurrencies

2020 
Cryptocurrencies have become very popular in recent years. Thousands of new cryptocurrencies have emerged, proposing new and novel techniques that improve on Bitcoin’s core innovation of the blockchain data structure and consensus mechanism. However, cryptocurrencies are a major target for cyber-attacks, as they can be sold on exchanges anonymously and most cryptocurrencies have their codebases publicly available. One particular issue is the prevalence of code clones in cryptocurrencies, which may amplify security threats. If a vulnerability is found in one cryptocurrency, it might be propagated into other cloned cryptocurrencies. In this work, we propose a systematic remedy to this problem, called COINWATCH $\left( {\mathcal{C}\mathcal{W}} \right)$. Given a reported vulnerability at the input, $\mathcal{C}\mathcal{W}$ uses the code evolution analysis and a clone detection technique for the indication of cryptocurrencies that might be vulnerable. We applied $\mathcal{C}\mathcal{W}$ on 1094 cryptocurrencies using 4 CVEs and obtained 786 true vulnerabilities present in 384 projects, which were confirmed with developers and successfully reported as CVE extensions.
    • Correction
    • Source
    • Cite
    • Save
    • Machine Reading By IdeaReader
    33
    References
    0
    Citations
    NaN
    KQI
    []