mirror of https://github.com/ConsenSys/mythril
pull/925/head
commit
bc29dc54a1
@ -1,132 +1,150 @@ |
|||||||
[ |
[ |
||||||
{ |
{ |
||||||
"issues": [ |
"issues": [ |
||||||
{ |
{ |
||||||
"description": { |
"description": { |
||||||
"head": "The contract executes an external message call.", |
"head": "The contract executes an external message call.", |
||||||
"tail": "An external function call to a fixed contract address is executed. Make sure that the callee contract has been reviewed carefully." |
"tail": "An external function call to a fixed contract address is executed. Make sure that the callee contract has been reviewed carefully." |
||||||
}, |
}, |
||||||
"extra": {}, |
"extra": { |
||||||
"locations": [ |
|
||||||
{ |
}, |
||||||
"sourceMap": "661:1:0" |
"locations": [ |
||||||
} |
{ |
||||||
], |
"sourceMap": "661:1:0" |
||||||
"severity": "Low", |
} |
||||||
"swcID": "SWC-107", |
|
||||||
"swcTitle": "Reentrancy" |
|
||||||
}, |
|
||||||
{ |
|
||||||
"description": { |
|
||||||
"head": "The contract executes an external message call.", |
|
||||||
"tail": "An external function call to a fixed contract address is executed. Make sure that the callee contract has been reviewed carefully." |
|
||||||
}, |
|
||||||
"extra": {}, |
|
||||||
"locations": [ |
|
||||||
{ |
|
||||||
"sourceMap": "779:1:0" |
|
||||||
} |
|
||||||
], |
|
||||||
"severity": "Low", |
|
||||||
"swcID": "SWC-107", |
|
||||||
"swcTitle": "Reentrancy" |
|
||||||
}, |
|
||||||
{ |
|
||||||
"description": { |
|
||||||
"head": "The contract executes an external message call.", |
|
||||||
"tail": "An external function call to a fixed contract address is executed. Make sure that the callee contract has been reviewed carefully." |
|
||||||
}, |
|
||||||
"extra": {}, |
|
||||||
"locations": [ |
|
||||||
{ |
|
||||||
"sourceMap": "858:1:0" |
|
||||||
} |
|
||||||
], |
|
||||||
"severity": "Low", |
|
||||||
"swcID": "SWC-107", |
|
||||||
"swcTitle": "Reentrancy" |
|
||||||
}, |
|
||||||
{ |
|
||||||
"description": { |
|
||||||
"head": "A call to a user-supplied address is executed.", |
|
||||||
"tail": "The callee address of an external message call can be set by the caller. Note that the callee can contain arbitrary code and may re-enter any function in this contract. Review the business logic carefully to prevent averse effects on thecontract state." |
|
||||||
}, |
|
||||||
"extra": {}, |
|
||||||
"locations": [ |
|
||||||
{ |
|
||||||
"sourceMap": "912:1:0" |
|
||||||
} |
|
||||||
], |
|
||||||
"severity": "Medium", |
|
||||||
"swcID": "SWC-107", |
|
||||||
"swcTitle": "Reentrancy" |
|
||||||
}, |
|
||||||
{ |
|
||||||
"description": { |
|
||||||
"head": "The return value of a message call is not checked.", |
|
||||||
"tail": "External calls return a boolean value. If the callee contract halts with an exception, 'false' is returned and execution continues in the caller. It is usually recommended to wrap external calls into a require statement to prevent unexpected states." |
|
||||||
}, |
|
||||||
"extra": {}, |
|
||||||
"locations": [ |
|
||||||
{ |
|
||||||
"sourceMap": "661:1:0" |
|
||||||
} |
|
||||||
], |
|
||||||
"severity": "Low", |
|
||||||
"swcID": "SWC-104", |
|
||||||
"swcTitle": "Unchecked Call Return Value" |
|
||||||
}, |
|
||||||
{ |
|
||||||
"description": { |
|
||||||
"head": "The return value of a message call is not checked.", |
|
||||||
"tail": "External calls return a boolean value. If the callee contract halts with an exception, 'false' is returned and execution continues in the caller. It is usually recommended to wrap external calls into a require statement to prevent unexpected states." |
|
||||||
}, |
|
||||||
"extra": {}, |
|
||||||
"locations": [ |
|
||||||
{ |
|
||||||
"sourceMap": "779:1:0" |
|
||||||
} |
|
||||||
], |
|
||||||
"severity": "Low", |
|
||||||
"swcID": "SWC-104", |
|
||||||
"swcTitle": "Unchecked Call Return Value" |
|
||||||
}, |
|
||||||
{ |
|
||||||
"description": { |
|
||||||
"head": "The return value of a message call is not checked.", |
|
||||||
"tail": "External calls return a boolean value. If the callee contract halts with an exception, 'false' is returned and execution continues in the caller. It is usually recommended to wrap external calls into a require statement to prevent unexpected states." |
|
||||||
}, |
|
||||||
"extra": {}, |
|
||||||
"locations": [ |
|
||||||
{ |
|
||||||
"sourceMap": "858:1:0" |
|
||||||
} |
|
||||||
], |
|
||||||
"severity": "Low", |
|
||||||
"swcID": "SWC-104", |
|
||||||
"swcTitle": "Unchecked Call Return Value" |
|
||||||
}, |
|
||||||
{ |
|
||||||
"description": { |
|
||||||
"head": "The return value of a message call is not checked.", |
|
||||||
"tail": "External calls return a boolean value. If the callee contract halts with an exception, 'false' is returned and execution continues in the caller. It is usually recommended to wrap external calls into a require statement to prevent unexpected states." |
|
||||||
}, |
|
||||||
"extra": {}, |
|
||||||
"locations": [ |
|
||||||
{ |
|
||||||
"sourceMap": "912:1:0" |
|
||||||
} |
|
||||||
], |
|
||||||
"severity": "Low", |
|
||||||
"swcID": "SWC-104", |
|
||||||
"swcTitle": "Unchecked Call Return Value" |
|
||||||
} |
|
||||||
], |
], |
||||||
"meta": {}, |
"severity": "Low", |
||||||
"sourceFormat": "evm-byzantium-bytecode", |
"swcID": "SWC-107", |
||||||
"sourceList": [ |
"swcTitle": "Reentrancy" |
||||||
"0x7cbb77986c6b1bf6e945cd3fba06d3ea3d28cfc49cdfdc9571ec30703ac5862f" |
}, |
||||||
|
{ |
||||||
|
"description": { |
||||||
|
"head": "The contract executes an external message call.", |
||||||
|
"tail": "An external function call to a fixed contract address is executed. Make sure that the callee contract has been reviewed carefully." |
||||||
|
}, |
||||||
|
"extra": { |
||||||
|
|
||||||
|
}, |
||||||
|
"locations": [ |
||||||
|
{ |
||||||
|
"sourceMap": "779:1:0" |
||||||
|
} |
||||||
], |
], |
||||||
"sourceType": "raw-bytecode" |
"severity": "Low", |
||||||
} |
"swcID": "SWC-107", |
||||||
|
"swcTitle": "Reentrancy" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"description": { |
||||||
|
"head": "The contract executes an external message call.", |
||||||
|
"tail": "An external function call to a fixed contract address is executed. Make sure that the callee contract has been reviewed carefully." |
||||||
|
}, |
||||||
|
"extra": { |
||||||
|
|
||||||
|
}, |
||||||
|
"locations": [ |
||||||
|
{ |
||||||
|
"sourceMap": "858:1:0" |
||||||
|
} |
||||||
|
], |
||||||
|
"severity": "Low", |
||||||
|
"swcID": "SWC-107", |
||||||
|
"swcTitle": "Reentrancy" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"description": { |
||||||
|
"head": "A call to a user-supplied address is executed.", |
||||||
|
"tail": "The callee address of an external message call can be set by the caller. Note that the callee can contain arbitrary code and may re-enter any function in this contract. Review the business logic carefully to prevent averse effects on the contract state." |
||||||
|
}, |
||||||
|
"extra": { |
||||||
|
|
||||||
|
}, |
||||||
|
"locations": [ |
||||||
|
{ |
||||||
|
"sourceMap": "912:1:0" |
||||||
|
} |
||||||
|
], |
||||||
|
"severity": "Medium", |
||||||
|
"swcID": "SWC-107", |
||||||
|
"swcTitle": "Reentrancy" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"description": { |
||||||
|
"head": "The return value of a message call is not checked.", |
||||||
|
"tail": "External calls return a boolean value. If the callee contract halts with an exception, 'false' is returned and execution continues in the caller. It is usually recommended to wrap external calls into a require statement to prevent unexpected states." |
||||||
|
}, |
||||||
|
"extra": { |
||||||
|
|
||||||
|
}, |
||||||
|
"locations": [ |
||||||
|
{ |
||||||
|
"sourceMap": "661:1:0" |
||||||
|
} |
||||||
|
], |
||||||
|
"severity": "Low", |
||||||
|
"swcID": "SWC-104", |
||||||
|
"swcTitle": "Unchecked Call Return Value" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"description": { |
||||||
|
"head": "The return value of a message call is not checked.", |
||||||
|
"tail": "External calls return a boolean value. If the callee contract halts with an exception, 'false' is returned and execution continues in the caller. It is usually recommended to wrap external calls into a require statement to prevent unexpected states." |
||||||
|
}, |
||||||
|
"extra": { |
||||||
|
|
||||||
|
}, |
||||||
|
"locations": [ |
||||||
|
{ |
||||||
|
"sourceMap": "779:1:0" |
||||||
|
} |
||||||
|
], |
||||||
|
"severity": "Low", |
||||||
|
"swcID": "SWC-104", |
||||||
|
"swcTitle": "Unchecked Call Return Value" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"description": { |
||||||
|
"head": "The return value of a message call is not checked.", |
||||||
|
"tail": "External calls return a boolean value. If the callee contract halts with an exception, 'false' is returned and execution continues in the caller. It is usually recommended to wrap external calls into a require statement to prevent unexpected states." |
||||||
|
}, |
||||||
|
"extra": { |
||||||
|
|
||||||
|
}, |
||||||
|
"locations": [ |
||||||
|
{ |
||||||
|
"sourceMap": "858:1:0" |
||||||
|
} |
||||||
|
], |
||||||
|
"severity": "Low", |
||||||
|
"swcID": "SWC-104", |
||||||
|
"swcTitle": "Unchecked Call Return Value" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"description": { |
||||||
|
"head": "The return value of a message call is not checked.", |
||||||
|
"tail": "External calls return a boolean value. If the callee contract halts with an exception, 'false' is returned and execution continues in the caller. It is usually recommended to wrap external calls into a require statement to prevent unexpected states." |
||||||
|
}, |
||||||
|
"extra": { |
||||||
|
|
||||||
|
}, |
||||||
|
"locations": [ |
||||||
|
{ |
||||||
|
"sourceMap": "912:1:0" |
||||||
|
} |
||||||
|
], |
||||||
|
"severity": "Low", |
||||||
|
"swcID": "SWC-104", |
||||||
|
"swcTitle": "Unchecked Call Return Value" |
||||||
|
} |
||||||
|
], |
||||||
|
"meta": { |
||||||
|
|
||||||
|
}, |
||||||
|
"sourceFormat": "evm-byzantium-bytecode", |
||||||
|
"sourceList": [ |
||||||
|
"0x7cbb77986c6b1bf6e945cd3fba06d3ea3d28cfc49cdfdc9571ec30703ac5862f" |
||||||
|
], |
||||||
|
"sourceType": "raw-bytecode" |
||||||
|
} |
||||||
] |
] |
@ -1,87 +1,99 @@ |
|||||||
[ |
[ |
||||||
{ |
{ |
||||||
"issues": [ |
"issues": [ |
||||||
{ |
{ |
||||||
"description": { |
"description": { |
||||||
"head": "Use of callcode is deprecated.", |
"head": "Use of callcode is deprecated.", |
||||||
"tail": "The callcode method executes code of another contract in the context of the caller account. Due to a bug in the implementation it does not persist sender and value over the call. It was therefore deprecated and may be removed in the future. Use the delegatecall method instead." |
"tail": "The callcode method executes code of another contract in the context of the caller account. Due to a bug in the implementation it does not persist sender and value over the call. It was therefore deprecated and may be removed in the future. Use the delegatecall method instead." |
||||||
}, |
}, |
||||||
"extra": {}, |
"extra": { |
||||||
"locations": [ |
|
||||||
{ |
}, |
||||||
"sourceMap": "618:1:0" |
"locations": [ |
||||||
} |
{ |
||||||
], |
"sourceMap": "618:1:0" |
||||||
"severity": "Medium", |
} |
||||||
"swcID": "SWC-111", |
|
||||||
"swcTitle": "Use of Deprecated Solidity Functions" |
|
||||||
}, |
|
||||||
{ |
|
||||||
"description": { |
|
||||||
"head": "A call to a user-supplied address is executed.", |
|
||||||
"tail": "The callee address of an external message call can be set by the caller. Note that the callee can contain arbitrary code and may re-enter any function in this contract. Review the business logic carefully to prevent averse effects on thecontract state." |
|
||||||
}, |
|
||||||
"extra": {}, |
|
||||||
"locations": [ |
|
||||||
{ |
|
||||||
"sourceMap": "1038:1:0" |
|
||||||
} |
|
||||||
], |
|
||||||
"severity": "Medium", |
|
||||||
"swcID": "SWC-107", |
|
||||||
"swcTitle": "Reentrancy" |
|
||||||
}, |
|
||||||
{ |
|
||||||
"description": { |
|
||||||
"head": "The return value of a message call is not checked.", |
|
||||||
"tail": "External calls return a boolean value. If the callee contract halts with an exception, 'false' is returned and execution continues in the caller. It is usually recommended to wrap external calls into a require statement to prevent unexpected states." |
|
||||||
}, |
|
||||||
"extra": {}, |
|
||||||
"locations": [ |
|
||||||
{ |
|
||||||
"sourceMap": "618:1:0" |
|
||||||
} |
|
||||||
], |
|
||||||
"severity": "Low", |
|
||||||
"swcID": "SWC-104", |
|
||||||
"swcTitle": "Unchecked Call Return Value" |
|
||||||
}, |
|
||||||
{ |
|
||||||
"description": { |
|
||||||
"head": "The return value of a message call is not checked.", |
|
||||||
"tail": "External calls return a boolean value. If the callee contract halts with an exception, 'false' is returned and execution continues in the caller. It is usually recommended to wrap external calls into a require statement to prevent unexpected states." |
|
||||||
}, |
|
||||||
"extra": {}, |
|
||||||
"locations": [ |
|
||||||
{ |
|
||||||
"sourceMap": "849:1:0" |
|
||||||
} |
|
||||||
], |
|
||||||
"severity": "Low", |
|
||||||
"swcID": "SWC-104", |
|
||||||
"swcTitle": "Unchecked Call Return Value" |
|
||||||
}, |
|
||||||
{ |
|
||||||
"description": { |
|
||||||
"head": "The return value of a message call is not checked.", |
|
||||||
"tail": "External calls return a boolean value. If the callee contract halts with an exception, 'false' is returned and execution continues in the caller. It is usually recommended to wrap external calls into a require statement to prevent unexpected states." |
|
||||||
}, |
|
||||||
"extra": {}, |
|
||||||
"locations": [ |
|
||||||
{ |
|
||||||
"sourceMap": "1038:1:0" |
|
||||||
} |
|
||||||
], |
|
||||||
"severity": "Low", |
|
||||||
"swcID": "SWC-104", |
|
||||||
"swcTitle": "Unchecked Call Return Value" |
|
||||||
} |
|
||||||
], |
], |
||||||
"meta": {}, |
"severity": "Medium", |
||||||
"sourceFormat": "evm-byzantium-bytecode", |
"swcID": "SWC-111", |
||||||
"sourceList": [ |
"swcTitle": "Use of Deprecated Solidity Functions" |
||||||
"0x6daec61d05d8f1210661e7e7d1ed6d72bd6ade639398fac1e867aff50abfc1c1" |
}, |
||||||
|
{ |
||||||
|
"description": { |
||||||
|
"head": "A call to a user-supplied address is executed.", |
||||||
|
"tail": "The callee address of an external message call can be set by the caller. Note that the callee can contain arbitrary code and may re-enter any function in this contract. Review the business logic carefully to prevent averse effects on the contract state." |
||||||
|
}, |
||||||
|
"extra": { |
||||||
|
|
||||||
|
}, |
||||||
|
"locations": [ |
||||||
|
{ |
||||||
|
"sourceMap": "1038:1:0" |
||||||
|
} |
||||||
], |
], |
||||||
"sourceType": "raw-bytecode" |
"severity": "Medium", |
||||||
} |
"swcID": "SWC-107", |
||||||
|
"swcTitle": "Reentrancy" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"description": { |
||||||
|
"head": "The return value of a message call is not checked.", |
||||||
|
"tail": "External calls return a boolean value. If the callee contract halts with an exception, 'false' is returned and execution continues in the caller. It is usually recommended to wrap external calls into a require statement to prevent unexpected states." |
||||||
|
}, |
||||||
|
"extra": { |
||||||
|
|
||||||
|
}, |
||||||
|
"locations": [ |
||||||
|
{ |
||||||
|
"sourceMap": "618:1:0" |
||||||
|
} |
||||||
|
], |
||||||
|
"severity": "Low", |
||||||
|
"swcID": "SWC-104", |
||||||
|
"swcTitle": "Unchecked Call Return Value" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"description": { |
||||||
|
"head": "The return value of a message call is not checked.", |
||||||
|
"tail": "External calls return a boolean value. If the callee contract halts with an exception, 'false' is returned and execution continues in the caller. It is usually recommended to wrap external calls into a require statement to prevent unexpected states." |
||||||
|
}, |
||||||
|
"extra": { |
||||||
|
|
||||||
|
}, |
||||||
|
"locations": [ |
||||||
|
{ |
||||||
|
"sourceMap": "849:1:0" |
||||||
|
} |
||||||
|
], |
||||||
|
"severity": "Low", |
||||||
|
"swcID": "SWC-104", |
||||||
|
"swcTitle": "Unchecked Call Return Value" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"description": { |
||||||
|
"head": "The return value of a message call is not checked.", |
||||||
|
"tail": "External calls return a boolean value. If the callee contract halts with an exception, 'false' is returned and execution continues in the caller. It is usually recommended to wrap external calls into a require statement to prevent unexpected states." |
||||||
|
}, |
||||||
|
"extra": { |
||||||
|
|
||||||
|
}, |
||||||
|
"locations": [ |
||||||
|
{ |
||||||
|
"sourceMap": "1038:1:0" |
||||||
|
} |
||||||
|
], |
||||||
|
"severity": "Low", |
||||||
|
"swcID": "SWC-104", |
||||||
|
"swcTitle": "Unchecked Call Return Value" |
||||||
|
} |
||||||
|
], |
||||||
|
"meta": { |
||||||
|
|
||||||
|
}, |
||||||
|
"sourceFormat": "evm-byzantium-bytecode", |
||||||
|
"sourceList": [ |
||||||
|
"0x6daec61d05d8f1210661e7e7d1ed6d72bd6ade639398fac1e867aff50abfc1c1" |
||||||
|
], |
||||||
|
"sourceType": "raw-bytecode" |
||||||
|
} |
||||||
] |
] |
Loading…
Reference in new issue