Security analysis tool for EVM bytecode. Supports smart contracts built for Ethereum, Hedera, Quorum, Vechain, Roostock, Tron and other EVM-compatible blockchains.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
mythril/tests/testdata/outputs_expected/rubixi.sol.markdown

4.0 KiB

Analysis Results

Ether send

  • Type: Warning
  • Contract: Rubixi
  • Function name: _function_0x4229616d
  • PC address: 1599

Description

In the function '_function_0x4229616d' a non-zero amount of Ether is sent to an address taken from storage slot 5. There is a check on storage index 5. This storage slot can be written to by calling the function '_function_0x67f809e9'.

There is a check on storage index 5. This storage slot can be written to by calling the function '_function_0x67f809e9'. There is a check on storage index 1. This storage slot can be written to by calling the function 'fallback'.

In /inputs/rubixi.sol:93

creator.send(feesToCollect)

Ether send

  • Type: Warning
  • Contract: Rubixi
  • Function name: _function_0x686f2c90
  • PC address: 1940

Description

In the function '_function_0x686f2c90' a non-zero amount of Ether is sent to an address taken from storage slot 5. There is a check on storage index 5. This storage slot can be written to by calling the function '_function_0x67f809e9'.

There is a check on storage index 5. This storage slot can be written to by calling the function '_function_0x67f809e9'. There is a check on storage index 1. This storage slot can be written to by calling the function 'fallback'.

In /inputs/rubixi.sol:75

creator.send(collectedFees)

Exception state

  • Type: Informational
  • Contract: Rubixi
  • Function name: _function_0x57d4021b
  • PC address: 1653

Description

A reachable exception (opcode 0xfe) has been detected. This can be caused by type errors, division by zero, out-of-bounds array access, or assert violations. This is acceptable in most situations. Note however that assert() should only be used to check invariants. Use require() for regular input checking.

In /inputs/rubixi.sol:131

participants[payoutOrder]

Exception state

  • Type: Informational
  • Contract: Rubixi
  • Function name: _function_0x9dbc4f9b
  • PC address: 2085

Description

A reachable exception (opcode 0xfe) has been detected. This can be caused by type errors, division by zero, out-of-bounds array access, or assert violations. This is acceptable in most situations. Note however that assert() should only be used to check invariants. Use require() for regular input checking.

In /inputs/rubixi.sol:148

participants[orderInPyramid]

Integer Overflow

  • Type: Warning
  • Contract: Rubixi
  • Function name: _function_0xfae14192
  • PC address: 1223

Description

A possible integer overflow exists in the function _function_0xfae14192. The addition may result in a value higher than the maximum representable integer.

In /inputs/rubixi.sol:37

collectedFees += msg.value

Integer Underflow

  • Type: Warning
  • Contract: Rubixi
  • Function name: _function_0xd11f13df
  • PC address: 2743

Description

A possible integer underflow exists in the function _function_0xd11f13df. The subtraction may result in a value < 0.

In /inputs/rubixi.sol:143

participants.length - payoutOrder

Unchecked CALL return value

  • Type: Informational
  • Contract: Rubixi
  • Function name: _function_0x4229616d
  • PC address: 1599

Description

The return value of an external call is not checked. Note that execution continue even if the called contract throws.

In /inputs/rubixi.sol:93

creator.send(feesToCollect)

Unchecked CALL return value

  • Type: Informational
  • Contract: Rubixi
  • Function name: _function_0xb4022950
  • PC address: 1940

Description

The return value of an external call is not checked. Note that execution continue even if the called contract throws.

In /inputs/rubixi.sol:75

creator.send(collectedFees)

Unchecked CALL return value

  • Type: Informational
  • Contract: Rubixi
  • Function name: _function_0xb4022950
  • PC address: 2582

Description

The return value of an external call is not checked. Note that execution continue even if the called contract throws.

In /inputs/rubixi.sol:85

creator.send(_amt)