Modeling and Security Verification of State-Based Smart Contracts

نویسندگان

چکیده

Smart contracts are programs that stored on a blockchain ledger with code immutable after deployment. Thus, verifying the correct behavior of smart before deployment is vital. This paper demonstrates how security vulnerability verification in casino contract can be transformed to non-blocking verification. To this end, first modeled as interacting extended finite state machines (EFSM), one EFSM for each function. Modeling condition system, reveals system blocking. Investigating counterexample produced by shows transfer refused its receiver may block so all remaining funds forever locked into contract, thus revealing severe vulnerability. It then demonstrated same technique show absence vulnerability, model an improved indeed non-blocking.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Short Paper: Formal Verification of Smart Contracts

Ethereum is a cryptocurrency framework that uses blockchain technology to provide an open distributed computing platform, called the Ethereum Virtual Machine (EVM). EVM programs are written in bytecode which operates on a simple stack machine. Programmers do not usually write EVM code; instead, they can program in a JavaScript-like language called Solidity that compiles to bytecode. Since the m...

متن کامل

Modeling and formal verification of smart environments

Smart Environments (SmE) are a growing combination of various computing frameworks (ubiquitous, pervasive etc), devices, control algorithms and a complex web of interactions. It is at the core of user facilitation in a number of industrial, domestic and public areas. Based on their application areas, SmE may be critical in terms of correctness, reliability, safety, security etc. To achieve erro...

متن کامل

Combining event-based and state-based modeling for railway verification

This paper is concerned with the formal modelling of signalling and point control in the domain of railway engineering. Rules for handling interlocking to ensure railway safety and liveness are often intricate and challenging to verify. We develop a CSP||B model taking a “natural modelling” approach, where the models are as close as possible to the domain model, providing traceability and ease ...

متن کامل

Model-Based Verification of Safety Contracts

The verification of safety becomes crucial in critical systems where human lives depend on the correct functioning of such systems. Formal methods have often been advocated as necessary to ensure the reliability of software systems, albeit with a considerable effort. In any case, such an effort is cost-effective when verifying safety-critical systems. Safety requirements are usually expressed u...

متن کامل

Specification and verification of security policies for smart cards

Security systems that use smart cards are nowadays an important part of our daily life, which becomes increasingly dependent on the reliability of such systems, for example cash cards, electronic health cards or identification documents. Since a security policy states both the main security objectives and the security functions of a certain security system, it is the basis for the reliable syst...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: IFAC-PapersOnLine

سال: 2022

ISSN: ['2405-8963', '2405-8971']

DOI: https://doi.org/10.1016/j.ifacol.2022.10.366