TokenHook: Secure ERC-20 smart contract. Rahimian, R. & Clark, J. arXiv:2107.02997 [cs], July, 2021. arXiv: 2107.02997
Paper abstract bibtex ERC-20 is the most prominent Ethereum standard for fungible tokens. Tokens implementing the ERC-20 interface can interoperate with a large number of already deployed internet-based services and Ethereum-based smart contracts. In recent years, security vulnerabilities in ERC-20 have received special attention due to their widespread use and increased value. We systemize these vulnerabilities and their applicability to ERC-20 tokens, which has not been done before. Next, we use our domain expertise to provide a new implementation of the ERC-20 interface that is freely available in Vyper and Solidity, and has enhanced security properties and stronger compliance with best practices compared to the sole surviving reference implementation (from OpenZeppelin) in the ERC-20 specification. Finally, we use our implementation to study the effectiveness of seven static analysis tools, designed for general smart contracts, for identifying ERC-20 specific vulnerabilities. We find large inconsistencies across the tools and a high number of false positives which shows there is room for further improvement of these tools.
@article{rahimian_tokenhook_2021,
title = {{TokenHook}: {Secure} {ERC}-20 smart contract},
shorttitle = {{TokenHook}},
url = {http://arxiv.org/abs/2107.02997},
abstract = {ERC-20 is the most prominent Ethereum standard for fungible tokens. Tokens implementing the ERC-20 interface can interoperate with a large number of already deployed internet-based services and Ethereum-based smart contracts. In recent years, security vulnerabilities in ERC-20 have received special attention due to their widespread use and increased value. We systemize these vulnerabilities and their applicability to ERC-20 tokens, which has not been done before. Next, we use our domain expertise to provide a new implementation of the ERC-20 interface that is freely available in Vyper and Solidity, and has enhanced security properties and stronger compliance with best practices compared to the sole surviving reference implementation (from OpenZeppelin) in the ERC-20 specification. Finally, we use our implementation to study the effectiveness of seven static analysis tools, designed for general smart contracts, for identifying ERC-20 specific vulnerabilities. We find large inconsistencies across the tools and a high number of false positives which shows there is room for further improvement of these tools.},
language = {en},
urldate = {2021-07-31},
journal = {arXiv:2107.02997 [cs]},
author = {Rahimian, Reza and Clark, Jeremy},
month = jul,
year = {2021},
note = {arXiv: 2107.02997},
keywords = {Computer Science - Cryptography and Security},
}
Downloads: 0
{"_id":"r5vqXpKhD3GsGBTYR","bibbaseid":"rahimian-clark-tokenhooksecureerc20smartcontract-2021","author_short":["Rahimian, R.","Clark, J."],"bibdata":{"bibtype":"article","type":"article","title":"TokenHook: Secure ERC-20 smart contract","shorttitle":"TokenHook","url":"http://arxiv.org/abs/2107.02997","abstract":"ERC-20 is the most prominent Ethereum standard for fungible tokens. Tokens implementing the ERC-20 interface can interoperate with a large number of already deployed internet-based services and Ethereum-based smart contracts. In recent years, security vulnerabilities in ERC-20 have received special attention due to their widespread use and increased value. We systemize these vulnerabilities and their applicability to ERC-20 tokens, which has not been done before. Next, we use our domain expertise to provide a new implementation of the ERC-20 interface that is freely available in Vyper and Solidity, and has enhanced security properties and stronger compliance with best practices compared to the sole surviving reference implementation (from OpenZeppelin) in the ERC-20 specification. Finally, we use our implementation to study the effectiveness of seven static analysis tools, designed for general smart contracts, for identifying ERC-20 specific vulnerabilities. We find large inconsistencies across the tools and a high number of false positives which shows there is room for further improvement of these tools.","language":"en","urldate":"2021-07-31","journal":"arXiv:2107.02997 [cs]","author":[{"propositions":[],"lastnames":["Rahimian"],"firstnames":["Reza"],"suffixes":[]},{"propositions":[],"lastnames":["Clark"],"firstnames":["Jeremy"],"suffixes":[]}],"month":"July","year":"2021","note":"arXiv: 2107.02997","keywords":"Computer Science - Cryptography and Security","bibtex":"@article{rahimian_tokenhook_2021,\n\ttitle = {{TokenHook}: {Secure} {ERC}-20 smart contract},\n\tshorttitle = {{TokenHook}},\n\turl = {http://arxiv.org/abs/2107.02997},\n\tabstract = {ERC-20 is the most prominent Ethereum standard for fungible tokens. Tokens implementing the ERC-20 interface can interoperate with a large number of already deployed internet-based services and Ethereum-based smart contracts. In recent years, security vulnerabilities in ERC-20 have received special attention due to their widespread use and increased value. We systemize these vulnerabilities and their applicability to ERC-20 tokens, which has not been done before. Next, we use our domain expertise to provide a new implementation of the ERC-20 interface that is freely available in Vyper and Solidity, and has enhanced security properties and stronger compliance with best practices compared to the sole surviving reference implementation (from OpenZeppelin) in the ERC-20 specification. Finally, we use our implementation to study the effectiveness of seven static analysis tools, designed for general smart contracts, for identifying ERC-20 specific vulnerabilities. We find large inconsistencies across the tools and a high number of false positives which shows there is room for further improvement of these tools.},\n\tlanguage = {en},\n\turldate = {2021-07-31},\n\tjournal = {arXiv:2107.02997 [cs]},\n\tauthor = {Rahimian, Reza and Clark, Jeremy},\n\tmonth = jul,\n\tyear = {2021},\n\tnote = {arXiv: 2107.02997},\n\tkeywords = {Computer Science - Cryptography and Security},\n}\n\n","author_short":["Rahimian, R.","Clark, J."],"key":"rahimian_tokenhook_2021","id":"rahimian_tokenhook_2021","bibbaseid":"rahimian-clark-tokenhooksecureerc20smartcontract-2021","role":"author","urls":{"Paper":"http://arxiv.org/abs/2107.02997"},"keyword":["Computer Science - Cryptography and Security"],"metadata":{"authorlinks":{}},"html":""},"bibtype":"article","biburl":"https://api.zotero.org/users/8315324/collections/M4HD3YSJ/items?key=7RWXUCZduzev33wfxHBTrvdq&format=bibtex&limit=100","dataSources":["JjeknPEFzCt2M8MXt"],"keywords":["computer science - cryptography and security"],"search_terms":["tokenhook","secure","erc","smart","contract","rahimian","clark"],"title":"TokenHook: Secure ERC-20 smart contract","year":2021}