[ [ { "elements": [ { "type": "function", "name": "bad", "source_mapping": { "start": 21, "length": 88, "filename_relative": "tests/detectors/unchecked-lowlevel/0.4.25/unchecked_lowlevel.sol", "filename_absolute": "/GENERIC_PATH", "filename_short": "tests/detectors/unchecked-lowlevel/0.4.25/unchecked_lowlevel.sol", "is_dependency": false, "lines": [ 2, 3, 4 ], "starting_column": 5, "ending_column": 6 }, "type_specific_fields": { "parent": { "type": "contract", "name": "MyConc", "source_mapping": { "start": 0, "length": 214, "filename_relative": "tests/detectors/unchecked-lowlevel/0.4.25/unchecked_lowlevel.sol", "filename_absolute": "/GENERIC_PATH", "filename_short": "tests/detectors/unchecked-lowlevel/0.4.25/unchecked_lowlevel.sol", "is_dependency": false, "lines": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ], "starting_column": 1, "ending_column": 2 } }, "signature": "bad(address)" } }, { "type": "node", "name": "dst.call.value(msg.value)()", "source_mapping": { "start": 73, "length": 29, "filename_relative": "tests/detectors/unchecked-lowlevel/0.4.25/unchecked_lowlevel.sol", "filename_absolute": "/GENERIC_PATH", "filename_short": "tests/detectors/unchecked-lowlevel/0.4.25/unchecked_lowlevel.sol", "is_dependency": false, "lines": [ 3 ], "starting_column": 9, "ending_column": 38 }, "type_specific_fields": { "parent": { "type": "function", "name": "bad", "source_mapping": { "start": 21, "length": 88, "filename_relative": "tests/detectors/unchecked-lowlevel/0.4.25/unchecked_lowlevel.sol", "filename_absolute": "/GENERIC_PATH", "filename_short": "tests/detectors/unchecked-lowlevel/0.4.25/unchecked_lowlevel.sol", "is_dependency": false, "lines": [ 2, 3, 4 ], "starting_column": 5, "ending_column": 6 }, "type_specific_fields": { "parent": { "type": "contract", "name": "MyConc", "source_mapping": { "start": 0, "length": 214, "filename_relative": "tests/detectors/unchecked-lowlevel/0.4.25/unchecked_lowlevel.sol", "filename_absolute": "/GENERIC_PATH", "filename_short": "tests/detectors/unchecked-lowlevel/0.4.25/unchecked_lowlevel.sol", "is_dependency": false, "lines": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ], "starting_column": 1, "ending_column": 2 } }, "signature": "bad(address)" } } } } ], "description": "MyConc.bad(address) (tests/detectors/unchecked-lowlevel/0.4.25/unchecked_lowlevel.sol#2-4) ignores return value by dst.call.value(msg.value)() (tests/detectors/unchecked-lowlevel/0.4.25/unchecked_lowlevel.sol#3)\n", "markdown": "[MyConc.bad(address)](tests/detectors/unchecked-lowlevel/0.4.25/unchecked_lowlevel.sol#L2-L4) ignores return value by [dst.call.value(msg.value)()](tests/detectors/unchecked-lowlevel/0.4.25/unchecked_lowlevel.sol#L3)\n", "first_markdown_element": "tests/detectors/unchecked-lowlevel/0.4.25/unchecked_lowlevel.sol#L2-L4", "id": "5e99856e75f5f5937a5b9f8f90fc9ce01eabfcf97c0d3e2b59f5cd057add9c19", "check": "unchecked-lowlevel", "impact": "Medium", "confidence": "Medium" } ] ]