함수 호출의 안전성 향상을 돕는 스마트 계약 코드 재작성기
Smart Contract Code Rewritter for Improving Safety of Function Calls
0
조회
0
다운로드
2
인용
0
참고문헌
키워드
초록
Solidity에서 다른 계약의 함수를 호출할 때 특정 문제로 인해 호출할 수 없으면 fallback 함수가 실행된다. 이fallback 함수는 임의로 작성될 수 있는 함수로 어떤 동작을 하는지 정해지지 않았기 때문에 함수의 동작을 알 수없어 공격에 이용되기 쉽다. 본 논문에서는 이러한 위험성을 개발자의 부담 없이 줄이기 위해 전처리기를 이용한 해결방법을 제안한다. 개발자는 새롭게 정의된 키워드를 이용해서 의사표시를 하고, 전처리기는 해당 키워드에 따라상태변수와 조건문을 이용해서 전처리 과정을 진행하여 위험성을 줄인다.
Abstract
When a Solidity smart contract has a problem in calling a function of another contract, the fallback function is supposedto be executed automatically. However, it may be are arbitrarily created, with their behaviors unknown to developers, andfallback function execution is vulnerable to exploits by attackers. in In this paper, we propose a preprocessing based methodto reduce the risk with less overhead of developers’. Developers mark the intention using the newly defined keywords inthis paper, and the preprocessor reduces the risk by preprocessing the conditional variables and conditional statementsaccording to the keywords.
참고문헌 (17)
- "Solidity, Solidity"[URL]
- "smart contract. smart contract", 스마트계약[URL]
- "Ethereum. ethereum"[URL]
- Nicola Atzei, "A survey of attacks on Ethereum smart contracts", Proceedings of the 6th International Conference on Principles of Security and Trust, pp.164~186 (2017)
- Loi Luu, "Prateek Saxena and Aquinas Hobor, “Making Smart Contracts Smarter", Proceedings of the 2016ACM SIGSAC Conference on Computer and Communications Security, pp.254~269 (2016)
- Thomas Cook, "DappGuard : Active Monitoring and Defense for Solidity Smart Contracts", mit, ~ (2017)
- Jack Pettersson, "Safer smart contracts through type-driven development Using dependent and polymorphic types for safer development of smart contracts", Master’s, Department of Computer Science and Engineering Computing Science, pp.2016
- Ahmed Kosba, "Hawk: The blockchain model of cryptography and privacypreserving smart contracts", Proceedings of the 2016 IEEE Symposium on Security and Privacy, SP '16 (2016), IEEE Computer Society
- "EVM"[URL]
- "remix"[URL]
- Sukrit Kalra, "ZEUS:Analyzing Safety of Smart Contracts", Network and Distributed Systems Security (NDSS) Symposium 2018, IBM Research and IIT Delhi (2018)
- "Symbolic execution, Symbolic executi on"[URL]
- "The Z3 theorem prover, The Z3theorem prover"[URL]
- "LLVM"[URL]
- "solidity decompil er"[URL]
- "Solidity require"[URL]
- "ANTLR"[URL]
