Skip to content

A series of attack tests on commonly used libraries and contracts in the ethereum web space

Notifications You must be signed in to change notification settings

adibas03/Solidity-truffle-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solidity Truffle tests

Description

This repo provides truffle based tests which carry out different attacks on the commonly used contracts and libraries in the Space

Dependencies

Testrpc
Truffle

Run tests

  • Ensure you have Truffle installed
  • Run testrpc or any other ethereum node
  • Run truffle test from the repo directory

Discoveries

  • Open Zeppelin Safe Math
    • Addition:: -1 Added to 0 (overflow) : Should fail Addition - Minus:
  • Open Zeppelin Standard Token
    • Allocate Tokens :: Should fail to allocate Negative value tokens (Underflow):
    • Allocate Tokens :: Should Fail to allocate new value without updating allocation to 0:
    • Allocate Tokens :: Should fail to raise allocation by Negative value (possibly underflow):
    • Allocate Tokens :: Should fail to reduce allocation by Negative value:

Contributors

Github contributors

To contribute, kindly create an issue to indicate what you would be working on, then create a PR once code is ready.

Contribute

Buy me a Coffe or a Beer
Ethereum: 0x965D1C9987BD2c34e151E63d60AFf8E9dB6b1561

Links/ Sources

About

A series of attack tests on commonly used libraries and contracts in the ethereum web space

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published