Skip to content

crytic/fuzz-vs-fv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Fuzzing formally verified contracts to reproduce popular security issues

This repository contains solidity implementations of the selected invariants for popular projects. Follow instructions given below to run Echidna to test these invariants.

Fundamental equation of DAI

The code and test file for this project is in fund-eq-of-dai-certora directory. Steps to test it:

This will run the echidna and will show a sequence of transactions that will violate the invariant representing fundamental equation of the DAI protocol. We have included the corpus to reproduce the bug in this repository to facilitate quick verification.

Compound Comet

The code and test file for Compound Comet project is in comet directory. Steps to run Echidna:

  • Install nodejs dependencies with yarn install
  • Run Echidna with:
    $ echidna . --contract TestComet --config config.yaml
    

Echidna will run for a few seconds and produce the sequence of transactions to violate the invariants.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published