Skip to content

SecurEth/risk-assessment-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Risk Assessment Tool

This tool helps you identify risks associated with every method in a smart contract. Use this to adequatly test critical parts of your system.

Installation

npm install solidity-risk-assess -g

Usage

Just intall it with npm and run solidity-risk-assess <solidity-files>.

>  node ./assess.js sample.sol
File: sample.sol
.----------------------------------------------------------------------------------------------.
|                                        SampleContract                                        |
|----------------------------------------------------------------------------------------------|
|   Method Name   | isPublic | canModifyState | hasExternalCalls | isHandlingAssets |   Risk   |
|-----------------|----------|----------------|------------------|------------------|----------|
| SampleContract  | false    | true           | false            | false            | Safe     |
| isRich          | false    | false          | false            | false            | Safe     |
| areMoniesNeeded | true     | false          | false            | false            | Safe     |
| upvote          | true     | true           | false            | false            | Medium   |
| acceptMonies    | true     | true           | true             | true             | Critical |
'----------------------------------------------------------------------------------------------'

Limitations

The code needs to be solidified in order to assess external calls.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published