Skip to content

Instantly share code, notes, and snippets.

@pro100skm
Created November 23, 2018 22:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save pro100skm/d9cb742281461f38e230b10c51f5a9ac to your computer and use it in GitHub Desktop.
Save pro100skm/d9cb742281461f38e230b10c51f5a9ac to your computer and use it in GitHub Desktop.

HYDRO audit report

Summary

This is the report from a security audit performed on HYDRO by pro100skm.

The audit focused primarily on the security of HYDRO contract.

In scope

  1. https://github.com/hydrogen-dev/smart-contracts/blob/master/hydro-token-and-server-raindrop/contracts/HydroToken.sol

Findings

In total, 2 issues were reported including:

  • 0 high severity issues.

  • 0 medium severity issues.

  • 2 low severity issues.

  • 0 minor observations.

Security issues

1. Known Issues of ERC20 Standard

Severity: low

Description

approve + transferFrom mechanism allows double Withdrawal attack before decreasing approved ballance to zero.

2. Representation

Severity: low

Description

Better use decimal variable in calculating totalSuplay amount.

Conclusion

There weren't detected any high severity vulnerabilities that can directly hurt the HYDRO smart contract. We highly recommend you to complete other bugbounty before use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment