Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.

SWEN90010 2022S1 Assignment 2 at Uni of Melbourne. Analysing vulnerabilities in an Alloy model of a smart contract program.

Notifications You must be signed in to change notification settings

nicoatuni/smart-contract-vuln

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Smart Contract Vulnerability

This repo contains our (Liguo and myself) joint solution for Assignment 2 of SWEN90010 2022S1. The goal of the project is to detect and fix a vulnerability in a model of a small smart contract program—one that is inspired by the recursive reentrancy vulnerability of "The DAO". The program is modelled in Alloy 6, which enables rigorous automatic predicate checks to be run to verify if the model has been specified "correctly". More details on the assignment specifications are available in specs.pdf.

How to Run

Download the Alloy analyzer and open the dao.als file.

About

SWEN90010 2022S1 Assignment 2 at Uni of Melbourne. Analysing vulnerabilities in an Alloy model of a smart contract program.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages