@ -55,7 +55,7 @@ Num | Detector | What it Detects | Impact | Confidence
14 | `constant-function` | [Constant functions changing the state](https://github.com/crytic/slither/wiki/Detector-Documentation#constant-functions-changing-the-state) | Medium | Medium
14 | `constant-function` | [Constant functions changing the state](https://github.com/crytic/slither/wiki/Detector-Documentation#constant-functions-changing-the-state) | Medium | Medium
15 | `reentrancy-no-eth` | [Reentrancy vulnerabilities (no theft of ethers)](https://github.com/crytic/slither/wiki/Detector-Documentation#reentrancy-vulnerabilities-1) | Medium | Medium
15 | `reentrancy-no-eth` | [Reentrancy vulnerabilities (no theft of ethers)](https://github.com/crytic/slither/wiki/Detector-Documentation#reentrancy-vulnerabilities-1) | Medium | Medium
16 | `tx-origin` | [Dangerous usage of `tx.origin`](https://github.com/crytic/slither/wiki/Detector-Documentation#dangerous-usage-of-txorigin) | Medium | Medium
16 | `tx-origin` | [Dangerous usage of `tx.origin`](https://github.com/crytic/slither/wiki/Detector-Documentation#dangerous-usage-of-txorigin) | Medium | Medium
17 | `unchecked-lowlevel` | [Unchecked low-level calls](https://github.com/crytic/slither/wiki/Detector-Documentation#unchecked-low-level) | Medium | Medium
17 | `unchecked-lowlevel` | [Unchecked low-level calls](https://github.com/crytic/slither/wiki/Detector-Documentation#unchecked-low-level-calls) | Medium | Medium
18 | `unchecked-send` | [Unchecked send](https://github.com/crytic/slither/wiki/Detector-Documentation#unchecked-send) | Medium | Medium
18 | `unchecked-send` | [Unchecked send](https://github.com/crytic/slither/wiki/Detector-Documentation#unchecked-send) | Medium | Medium
19 | `uninitialized-local` | [Uninitialized local variables](https://github.com/crytic/slither/wiki/Detector-Documentation#uninitialized-local-variables) | Medium | Medium
19 | `uninitialized-local` | [Uninitialized local variables](https://github.com/crytic/slither/wiki/Detector-Documentation#uninitialized-local-variables) | Medium | Medium
20 | `unused-return` | [Unused return values](https://github.com/crytic/slither/wiki/Detector-Documentation#unused-return) | Medium | Medium
20 | `unused-return` | [Unused return values](https://github.com/crytic/slither/wiki/Detector-Documentation#unused-return) | Medium | Medium
"description":"Test.direct (tests/arbitrary_send-0.5.1.sol#11-13) sends eth to arbitrary user\n\tDangerous calls:\n\t- msg.sender.send(address(this).balance) (tests/arbitrary_send-0.5.1.sol#12)\n",
"description":"Test.direct() (tests/arbitrary_send-0.5.1.sol#11-13) sends eth to arbitrary user\n\tDangerous calls:\n\t- msg.sender.send(address(this).balance) (tests/arbitrary_send-0.5.1.sol#12)\n",
"elements":[
"elements":[
{
{
"type":"function",
"type":"function",
@ -26,7 +27,8 @@
"starting_column":5,
"starting_column":5,
"ending_column":6
"ending_column":6
},
},
"contract":{
"type_specific_fields":{
"parent":{
"type":"contract",
"type":"contract",
"name":"Test",
"name":"Test",
"source_mapping":{
"source_mapping":{
@ -82,6 +84,8 @@
"starting_column":1,
"starting_column":1,
"ending_column":2
"ending_column":2
}
}
},
"signature":"direct()"
}
}
},
},
{
{
@ -100,7 +104,8 @@
"starting_column":9,
"starting_column":9,
"ending_column":47
"ending_column":47
},
},
"function":{
"type_specific_fields":{
"parent":{
"type":"function",
"type":"function",
"name":"direct",
"name":"direct",
"source_mapping":{
"source_mapping":{
@ -118,7 +123,8 @@
"starting_column":5,
"starting_column":5,
"ending_column":6
"ending_column":6
},
},
"contract":{
"type_specific_fields":{
"parent":{
"type":"contract",
"type":"contract",
"name":"Test",
"name":"Test",
"source_mapping":{
"source_mapping":{
@ -174,6 +180,9 @@
"starting_column":1,
"starting_column":1,
"ending_column":2
"ending_column":2
}
}
},
"signature":"direct()"
}
}
}
}
}
}
}
@ -183,7 +192,7 @@
"check":"arbitrary-send",
"check":"arbitrary-send",
"impact":"High",
"impact":"High",
"confidence":"Medium",
"confidence":"Medium",
"description":"Test.indirect (tests/arbitrary_send-0.5.1.sol#19-21) sends eth to arbitrary user\n\tDangerous calls:\n\t- destination.send(address(this).balance) (tests/arbitrary_send-0.5.1.sol#20)\n",
"description":"Test.indirect() (tests/arbitrary_send-0.5.1.sol#19-21) sends eth to arbitrary user\n\tDangerous calls:\n\t- destination.send(address(this).balance) (tests/arbitrary_send-0.5.1.sol#20)\n",
"description":"Test.direct (tests/arbitrary_send.sol#11-13) sends eth to arbitrary user\n\tDangerous calls:\n\t- msg.sender.send(address(this).balance) (tests/arbitrary_send.sol#12)\n",
"description":"Test.direct() (tests/arbitrary_send.sol#11-13) sends eth to arbitrary user\n\tDangerous calls:\n\t- msg.sender.send(address(this).balance) (tests/arbitrary_send.sol#12)\n",
"elements":[
"elements":[
{
{
"type":"function",
"type":"function",
@ -26,7 +27,8 @@
"starting_column":5,
"starting_column":5,
"ending_column":6
"ending_column":6
},
},
"contract":{
"type_specific_fields":{
"parent":{
"type":"contract",
"type":"contract",
"name":"Test",
"name":"Test",
"source_mapping":{
"source_mapping":{
@ -82,6 +84,8 @@
"starting_column":1,
"starting_column":1,
"ending_column":2
"ending_column":2
}
}
},
"signature":"direct()"
}
}
},
},
{
{
@ -100,7 +104,8 @@
"starting_column":9,
"starting_column":9,
"ending_column":47
"ending_column":47
},
},
"function":{
"type_specific_fields":{
"parent":{
"type":"function",
"type":"function",
"name":"direct",
"name":"direct",
"source_mapping":{
"source_mapping":{
@ -118,7 +123,8 @@
"starting_column":5,
"starting_column":5,
"ending_column":6
"ending_column":6
},
},
"contract":{
"type_specific_fields":{
"parent":{
"type":"contract",
"type":"contract",
"name":"Test",
"name":"Test",
"source_mapping":{
"source_mapping":{
@ -174,6 +180,9 @@
"starting_column":1,
"starting_column":1,
"ending_column":2
"ending_column":2
}
}
},
"signature":"direct()"
}
}
}
}
}
}
}
@ -183,7 +192,7 @@
"check":"arbitrary-send",
"check":"arbitrary-send",
"impact":"High",
"impact":"High",
"confidence":"Medium",
"confidence":"Medium",
"description":"Test.indirect (tests/arbitrary_send.sol#19-21) sends eth to arbitrary user\n\tDangerous calls:\n\t- destination.send(address(this).balance) (tests/arbitrary_send.sol#20)\n",
"description":"Test.indirect() (tests/arbitrary_send.sol#19-21) sends eth to arbitrary user\n\tDangerous calls:\n\t- destination.send(address(this).balance) (tests/arbitrary_send.sol#20)\n",