Giter Site home page Giter Site logo

lcsouzamenezes / solidity-truffle-tests Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adibas03/solidity-truffle-tests

1.0 0.0 0.0 15 KB

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

JavaScript 100.00%

solidity-truffle-tests's Introduction

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

solidity-truffle-tests's People

Contributors

adibas03 avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.