On Detecting Bias in Smart Contracts Using Supervisor Synthesis
Paper in proceeding, 2026

Smart contracts are computer programs executing in a blockchain environment, that can enforce agreements among mutually distrusting users without the involvement of any trusted third party. However, smart contracts may implement bias towards or against certain users, either intentionally or mistakenly by improper coding. Such bias may also manifest through multiple users colluding to put other users at a disadvantage. This study proposes a methodology to use supervisor synthesis to detect such biases in smart contracts. Given an extended finite-state machine model of a smart contract, by selecting which events are considered to be controllable, the perspective from which bias is considered can be decided, and by marking states, positive as well as negative bias can be captured. The existence of a supervisor may then reveal the existence of bias. The method is demonstrated on a multi-player game-based smart contract. The analysis shows that there does not exist positive bias towards any single player, that is, there is no guaranteed winning strategy for any single player. However, colluding players may enact negative bias against the other players, thus, there is negative bias against other players so that they may lose the game irrespective of their actions.

Author

Nishant Parekh

Chalmers, Electrical Engineering, Systems and control

Wolfgang Ahrendt

Chalmers, Computer Science and Engineering (Chalmers), Formal methods

University of Gothenburg

Martin Fabian

Chalmers, Electrical Engineering, Systems and control

2026 18th International Workshop on Discrete Event Systems Wodes 2026

259-264
9798331562045 (ISBN)

18th International Workshop on Discrete Event Systems, WODES 2026
Eindhoven, Netherlands,

Subject Categories (SSIF 2025)

Computer Sciences

DOI

10.1109/WODES69290.2026.11598418

More information

Latest update

8/5/2026 8