-
Notifications
You must be signed in to change notification settings - Fork 0
/
slither.db.json
1 lines (1 loc) · 8.78 KB
/
slither.db.json
1
[{"elements": [{"type": "function", "name": "execute", "source_mapping": {"start": 1305, "length": 662, "filename_used": "/home/naszam/Naszam/maker-badges/node_modules/@openzeppelin/contracts/metatx/MinimalForwarder.sol", "filename_relative": "node_modules/@openzeppelin/contracts/metatx/MinimalForwarder.sol", "filename_absolute": "/home/naszam/Naszam/maker-badges/node_modules/@openzeppelin/contracts/metatx/MinimalForwarder.sol", "filename_short": "node_modules/@openzeppelin/contracts/metatx/MinimalForwarder.sol", "is_dependency": true, "lines": [42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "MinimalForwarder", "source_mapping": {"start": 333, "length": 1636, "filename_used": "/home/naszam/Naszam/maker-badges/node_modules/@openzeppelin/contracts/metatx/MinimalForwarder.sol", "filename_relative": "node_modules/@openzeppelin/contracts/metatx/MinimalForwarder.sol", "filename_absolute": "/home/naszam/Naszam/maker-badges/node_modules/@openzeppelin/contracts/metatx/MinimalForwarder.sol", "filename_short": "node_modules/@openzeppelin/contracts/metatx/MinimalForwarder.sol", "is_dependency": true, "lines": [12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59], "starting_column": 1, "ending_column": 2}}, "signature": "execute(MinimalForwarder.ForwardRequest,bytes)"}}, {"type": "node", "name": "(success,returndata) = req.to.call{gas: req.gas,value: req.value}(abi.encodePacked(req.data,req.from))", "source_mapping": {"start": 1598, "length": 145, "filename_used": "/home/naszam/Naszam/maker-badges/node_modules/@openzeppelin/contracts/metatx/MinimalForwarder.sol", "filename_relative": "node_modules/@openzeppelin/contracts/metatx/MinimalForwarder.sol", "filename_absolute": "/home/naszam/Naszam/maker-badges/node_modules/@openzeppelin/contracts/metatx/MinimalForwarder.sol", "filename_short": "node_modules/@openzeppelin/contracts/metatx/MinimalForwarder.sol", "is_dependency": true, "lines": [50, 51, 52], "starting_column": 9, "ending_column": 10}, "type_specific_fields": {"parent": {"type": "function", "name": "execute", "source_mapping": {"start": 1305, "length": 662, "filename_used": "/home/naszam/Naszam/maker-badges/node_modules/@openzeppelin/contracts/metatx/MinimalForwarder.sol", "filename_relative": "node_modules/@openzeppelin/contracts/metatx/MinimalForwarder.sol", "filename_absolute": "/home/naszam/Naszam/maker-badges/node_modules/@openzeppelin/contracts/metatx/MinimalForwarder.sol", "filename_short": "node_modules/@openzeppelin/contracts/metatx/MinimalForwarder.sol", "is_dependency": true, "lines": [42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "MinimalForwarder", "source_mapping": {"start": 333, "length": 1636, "filename_used": "/home/naszam/Naszam/maker-badges/node_modules/@openzeppelin/contracts/metatx/MinimalForwarder.sol", "filename_relative": "node_modules/@openzeppelin/contracts/metatx/MinimalForwarder.sol", "filename_absolute": "/home/naszam/Naszam/maker-badges/node_modules/@openzeppelin/contracts/metatx/MinimalForwarder.sol", "filename_short": "node_modules/@openzeppelin/contracts/metatx/MinimalForwarder.sol", "is_dependency": true, "lines": [12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59], "starting_column": 1, "ending_column": 2}}, "signature": "execute(MinimalForwarder.ForwardRequest,bytes)"}}}}], "description": "MinimalForwarder.execute(MinimalForwarder.ForwardRequest,bytes) (node_modules/@openzeppelin/contracts/metatx/MinimalForwarder.sol#42-58) sends eth to arbitrary user\n\tDangerous calls:\n\t- (success,returndata) = req.to.call{gas: req.gas,value: req.value}(abi.encodePacked(req.data,req.from)) (node_modules/@openzeppelin/contracts/metatx/MinimalForwarder.sol#50-52)\n", "markdown": "[MinimalForwarder.execute(MinimalForwarder.ForwardRequest,bytes)](node_modules/@openzeppelin/contracts/metatx/MinimalForwarder.sol#L42-L58) sends eth to arbitrary user\n\tDangerous calls:\n\t- [(success,returndata) = req.to.call{gas: req.gas,value: req.value}(abi.encodePacked(req.data,req.from))](node_modules/@openzeppelin/contracts/metatx/MinimalForwarder.sol#L50-L52)\n", "first_markdown_element": "node_modules/@openzeppelin/contracts/metatx/MinimalForwarder.sol#L42-L58", "id": "4398b9887d0e8d4d67a95b87780946dc39d2cf0bdb290bb1e57b58f2241021c7", "check": "arbitrary-send", "impact": "High", "confidence": "Medium"}, {"elements": [{"type": "variable", "name": "id", "source_mapping": {"start": 1283, "length": 10, "filename_used": "/home/naszam/Naszam/maker-badges/contracts/test/TokenId.sol", "filename_relative": "contracts/test/TokenId.sol", "filename_absolute": "/home/naszam/Naszam/maker-badges/contracts/test/TokenId.sol", "filename_short": "contracts/test/TokenId.sol", "is_dependency": false, "lines": [35], "starting_column": 60, "ending_column": 70}, "type_specific_fields": {"parent": {"type": "function", "name": "badge", "source_mapping": {"start": 1157, "length": 564, "filename_used": "/home/naszam/Naszam/maker-badges/contracts/test/TokenId.sol", "filename_relative": "contracts/test/TokenId.sol", "filename_absolute": "/home/naszam/Naszam/maker-badges/contracts/test/TokenId.sol", "filename_short": "contracts/test/TokenId.sol", "is_dependency": false, "lines": [34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "TokenId", "source_mapping": {"start": 71, "length": 1652, "filename_used": "/home/naszam/Naszam/maker-badges/contracts/test/TokenId.sol", "filename_relative": "contracts/test/TokenId.sol", "filename_absolute": "/home/naszam/Naszam/maker-badges/contracts/test/TokenId.sol", "filename_short": "contracts/test/TokenId.sol", "is_dependency": false, "lines": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45], "starting_column": 1, "ending_column": 2}}, "signature": "badge(address,uint256)"}}}}], "description": "TokenId.badge(address,uint256).id (contracts/test/TokenId.sol#35) is a local variable never initialized\n", "markdown": "[TokenId.badge(address,uint256).id](contracts/test/TokenId.sol#L35) is a local variable never initialized\n", "first_markdown_element": "contracts/test/TokenId.sol#L35", "id": "ecc2518c62f2130e674e33f6284a3eb313695fad6a282434a87f2f980c80ee46", "check": "uninitialized-local", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "variable", "name": "errmsg", "source_mapping": {"start": 1483, "length": 20, "filename_used": "/home/naszam/Naszam/maker-badges/contracts/test/TokenId.sol", "filename_relative": "contracts/test/TokenId.sol", "filename_absolute": "/home/naszam/Naszam/maker-badges/contracts/test/TokenId.sol", "filename_short": "contracts/test/TokenId.sol", "is_dependency": false, "lines": [39], "starting_column": 23, "ending_column": 43}, "type_specific_fields": {"parent": {"type": "function", "name": "badge", "source_mapping": {"start": 1157, "length": 564, "filename_used": "/home/naszam/Naszam/maker-badges/contracts/test/TokenId.sol", "filename_relative": "contracts/test/TokenId.sol", "filename_absolute": "/home/naszam/Naszam/maker-badges/contracts/test/TokenId.sol", "filename_short": "contracts/test/TokenId.sol", "is_dependency": false, "lines": [34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "TokenId", "source_mapping": {"start": 71, "length": 1652, "filename_used": "/home/naszam/Naszam/maker-badges/contracts/test/TokenId.sol", "filename_relative": "contracts/test/TokenId.sol", "filename_absolute": "/home/naszam/Naszam/maker-badges/contracts/test/TokenId.sol", "filename_short": "contracts/test/TokenId.sol", "is_dependency": false, "lines": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45], "starting_column": 1, "ending_column": 2}}, "signature": "badge(address,uint256)"}}}}], "description": "TokenId.badge(address,uint256).errmsg (contracts/test/TokenId.sol#39) is a local variable never initialized\n", "markdown": "[TokenId.badge(address,uint256).errmsg](contracts/test/TokenId.sol#L39) is a local variable never initialized\n", "first_markdown_element": "contracts/test/TokenId.sol#L39", "id": "69a971f84bb0e2fdc923a04782613c5ccaaaf166c428e6c9f60d425b79b1cf43", "check": "uninitialized-local", "impact": "Medium", "confidence": "Medium"}]