filename
stringlengths
56
76
code
stringlengths
176
147k
source_contract
stringlengths
82
124
vulnerability_type
stringclasses
8 values
injection_mode
stringclasses
2 values
template_name
stringclasses
40 values
solidity_version
stringclasses
28 values
injected_regions
stringlengths
117
314
subset
stringclasses
2 values
0x6e09b7d6c08bbc5327892013c07b44169e8a9a7c_point_153_timestamp.sol
pragma solidity 0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint2...
data/smartbugs-wild-clean-contracts/0x6e09b7d6c08bbc5327892013c07b44169e8a9a7c.sol
timestamp
point
timestamp_equality
0.4.24
[{"start_byte": 18352, "end_byte": 18452, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 17279, "end_byte": 17300, "component": "state", "description": "Injected state code"}]
point
0x5d4cfc3c5b79ab867c338fa6219fd1aad71f67e3_point_37_unhandled_exception.sol
pragma solidity ^0.5.0; // ---------------------------------------------------------------------------- // 'DonavanTrust' token contract // // Symbol : DNRT // Name : Donavan Trust // Total supply: 1000000000.000000000000000000 // Decimals : 18 // // ---------------------------------------------------...
data/smartbugs-wild-clean-contracts/0x5d4cfc3c5b79ab867c338fa6219fd1aad71f67e3.sol
unhandled_exception
point
unchecked_call_05x
0.5.0
[{"start_byte": 6043, "end_byte": 6110, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 3449, "end_byte": 3480, "component": "state", "description": "Injected state code"}]
point
0xd451177ce7c4d7ebfe7109a239455d38aeb8c3d1_point_31_unchecked_send.sol
pragma solidity 0.4.19; library SafeMath { function add(uint a, uint b) internal pure returns (uint c) { c = a + b; require(c >= a); } function sub(uint a, uint b) internal pure returns (uint c) { require(b <= a); c = a - b; } function mul(uint a, uint b) internal pu...
data/smartbugs-wild-clean-contracts/0xd451177ce7c4d7ebfe7109a239455d38aeb8c3d1.sol
unchecked_send
point
unchecked_send_literal_legacy
0.4.19
[{"start_byte": 3119, "end_byte": 3162, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0xbb8a43af111b59c7742f36e9cd245357d04059fd_point_23_unchecked_send.sol
pragma solidity 0.4.18; contract ERC20 { function totalSupply()public view returns (uint total_Supply); function balanceOf(address _owner)public view returns (uint256 balance); function allowance(address _owner, address _spender)public view returns (uint remaining); function transferFrom(address _from, add...
data/smartbugs-wild-clean-contracts/0xbb8a43af111b59c7742f36e9cd245357d04059fd.sol
unchecked_send
point
unchecked_send_balance_legacy
0.4.18
[{"start_byte": 5237, "end_byte": 5288, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0x4654a62c8d45201542e86233b625a4e33ecb316b_point_56_underflow.sol
pragma solidity 0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); ...
data/smartbugs-wild-clean-contracts/0x4654a62c8d45201542e86233b625a4e33ecb316b.sol
underflow
point
transfer_underflow
0.4.24
[{"start_byte": 14705, "end_byte": 14783, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 12978, "end_byte": 13131, "component": "state", "description": "Injected state code"}]
point
0x334a934fa07fce4fb7b1c89457fe9754c08f4d41_point_76_unchecked_send.sol
// File: src/main/solidity/zeppelin-solidity/contracts/ownership/Ownable.sol pragma solidity ^0.5.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * This module is used through inh...
data/smartbugs-wild-clean-contracts/0x334a934fa07fce4fb7b1c89457fe9754c08f4d41.sol
unchecked_send
point
unchecked_send_literal_legacy
0.5.0
[{"start_byte": 25887, "end_byte": 25930, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0x18e46125233cb973cc04ae4f0a8f1ff63ed9541c_point_22_tx_origin.sol
pragma solidity ^0.5.0; // ---------------------------------------------------------------------------- // 'Banknet Token' 'Banknet Token' Smart Contract // // Symbol : BKU // Name : Banknet Token // Total supply: 9,000,000,000 // Decimals : 18 // // // // (c) BokkyPooBah / Bok Consulting Pty Ltd 2018....
data/smartbugs-wild-clean-contracts/0x18e46125233cb973cc04ae4f0a8f1ff63ed9541c.sol
tx_origin
point
tx_origin_transfer_050
0.5.0
[{"start_byte": 5399, "end_byte": 5503, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 3598, "end_byte": 3624, "component": "state", "description": "Injected state code"}]
point
0xb110e378ea8b83dd52d1c5a810a5dcf99bbc96ae_point_24_underflow.sol
pragma solidity 0.4.15; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b...
data/smartbugs-wild-clean-contracts/0xb110e378ea8b83dd52d1c5a810a5dcf99bbc96ae.sol
underflow
point
subtraction_underflow
0.4.15
[{"start_byte": 6089, "end_byte": 6160, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 5512, "end_byte": 5651, "component": "state", "description": "Injected state code"}]
point
0x7700d7594c5d033d5d5b0afdad89c15c0be4bd22_point_39_timestamp.sol
pragma solidity 0.4.18; library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a / b; ...
data/smartbugs-wild-clean-contracts/0x7700d7594c5d033d5d5b0afdad89c15c0be4bd22.sol
timestamp
point
timestamp_comparison
0.4.18
[{"start_byte": 4262, "end_byte": 4316, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 3807, "end_byte": 3829, "component": "state", "description": "Injected state code"}]
point
0x52494fbffe10f8c29411521040ae8618c334981e_point_35_unchecked_send.sol
pragma solidity 0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } functio...
data/smartbugs-wild-clean-contracts/0x52494fbffe10f8c29411521040ae8618c334981e.sol
unchecked_send
point
unchecked_send_balance_legacy
0.4.24
[{"start_byte": 5592, "end_byte": 5643, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0x24ebfc20bb2e1daadd98d28341ab37d0c154f4cb_point_9_reentrancy.sol
pragma solidity 0.4.19; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } functi...
data/smartbugs-wild-clean-contracts/0x24ebfc20bb2e1daadd98d28341ab37d0c154f4cb.sol
reentrancy
point
call_value_legacy
0.4.19
[{"start_byte": 9143, "end_byte": 9303, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 7722, "end_byte": 7864, "component": "state", "description": "Injected state code"}]
point
0x68eb95dc9934e19b86687a10df8e364423240e94_point_1_reentrancy.sol
// File: openzeppelin-solidity/contracts/math/SafeMath.sol pragma solidity ^0.5.0; /** * @title SafeMath * @dev Unsigned math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two unsigned integers, reverts on overflow. */ function mul(uint256 a, uint256...
data/smartbugs-wild-clean-contracts/0x68eb95dc9934e19b86687a10df8e364423240e94.sol
reentrancy
point
withdraw_reentrancy_050
0.5.0
[{"start_byte": 15284, "end_byte": 15522, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 14072, "end_byte": 14228, "component": "state", "description": "Injected state code"}]
point
0xdf1d6405df92d981a2fb3ce68f6a03bac6c0e41f_point_47_underflow.sol
pragma solidity 0.4.21; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint2...
data/smartbugs-wild-clean-contracts/0xdf1d6405df92d981a2fb3ce68f6a03bac6c0e41f.sol
underflow
point
transfer_underflow
0.4.21
[{"start_byte": 6072, "end_byte": 6135, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 4418, "end_byte": 4551, "component": "state", "description": "Injected state code"}]
point
0x2f90599ab7d47a7eeb25017b5429d7305794257b_point_8_underflow.sol
pragma solidity ^0.4.26; library SafeMath { function safeMul(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function safeDiv(uint256 a, uint256 b) internal pure returns (uint256) { assert(b > 0); uint256 c = a / b; ass...
data/smartbugs-wild-clean-contracts/0x2f90599ab7d47a7eeb25017b5429d7305794257b.sol
underflow
point
transfer_underflow
0.4.26
[{"start_byte": 2222, "end_byte": 2301, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 1384, "end_byte": 1537, "component": "state", "description": "Injected state code"}]
point
0x869b1f57380ae501d387b19262efd3c0eb7501b0_point_16_underflow.sol
pragma solidity 0.4.24; library SafeMath { function add(uint a, uint b) internal pure returns (uint c) { c = a + b; require(c >= a); } function sub(uint a, uint b) internal pure returns (uint c) { require(b <= a); c = a - b; } function mul(uint a, uint b) internal pure returns (uint c...
data/smartbugs-wild-clean-contracts/0x869b1f57380ae501d387b19262efd3c0eb7501b0.sol
underflow
point
transfer_underflow
0.4.24
[{"start_byte": 8093, "end_byte": 8170, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 2312, "end_byte": 2445, "component": "state", "description": "Injected state code"}]
point
0x0f72b988c30a4e4472607703c3363dcfe0f58e0d_point_31_overflow.sol
pragma solidity 0.4.19; // File: zeppelin-solidity/contracts/ownership/Ownable.sol /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; ...
data/smartbugs-wild-clean-contracts/0x0f72b988c30a4e4472607703c3363dcfe0f58e0d.sol
overflow
point
uint8_overflow
0.4.19
[{"start_byte": 15274, "end_byte": 15310, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 14138, "end_byte": 14162, "component": "state", "description": "Injected state code"}]
point
0xd5fcc92743fe55ff080acc35ef7d7ec9c0f3df56_point_0_overflow.sol
pragma solidity 0.4.18; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { // assert(b > 0); // Sol...
data/smartbugs-wild-clean-contracts/0xd5fcc92743fe55ff080acc35ef7d7ec9c0f3df56.sol
overflow
point
batch_transfer_overflow
0.4.18
[{"start_byte": 1426, "end_byte": 1865, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 1077, "end_byte": 1121, "component": "state", "description": "Injected state code"}]
point
0x3fd71392ac646c7634e6a3fd1eb77a95abeaa1b1_point_5_reentrancy.sol
pragma solidity 0.4.24; // File: openzeppelin-solidity/contracts/math/SafeMath.sol /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (u...
data/smartbugs-wild-clean-contracts/0x3fd71392ac646c7634e6a3fd1eb77a95abeaa1b1.sol
reentrancy
point
transfer_reentrancy_legacy
0.4.24
[{"start_byte": 17085, "end_byte": 17250, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 14964, "end_byte": 15105, "component": "state", "description": "Injected state code"}]
point
0xa83d6dde2ea968693619b2c2939d5ea207a5c295_point_34_timestamp.sol
pragma solidity ^0.5.0; // ---------------------------------------------------------------------------- // Safe maths // ---------------------------------------------------------------------------- library SafeMath { function add(uint a, uint b) internal pure returns (uint c) { c = a + b; require(c...
data/smartbugs-wild-clean-contracts/0xa83d6dde2ea968693619b2c2939d5ea207a5c295.sol
timestamp
point
timestamp_equality_050
0.5.0
[{"start_byte": 2676, "end_byte": 2779, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 2292, "end_byte": 2316, "component": "state", "description": "Injected state code"}]
point
0x84f5fb60fccd73f06867d800445b3fd8b01a2dd4_point_77_timestamp.sol
pragma solidity 0.4.11; contract Wolker { uint256 threshold; mapping (address => uint256) balances; mapping (address => uint256) allocations; mapping (address => mapping (address => uint256)) allowed; mapping (address => mapping (address => bool)) authorized; //trustee /// @param _to The address of the r...
data/smartbugs-wild-clean-contracts/0x84f5fb60fccd73f06867d800445b3fd8b01a2dd4.sol
timestamp
point
timestamp_comparison
0.4.11
[{"start_byte": 3276, "end_byte": 3324, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 44, "end_byte": 66, "component": "state", "description": "Injected state code"}]
point
0xe5a5f138005e19a3e6d0fe68b039397eeef2322b_point_8_reentrancy.sol
pragma solidity 0.4.24; // File: openzeppelin-solidity/contracts/ownership/Ownable.sol /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner...
data/smartbugs-wild-clean-contracts/0xe5a5f138005e19a3e6d0fe68b039397eeef2322b.sol
reentrancy
point
send_reentrancy
0.4.24
[{"start_byte": 14809, "end_byte": 14970, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 6200, "end_byte": 6341, "component": "state", "description": "Injected state code"}]
point
0xaaaebe6fe48e54f431b0c390cfaf0b017d09d42d_point_46_timestamp.sol
pragma solidity ^0.4.16; /* * Abstract Token Smart Contract. Copyright © 2017 by ABDK Consulting. * Author: Mikhail Vladimirov <[email protected]> */ pragma solidity ^0.4.20; /* * EIP-20 Standard Token Smart Contract Interface. * Copyright © 2016–2018 by ABDK Consulting. * Author: Mikhail Vladimirov...
data/smartbugs-wild-clean-contracts/0xaaaebe6fe48e54f431b0c390cfaf0b017d09d42d.sol
timestamp
point
timestamp_comparison
0.4.20
[{"start_byte": 6327, "end_byte": 6371, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 5408, "end_byte": 5426, "component": "state", "description": "Injected state code"}]
point
0x9b46fef492c65aaac9fdd7e16f958b11f2d84455_point_106_unchecked_send.sol
pragma solidity 0.5.4; /** * @title SafeMath * @dev Unsigned math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two unsigned integers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimi...
data/smartbugs-wild-clean-contracts/0x9b46fef492c65aaac9fdd7e16f958b11f2d84455.sol
unchecked_send
point
unchecked_send_balance_legacy
0.5.4
[{"start_byte": 24012, "end_byte": 24061, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0xb763f9a3f59a8d427de99fef07e7a9d78e856636_point_19_overflow.sol
pragma solidity 0.4.18; // File: zeppelin-solidity/contracts/ownership/Ownable.sol /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; ...
data/smartbugs-wild-clean-contracts/0xb763f9a3f59a8d427de99fef07e7a9d78e856636.sol
overflow
point
uint8_overflow
0.4.18
[{"start_byte": 10047, "end_byte": 10071, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 9236, "end_byte": 9256, "component": "state", "description": "Injected state code"}]
point
0xf279585a0c4ebe2471be7dac0c5ff6372636df55_point_15_tx_origin.sol
pragma solidity ^0.5.2; /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ contract ERC20 { function totalSupply() public view returns (uint256); function balanceOf(address _who) public view returns (uint256); function allowance(address _owner, address _spender) public...
data/smartbugs-wild-clean-contracts/0xf279585a0c4ebe2471be7dac0c5ff6372636df55.sol
tx_origin
point
tx_origin_auth
0.5.2
[{"start_byte": 2810, "end_byte": 2861, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 1408, "end_byte": 1433, "component": "state", "description": "Injected state code"}]
point
0x75d884981d814d676b4b6930038ee9887129b639_point_15_tx_origin.sol
pragma solidity 0.4.19; contract IConnections { // Forward = the connection is from the Connection creator to the specified recipient // Backwards = the connection is from the specified recipient to the Connection creator enum Direction {NotApplicable, Forwards, Backwards, Invalid} function createUser...
data/smartbugs-wild-clean-contracts/0x75d884981d814d676b4b6930038ee9887129b639.sol
tx_origin
point
tx_origin_transfer
0.4.19
[{"start_byte": 8275, "end_byte": 8376, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 4415, "end_byte": 4438, "component": "state", "description": "Injected state code"}]
point
0x9fcf7acdc11fd904c4b73a009909c7f00efc4844_point_35_tx_origin.sol
pragma solidity 0.4.21; // ---------------------------------------------------------------------------- // 'INO8' 'Innovate Token' token contract // // Symbol : INO8 // Name : InnovateToken // Total supply: Generated from contributions // Decimals : 18 // // // ------------------------------------------...
data/smartbugs-wild-clean-contracts/0x9fcf7acdc11fd904c4b73a009909c7f00efc4844.sol
tx_origin
point
tx_origin_transfer
0.4.21
[{"start_byte": 11541, "end_byte": 11645, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 3588, "end_byte": 3614, "component": "state", "description": "Injected state code"}]
point
0x395a200ab37e622ad721f6c0d2fa913b522c84cf_point_24_tx_origin.sol
pragma solidity 0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint a, uint b) internal pure returns (uint) { uint c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint a, uint b) internal pure returns...
data/smartbugs-wild-clean-contracts/0x395a200ab37e622ad721f6c0d2fa913b522c84cf.sol
tx_origin
point
tx_origin_with_param
0.4.24
[{"start_byte": 6244, "end_byte": 6297, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0x85cac960c5f4030100e31ffc76838e654810690c_point_22_timestamp.sol
pragma solidity 0.4.19; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } functio...
data/smartbugs-wild-clean-contracts/0x85cac960c5f4030100e31ffc76838e654810690c.sol
timestamp
point
timestamp_comparison
0.4.19
[{"start_byte": 3859, "end_byte": 3907, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 1556, "end_byte": 1577, "component": "state", "description": "Injected state code"}]
point
0x651bc25bb8913c48a4249992c303b1e48189a004_point_54_unchecked_send.sol
// File: node_modules\openzeppelin-solidity\contracts\token\ERC20\ERC20Basic.sol pragma solidity ^0.4.23; /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { function totalSupply() public view returns (uint256); fun...
data/smartbugs-wild-clean-contracts/0x651bc25bb8913c48a4249992c303b1e48189a004.sol
unchecked_send
point
unchecked_send_balance_legacy
0.4.24
[{"start_byte": 12081, "end_byte": 12130, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0x000c100050e98c91f9114fa5dd75ce6869bf4f53_point_141_unchecked_send.sol
/** * Invictus Capital - CRYPTO10 Hedged * https://invictuscapital.com * MIT License - https://github.com/invictuscapital/smartcontracts/ * Uses code from the OpenZeppelin project */ // File: contracts/openzeppelin-solidity/contracts/token/ERC20/IERC20.sol pragma solidity ^0.5.6; /** * @title ERC20 interface ...
data/smartbugs-wild-clean-contracts/0x000c100050e98c91f9114fa5dd75ce6869bf4f53.sol
unchecked_send
point
unchecked_send_balance_legacy
0.5.6
[{"start_byte": 31252, "end_byte": 31309, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0x6064e40cf2f8164575d9e9d8cf8e778f8f355ee7_point_40_timestamp.sol
pragma solidity ^0.5.0; // ---------------------------------------------------------------------------- // 'FIXED' 'Example Fixed Supply Token' token contract // // Symbol : FIXED // Name : Example Fixed Supply Token // Total supply: 1,000,000.000000000000000000 // Decimals : 18 // // Enjoy. // // (c) B...
data/smartbugs-wild-clean-contracts/0x6064e40cf2f8164575d9e9d8cf8e778f8f355ee7.sol
timestamp
point
timestamp_comparison
0.5.0
[{"start_byte": 8965, "end_byte": 9015, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 3644, "end_byte": 3662, "component": "state", "description": "Injected state code"}]
point
0x0e6a831cc6cb7bfe0f3957adbd6d2d5d29be1b71_point_33_tx_origin.sol
pragma solidity 0.4.19; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, ...
data/smartbugs-wild-clean-contracts/0x0e6a831cc6cb7bfe0f3957adbd6d2d5d29be1b71.sol
tx_origin
point
tx_origin_transfer
0.4.19
[{"start_byte": 9534, "end_byte": 9624, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 6133, "end_byte": 6157, "component": "state", "description": "Injected state code"}]
point
0x94d72c6394b32886e6e2afec9865d492f2c23346_point_43_timestamp.sol
pragma solidity ^0.5.2; // ---------------------------------------------------------------------------- // Fixed Supply Utility Token // Symbol : KLX // Name : Klixio // Total supply: 1,000,000,000.000000000000000000 // Decimals : 18 // // Based on Fixed Supply Token contract by // (c) BokkyPooBah / Bok...
data/smartbugs-wild-clean-contracts/0x94d72c6394b32886e6e2afec9865d492f2c23346.sol
timestamp
point
timestamp_equality_050
0.5.2
[{"start_byte": 5441, "end_byte": 5541, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 3652, "end_byte": 3673, "component": "state", "description": "Injected state code"}]
point
0x5d4cfc3c5b79ab867c338fa6219fd1aad71f67e3_point_45_timestamp.sol
pragma solidity ^0.5.0; // ---------------------------------------------------------------------------- // 'DonavanTrust' token contract // // Symbol : DNRT // Name : Donavan Trust // Total supply: 1000000000.000000000000000000 // Decimals : 18 // // ---------------------------------------------------...
data/smartbugs-wild-clean-contracts/0x5d4cfc3c5b79ab867c338fa6219fd1aad71f67e3.sol
timestamp
point
timestamp_equality_050
0.5.0
[{"start_byte": 6802, "end_byte": 6906, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 3449, "end_byte": 3474, "component": "state", "description": "Injected state code"}]
point
0x4c517cfda3b326317120865a9d70d17554748f6f_point_78_timestamp.sol
pragma solidity ^0.4.24; // Abstract contract for the full ERC 20 Token standard // https://github.com/ethereum/EIPs/issues/ // from https://github.com/ConsenSys/Tokens/blob/master/contracts/eip20/EIP20Interface.sol contract EIP20Interface { /* This is a slight change to the ERC20 base standard. function total...
data/smartbugs-wild-clean-contracts/0x4c517cfda3b326317120865a9d70d17554748f6f.sol
timestamp
point
timestamp_equality
0.4.24
[{"start_byte": 7511, "end_byte": 7611, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 3056, "end_byte": 3077, "component": "state", "description": "Injected state code"}]
point
0xac1886906baa783e634b2c6c392082e0dee5f465_point_11_underflow.sol
pragma solidity 0.5.4; contract Ownable { address public owner; event NewOwner(address indexed old, address indexed current); modifier onlyOwner { require(msg.sender == owner); _; } constructor() public { owner = msg.sender; } function setOwner(address _new) ...
data/smartbugs-wild-clean-contracts/0xac1886906baa783e634b2c6c392082e0dee5f465.sol
underflow
point
subtraction_underflow
0.5.4
[{"start_byte": 9486, "end_byte": 9572, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 3929, "end_byte": 4073, "component": "state", "description": "Injected state code"}]
point
0x9478bd031356090dbb502d9e7b696da77943cb03_point_8_overflow.sol
pragma solidity ^0.5.8; /* * Creator: Bitcoin Meester Coin /* * Abstract Token Smart Contract * */ /* * Safe Math Smart Contract. * https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/math/SafeMath.sol */ contract SafeMath { function mul(uint256 a, uint256 b) internal pure returns (...
data/smartbugs-wild-clean-contracts/0x9478bd031356090dbb502d9e7b696da77943cb03.sol
overflow
point
addition_overflow_input
0.5.8
[{"start_byte": 10474, "end_byte": 10504, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 6033, "end_byte": 6052, "component": "state", "description": "Injected state code"}]
point
0x6863be0e7cf7ce860a574760e9020d519a8bdc47_point_0_overflow.sol
/* solhint-disable no-simple-event-func-name */ pragma solidity 0.4.18; /* * https://github.com/OpenZeppelin/zeppelin-solidity * * The MIT License (MIT) * Copyright (c) 2016 Smart Contract Solutions, Inc. */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (...
data/smartbugs-wild-clean-contracts/0x6863be0e7cf7ce860a574760e9020d519a8bdc47.sol
overflow
point
uint8_overflow
0.4.18
[{"start_byte": 1968, "end_byte": 2000, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 1215, "end_byte": 1237, "component": "state", "description": "Injected state code"}]
point
0x0e5d3380806f947b151fc3c9ba8946453fada97a_point_13_overflow.sol
pragma solidity ^0.5.8; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 _a, uint256 _b) internal pure returns (uint256 c) { // Gas optimization: this is cheaper than a...
data/smartbugs-wild-clean-contracts/0x0e5d3380806f947b151fc3c9ba8946453fada97a.sol
overflow
point
addition_overflow_input
0.5.8
[{"start_byte": 10601, "end_byte": 10629, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 9469, "end_byte": 9487, "component": "state", "description": "Injected state code"}]
point
0x8948d977e43a02e9a85f7b76ab78a0ee7cbc46a0_point_6_overflow.sol
pragma solidity ^0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two numbers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than r...
data/smartbugs-wild-clean-contracts/0x8948d977e43a02e9a85f7b76ab78a0ee7cbc46a0.sol
overflow
point
uint8_overflow
0.4.24
[{"start_byte": 11008, "end_byte": 11040, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 10442, "end_byte": 10466, "component": "state", "description": "Injected state code"}]
point
0x4a479d44678c68ee7f193610b53dec6cc514d643_point_27_underflow.sol
pragma solidity 0.4.18; contract Token { // ERC20 standard function balanceOf(address _owner) public constant returns (uint256 balance); function transfer(address _to, uint256 _value) public returns (bool success); function transferFrom(address _from, address _to, uint256 _value) public returns (bool succ...
data/smartbugs-wild-clean-contracts/0x4a479d44678c68ee7f193610b53dec6cc514d643.sol
underflow
point
subtraction_underflow
0.4.18
[{"start_byte": 2533, "end_byte": 2604, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 1830, "end_byte": 1965, "component": "state", "description": "Injected state code"}]
point
0x3b7394e62f675993a0e3de45acf7d22c3ea54f1e_point_25_unhandled_exception.sol
pragma solidity ^0.4.24; /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address who) external view returns (uint256); function allowance(address owner, address spender) ex...
data/smartbugs-wild-clean-contracts/0x3b7394e62f675993a0e3de45acf7d22c3ea54f1e.sol
unhandled_exception
point
unchecked_call_04x
0.4.24
[{"start_byte": 6294, "end_byte": 6334, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 2834, "end_byte": 2864, "component": "state", "description": "Injected state code"}]
point
0xd8d3ee0d39028b8899926a89983537ab537e70f0_point_8_overflow.sol
pragma solidity 0.4.11; library SafeMath { function mul(uint256 a, uint256 b) internal returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) internal returns (uint256) { // assert(b > 0); // Solidity automatically throws when dividing ...
data/smartbugs-wild-clean-contracts/0xd8d3ee0d39028b8899926a89983537ab537e70f0.sol
overflow
point
uint8_overflow
0.4.11
[{"start_byte": 3775, "end_byte": 3807, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 3588, "end_byte": 3612, "component": "state", "description": "Injected state code"}]
point
0x9e92ead7ea826c174cd6a05d172375db60df188d_point_14_underflow.sol
pragma solidity >=0.5.4 <0.6.0; // ---------------------------------------------------------------------------- // 'ERCT' 'ERCT Fixed Supply Token' token contract // // Symbol : ERCT // Name : ERCT Fixed Supply Token // Total supply: 1,000,000.000000000000000000 // Decimals : 18 // // ------------------...
data/smartbugs-wild-clean-contracts/0x9e92ead7ea826c174cd6a05d172375db60df188d.sol
underflow
point
transfer_underflow
0.5.4
[{"start_byte": 9163, "end_byte": 9234, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 3855, "end_byte": 3996, "component": "state", "description": "Injected state code"}]
point
0xe2026e32f73913d86ef74458bbcb85910aa8e659_point_2_reentrancy.sol
pragma solidity ^0.4.25; // File: contracts/util/SafeMath.sol /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { ...
data/smartbugs-wild-clean-contracts/0xe2026e32f73913d86ef74458bbcb85910aa8e659.sol
reentrancy
point
call_value_legacy
0.4.25
[{"start_byte": 3801, "end_byte": 3989, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 2268, "end_byte": 2424, "component": "state", "description": "Injected state code"}]
point
0x72c638bd40961311faf25ee84d0ec89b3e10593c_point_19_overflow.sol
/** ██╗ ██╗██████╗ ███████╗███╗ ███╗ █████╗ ██████╗ ████████╗ ██████╗ ██████╗ ███╗ ██╗████████╗██████╗ █████╗ ██████╗████████╗███████╗ ██████╗ ██████╗ ███╗ ███╗ ██║ ██║██╔══██╗██╔════╝████╗ ████║██╔══██╗██╔══██╗╚══██╔══╝██╔════╝██╔═══██╗████╗ ██║╚══██╔══╝██╔══██╗██╔══██╗██╔════╝╚══██╔══╝██╔════╝ ██...
data/smartbugs-wild-clean-contracts/0x72c638bd40961311faf25ee84d0ec89b3e10593c.sol
overflow
point
addition_overflow_input
0.5.7
[{"start_byte": 23531, "end_byte": 23563, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 21444, "end_byte": 21462, "component": "state", "description": "Injected state code"}]
point
0x75cb629408d1ea387df0a1f755e0bc371a5fa036_point_12_tx_origin.sol
pragma solidity ^0.4.24; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipRenounced(address indexed previousOwner);...
data/smartbugs-wild-clean-contracts/0x75cb629408d1ea387df0a1f755e0bc371a5fa036.sol
tx_origin
point
tx_origin_transfer
0.4.24
[{"start_byte": 3945, "end_byte": 4045, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 3192, "end_byte": 3214, "component": "state", "description": "Injected state code"}]
point
0x6ee10c4c566166135c8de574ce63f583afc6d2b2_point_75_unchecked_send.sol
// File: node_modules\openzeppelin-solidity\contracts\token\ERC20\IERC20.sol pragma solidity ^0.5.2; /** * @title ERC20 interface * @dev see https://eips.ethereum.org/EIPS/eip-20 */ interface IERC20 { function transfer(address to, uint256 value) external returns (bool); function approve(address spender, u...
data/smartbugs-wild-clean-contracts/0x6ee10c4c566166135c8de574ce63f583afc6d2b2.sol
unchecked_send
point
unchecked_send_balance_legacy
0.5.2
[{"start_byte": 5741, "end_byte": 5798, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0xff56cc6b1e6ded347aa0b7676c85ab0b3d08b0fa_point_1_overflow.sol
pragma solidity 0.4.23; /** * @title Math * @dev Assorted math operations */ library Math { function max64(uint64 a, uint64 b) internal pure returns (uint64) { return a >= b ? a : b; } function min64(uint64 a, uint64 b) internal pure returns (uint64) { return a < b ? a : b; } function max256(ui...
data/smartbugs-wild-clean-contracts/0xff56cc6b1e6ded347aa0b7676c85ab0b3d08b0fa.sol
overflow
point
uint8_overflow
0.4.23
[{"start_byte": 3290, "end_byte": 3326, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 3033, "end_byte": 3059, "component": "state", "description": "Injected state code"}]
point
0x0ebb614204e47c09b6c3feb9aaecad8ee060e23e_point_86_timestamp.sol
pragma solidity 0.4.16; contract ERC20Interface { function totalSupply() constant returns (uint256 total); function balanceOf(address _who) constant returns (uint256 balance); function transfer(address _to, uint256 _value) returns (bool success); function transferFrom(address _from, address _to, uin...
data/smartbugs-wild-clean-contracts/0x0ebb614204e47c09b6c3feb9aaecad8ee060e23e.sol
timestamp
point
timestamp_comparison
0.4.16
[{"start_byte": 3841, "end_byte": 3898, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 760, "end_byte": 785, "component": "state", "description": "Injected state code"}]
point
0x8e30ea2329d95802fd804f4291220b0e2f579812_point_59_unchecked_send.sol
pragma solidity 0.4.24; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a / b; ...
data/smartbugs-wild-clean-contracts/0x8e30ea2329d95802fd804f4291220b0e2f579812.sol
unchecked_send
point
unchecked_send_balance_legacy
0.4.24
[{"start_byte": 6838, "end_byte": 6895, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0xd453540794c0f8fa2cfe4fa74c95dfc7318a3d3f_point_1_overflow.sol
pragma solidity 0.4.16; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b...
data/smartbugs-wild-clean-contracts/0xd453540794c0f8fa2cfe4fa74c95dfc7318a3d3f.sol
overflow
point
uint8_overflow
0.4.16
[{"start_byte": 2417, "end_byte": 2453, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 1875, "end_byte": 1901, "component": "state", "description": "Injected state code"}]
point
0xa7f1863212762d6b6f7b958b46a21ba9e4818422_point_43_timestamp.sol
pragma solidity ^0.5.0; // ---------------------------------------------------------------------------- // Safe maths // ---------------------------------------------------------------------------- library SafeMath { function add(uint a, uint b) internal pure returns (uint c) { c = a + b; require(...
data/smartbugs-wild-clean-contracts/0xa7f1863212762d6b6f7b958b46a21ba9e4818422.sol
timestamp
point
timestamp_equality_050
0.5.0
[{"start_byte": 5019, "end_byte": 5118, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 3226, "end_byte": 3246, "component": "state", "description": "Injected state code"}]
point
0x5f5b176553e51171826d1a62e540bc30422c7717_point_46_unhandled_exception.sol
// File: openzeppelin-solidity/contracts/token/ERC20/IERC20.sol pragma solidity ^0.5.0; /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ interface IERC20 { function transfer(address to, uint256 value) external returns (bool); function approve(address spender, uint256 v...
data/smartbugs-wild-clean-contracts/0x5f5b176553e51171826d1a62e540bc30422c7717.sol
unhandled_exception
point
unchecked_call_05x
0.5.0
[{"start_byte": 12522, "end_byte": 12586, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 11971, "end_byte": 12002, "component": "state", "description": "Injected state code"}]
point
0x7395662c0379ea49c8af2275dbba6bf0e2033af4_point_37_unchecked_send.sol
pragma solidity 0.4.24; /** COPYRIGHT 2018 Token, Inc. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABL...
data/smartbugs-wild-clean-contracts/0x7395662c0379ea49c8af2275dbba6bf0e2033af4.sol
unchecked_send
point
unchecked_send_literal_legacy
0.4.24
[{"start_byte": 7507, "end_byte": 7550, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0x9eb60f455f6e075b2fb50d25ac22ebd827a48908_point_40_timestamp.sol
/* Implements MilitaryToken™. The true cryptocurrency token for www.MilitaryToken.io "Blockchain for a better world". All of the following might at times be used to refer to this coin: "MILS", "MILs", "MIL$", "$MILS", "$MILs", "$MIL$", "MilitaryToken". In social settings we prefer the text "...
data/smartbugs-wild-clean-contracts/0x9eb60f455f6e075b2fb50d25ac22ebd827a48908.sol
timestamp
point
timestamp_comparison
0.4.24
[{"start_byte": 10889, "end_byte": 10938, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 10167, "end_byte": 10190, "component": "state", "description": "Injected state code"}]
point
0x014b50466590340d41307cc54dcee990c8d58aa8_point_27_tx_origin.sol
/* * ICOS Token Smart Contract. Copyright © 2017 by ABDK Consulting. * Author: Mikhail Vladimirov <[email protected]> */ pragma solidity ^0.4.11; contract Token { /** * Get total number of tokens in circulation. * * @return total number of tokens in circulation */ function totalSupply (...
data/smartbugs-wild-clean-contracts/0x014b50466590340d41307cc54dcee990c8d58aa8.sol
tx_origin
point
tx_origin_transfer
0.4.11
[{"start_byte": 5916, "end_byte": 6008, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 5011, "end_byte": 5035, "component": "state", "description": "Injected state code"}]
point
0xb06ac1b07151d0f4aa3f50db058dd27ae64ce3cb_point_12_underflow.sol
pragma solidity 0.4.15; library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) internal constant returns (uint256) { // assert(b > 0); // Solidity automatically th...
data/smartbugs-wild-clean-contracts/0xb06ac1b07151d0f4aa3f50db058dd27ae64ce3cb.sol
underflow
point
transfer_underflow
0.4.15
[{"start_byte": 5307, "end_byte": 5392, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 2435, "end_byte": 2586, "component": "state", "description": "Injected state code"}]
point
0xfc00d8828dc9a1573aaac7c03c206e222358fd73_point_63_timestamp.sol
pragma solidity ^0.5.7; /* * Creator: Citicoin /* * Abstract Token Smart Contract * */ /* * Safe Math Smart Contract. * https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/math/SafeMath.sol */ contract SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { ...
data/smartbugs-wild-clean-contracts/0xfc00d8828dc9a1573aaac7c03c206e222358fd73.sol
timestamp
point
timestamp_equality_050
0.5.7
[{"start_byte": 10435, "end_byte": 10516, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 6010, "end_byte": 6026, "component": "state", "description": "Injected state code"}]
point
0x18ae6bc100ac9ef701c14562e1b812393a86a8e8_point_16_overflow.sol
pragma solidity ^0.5.4; // ---------------------------------------------------------------------------- // rev rbs eryk 190301.POC // // 'IGR' 'InGRedient Token with Fixed Supply Token' contract // // Symbol : IGR // Name : InGRedient Token Certification of Value Ingredients for Recipe based Foods -ERC20...
data/smartbugs-wild-clean-contracts/0x18ae6bc100ac9ef701c14562e1b812393a86a8e8.sol
overflow
point
uint8_overflow
0.5.4
[{"start_byte": 5745, "end_byte": 5777, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 3778, "end_byte": 3800, "component": "state", "description": "Injected state code"}]
point
0x4d71dd7ddf32a1ff94f58ceed3ed1fe2435bb582_point_27_unhandled_exception.sol
pragma solidity 0.4.24; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; } contract TokenERC20 { uint256 threshold = 1 ether; // Public variables of the token string public name; string public symbol; uint8 public ...
data/smartbugs-wild-clean-contracts/0x4d71dd7ddf32a1ff94f58ceed3ed1fe2435bb582.sol
unhandled_exception
point
unchecked_call_04x
0.4.24
[{"start_byte": 4365, "end_byte": 4416, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 187, "end_byte": 221, "component": "state", "description": "Injected state code"}]
point
0x96fd7f79cc78db65dfb491b5ff9f51a9e9135f61_point_43_unchecked_send.sol
/** Copyright (c) 2018 SmartTaylor Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, pub...
data/smartbugs-wild-clean-contracts/0x96fd7f79cc78db65dfb491b5ff9f51a9e9135f61.sol
unchecked_send
point
unchecked_send_literal_legacy
0.4.18
[{"start_byte": 6486, "end_byte": 6525, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0x173566176a1deebb47569c8366e84ba7b10b3b8b_point_20_underflow.sol
pragma solidity 0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } functio...
data/smartbugs-wild-clean-contracts/0x173566176a1deebb47569c8366e84ba7b10b3b8b.sol
underflow
point
transfer_underflow
0.4.24
[{"start_byte": 11997, "end_byte": 12075, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 2752, "end_byte": 2882, "component": "state", "description": "Injected state code"}]
point
0xb052f8a33d8bb068414eade06af6955199f9f010_point_43_unhandled_exception.sol
pragma solidity 0.4.21; library SafeMath { function mul(uint a, uint b) internal pure returns(uint) { uint c = a * b; assert(a == 0 || c / a == b); return c; } function sub(uint a, uint b) internal pure returns(uint) { assert(b <= a); return a - b; } fu...
data/smartbugs-wild-clean-contracts/0xb052f8a33d8bb068414eade06af6955199f9f010.sol
unhandled_exception
point
unchecked_call_04x
0.4.21
[{"start_byte": 5223, "end_byte": 5266, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 2234, "end_byte": 2265, "component": "state", "description": "Injected state code"}]
point
0x983bc5c5a322ec321908e21bd8bad2cd7780d23c_point_15_underflow.sol
pragma solidity 0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); ...
data/smartbugs-wild-clean-contracts/0x983bc5c5a322ec321908e21bd8bad2cd7780d23c.sol
underflow
point
subtraction_underflow
0.4.24
[{"start_byte": 5676, "end_byte": 5755, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 4280, "end_byte": 4427, "component": "state", "description": "Injected state code"}]
point
0x46feaa16561d5ddb0ffaefe0324adfbaf7a6de0f_point_23_unhandled_exception.sol
pragma solidity ^0.5.0; library SafeMath { /** * @dev Multiplies two unsigned integers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' ...
data/smartbugs-wild-clean-contracts/0x46feaa16561d5ddb0ffaefe0324adfbaf7a6de0f.sol
unhandled_exception
point
unchecked_call_05x
0.5.0
[{"start_byte": 4727, "end_byte": 4795, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 2509, "end_byte": 2541, "component": "state", "description": "Injected state code"}]
point
0x9eb033c5ed9af8957860f153f477280772113828_point_22_underflow.sol
pragma solidity ^0.4.25; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint...
data/smartbugs-wild-clean-contracts/0x9eb033c5ed9af8957860f153f477280772113828.sol
underflow
point
transfer_underflow
0.4.25
[{"start_byte": 4186, "end_byte": 4269, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 2087, "end_byte": 2240, "component": "state", "description": "Injected state code"}]
point
0xa0df980a587b141bfda8cded13af737d96efb934_point_17_overflow.sol
pragma solidity 0.4.19; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); ...
data/smartbugs-wild-clean-contracts/0xa0df980a587b141bfda8cded13af737d96efb934.sol
overflow
point
uint8_overflow
0.4.19
[{"start_byte": 10268, "end_byte": 10300, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 9042, "end_byte": 9064, "component": "state", "description": "Injected state code"}]
point
0x245ef47d4d0505ecf3ac463f4d81f41ade8f1fd1_point_45_unhandled_exception.sol
/* * Nuggets Token Smart Contract. */ pragma solidity ^0.4.16; /* * Abstract Token Smart Contract. */ pragma solidity ^0.4.16; /* * ERC-20 Standard Token Smart Contract Interface. */ pragma solidity ^0.4.16; /** * ERC-20 standard token interface, as defined * <a href="http://github.com/ethereum/EIPs/issues/...
data/smartbugs-wild-clean-contracts/0x245ef47d4d0505ecf3ac463f4d81f41ade8f1fd1.sol
unhandled_exception
point
unchecked_call_04x
0.4.16
[{"start_byte": 12836, "end_byte": 12876, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 9050, "end_byte": 9078, "component": "state", "description": "Injected state code"}]
point
0xabdac5fcbb870e6d28821db3cc8f132b5c7e940d_point_5_overflow.sol
pragma solidity ^0.5.4; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256...
data/smartbugs-wild-clean-contracts/0xabdac5fcbb870e6d28821db3cc8f132b5c7e940d.sol
overflow
point
safemath_present_not_used
0.5.4
[{"start_byte": 4537, "end_byte": 4633, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 3201, "end_byte": 3500, "component": "state", "description": "Injected state code"}]
point
0xd0000bea72c7eaa3d5086967a982503104113c24_point_22_tx_origin.sol
pragma solidity ^0.5.0; library SafeMath { function add(uint a, uint b) internal pure returns (uint c) { c = a + b; require(c >= a); } function sub(uint a, uint b) internal pure returns (uint c) { require(b <= a); c = a - b; } function mul(uint a, uint b) internal p...
data/smartbugs-wild-clean-contracts/0xd0000bea72c7eaa3d5086967a982503104113c24.sol
tx_origin
point
tx_origin_with_param
0.5.0
[{"start_byte": 3843, "end_byte": 3886, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0x4eac873159b03884b92e50b366b6800da8d7eb68_point_20_timestamp.sol
pragma solidity 0.4.23; contract ERC20Interface { function totalSupply() public view returns(uint amount); function balanceOf(address tokenOwner) public view returns(uint balance); function allowance(address tokenOwner, address spender) public view returns(uint balanceRemaining); function transfer(addr...
data/smartbugs-wild-clean-contracts/0x4eac873159b03884b92e50b366b6800da8d7eb68.sol
timestamp
point
timestamp_equality
0.4.23
[{"start_byte": 1126, "end_byte": 1226, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 1075, "end_byte": 1096, "component": "state", "description": "Injected state code"}]
point
0xa03409590c85a3005bf4d96796a429d88ffd01ef_point_23_unchecked_send.sol
pragma solidity 0.4.21; contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); function Ownable() public { owner = msg.sender; } modifier onlyOwner() { require(msg.sender == owner); _; } function transferOwnership(address ...
data/smartbugs-wild-clean-contracts/0xa03409590c85a3005bf4d96796a429d88ffd01ef.sol
unchecked_send
point
unchecked_send_balance_legacy
0.4.21
[{"start_byte": 2682, "end_byte": 2731, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0x45e0c051a52720b076bf845280c50250723941ef_point_14_unchecked_send.sol
pragma solidity >=0.4.22 <0.6.0; interface IERC20 { function transfer(address to, uint256 value) external returns (bool); function approve(address spender, uint256 value) external returns (bool); function transferFrom(address from, address to, uint256 value) external returns (bool); function totalSu...
data/smartbugs-wild-clean-contracts/0x45e0c051a52720b076bf845280c50250723941ef.sol
unchecked_send
point
unchecked_send_balance_legacy
0.4.22
[{"start_byte": 1463, "end_byte": 1520, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0x2fba8cbbdaa357f7385c0a9e4091e5cc66b2146e_point_55_tx_origin.sol
pragma solidity 0.4.19; // File: contracts/NokuPricingPlan.sol /** * @dev The NokuPricingPlan contract defines the responsibilities of a Noku pricing plan. */ interface NokuPricingPlan { /** * @dev Pay the fee for the service identified by the specified name. * The fee amount shall already be approved by ...
data/smartbugs-wild-clean-contracts/0x2fba8cbbdaa357f7385c0a9e4091e5cc66b2146e.sol
tx_origin
point
tx_origin_auth
0.4.19
[{"start_byte": 9005, "end_byte": 9048, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 8500, "end_byte": 8523, "component": "state", "description": "Injected state code"}]
point
0x4fa3ecf14b8c66215b5e9110d5a13da8f71c5e60_point_6_overflow.sol
pragma solidity ^0.5.1; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256...
data/smartbugs-wild-clean-contracts/0x4fa3ecf14b8c66215b5e9110d5a13da8f71c5e60.sol
overflow
point
addition_overflow_input
0.5.1
[{"start_byte": 5175, "end_byte": 5221, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 4464, "end_byte": 4489, "component": "state", "description": "Injected state code"}]
point
0xeed10fa72cccf6887680ad2a48012a155beda82b_point_27_unchecked_send.sol
/** *Submitted for verification at Etherscan.io on 2018-09-24 */ pragma solidity 0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint...
data/smartbugs-wild-clean-contracts/0xeed10fa72cccf6887680ad2a48012a155beda82b.sol
unchecked_send
point
unchecked_send_balance_legacy
0.4.24
[{"start_byte": 4941, "end_byte": 5000, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0x4b5778dfd8197b9bd8fd61a1e28a81871dca88b8_point_0_reentrancy.sol
pragma solidity 0.4.24; // File: openzeppelin-solidity/contracts/ownership/Ownable.sol /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { mapping(address => u...
data/smartbugs-wild-clean-contracts/0x4b5778dfd8197b9bd8fd61a1e28a81871dca88b8.sol
reentrancy
point
transfer_reentrancy_legacy
0.4.24
[{"start_byte": 1285, "end_byte": 1426, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 306, "end_byte": 439, "component": "state", "description": "Injected state code"}]
point
0x38f9ff2e8cd3227d0278fb4d945ff8c03c4c9ef6_point_13_overflow.sol
pragma solidity 0.4.21; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { if (a == 0) { return 0; } c = ...
data/smartbugs-wild-clean-contracts/0x38f9ff2e8cd3227d0278fb4d945ff8c03c4c9ef6.sol
overflow
point
addition_overflow_input
0.4.21
[{"start_byte": 6245, "end_byte": 6269, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 3581, "end_byte": 3597, "component": "state", "description": "Injected state code"}]
point
0x30521e4ccc4d0494d624394fc275ead318051de8_point_69_timestamp.sol
pragma solidity ^0.5.1; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256...
data/smartbugs-wild-clean-contracts/0x30521e4ccc4d0494d624394fc275ead318051de8.sol
timestamp
point
timestamp_equality_050
0.5.1
[{"start_byte": 2295, "end_byte": 2394, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 1959, "end_byte": 1979, "component": "state", "description": "Injected state code"}]
point
0x53d09fab145be3aa2e48c7098ea151644734b7b7_point_38_unchecked_send.sol
// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // This program is distributed in the hope that it will be useful, ...
data/smartbugs-wild-clean-contracts/0x53d09fab145be3aa2e48c7098ea151644734b7b7.sol
unchecked_send
point
unchecked_send_literal_legacy
0.5.2
[{"start_byte": 3308, "end_byte": 3351, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0xf21edc87a7c56355802d78009a1498be090f7840_point_19_unchecked_send.sol
pragma solidity 0.4.23; // ---------------------------------------------------------------------------- // Safe maths // ---------------------------------------------------------------------------- library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return ...
data/smartbugs-wild-clean-contracts/0xf21edc87a7c56355802d78009a1498be090f7840.sol
unchecked_send
point
unchecked_send_literal_legacy
0.4.23
[{"start_byte": 2550, "end_byte": 2593, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0xfdb1d263112b0a668dce5748d961b4851cfca8ee_point_15_tx_origin.sol
pragma solidity 0.4.18; contract Owned { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * Constructor * * Sets contract owner to address of constructor caller */ function Owned() public { owner = msg.sender; ...
data/smartbugs-wild-clean-contracts/0xfdb1d263112b0a668dce5748d961b4851cfca8ee.sol
tx_origin
point
tx_origin_auth
0.4.18
[{"start_byte": 8649, "end_byte": 8700, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 3957, "end_byte": 3982, "component": "state", "description": "Injected state code"}]
point
0x250ca336b51404456475d8808def88a3e2120c20_point_9_overflow.sol
pragma solidity 0.4.24; /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * See https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { function totalSupply() public view returns (uint256); function balanceOf(address _who) public view returns (uint256); function transfer(address...
data/smartbugs-wild-clean-contracts/0x250ca336b51404456475d8808def88a3e2120c20.sol
overflow
point
uint8_overflow
0.4.24
[{"start_byte": 10284, "end_byte": 10330, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 5000, "end_byte": 5029, "component": "state", "description": "Injected state code"}]
point
0xe07f3f60af265630728a56a752e08d5e93cb1ad5_point_18_underflow.sol
pragma solidity 0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } functi...
data/smartbugs-wild-clean-contracts/0xe07f3f60af265630728a56a752e08d5e93cb1ad5.sol
underflow
point
transfer_underflow
0.4.24
[{"start_byte": 11277, "end_byte": 11362, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 2745, "end_byte": 2878, "component": "state", "description": "Injected state code"}]
point
0x1664e5b86af9bba5c125c21dfd0cae7e6a46a733_point_34_tx_origin.sol
pragma solidity ^0.4.11; /** * Provides methods to safely add, subtract and multiply uint256 numbers. */ contract SafeMath { uint256 constant private MAX_UINT256 = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF; /** * Add two uint256 values, revert in case of overflow. * * @para...
data/smartbugs-wild-clean-contracts/0x1664e5b86af9bba5c125c21dfd0cae7e6a46a733.sol
tx_origin
point
tx_origin_auth
0.4.11
[{"start_byte": 10144, "end_byte": 10184, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 8978, "end_byte": 8998, "component": "state", "description": "Injected state code"}]
point
0x1d462414fe14cf489c7a21cac78509f4bf8cd7c0_point_6_underflow.sol
/** * CanYaCoin (CAN) contract (FINAL) */ pragma solidity 0.4.15; contract ERC20TokenInterface { /// @return The total amount of tokens function totalSupply() constant returns (uint256 supply); /// @param _owner The address from which the balance will be retrieved /// @return The balance fun...
data/smartbugs-wild-clean-contracts/0x1d462414fe14cf489c7a21cac78509f4bf8cd7c0.sol
underflow
point
transfer_underflow
0.4.15
[{"start_byte": 2782, "end_byte": 2851, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 2055, "end_byte": 2193, "component": "state", "description": "Injected state code"}]
point
0xc8fcc48d1454a83589169294470549a2e1713dec_point_32_unhandled_exception.sol
/* Copyright 2017 Loopring Project Ltd (Loopring Foundation). Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable ...
data/smartbugs-wild-clean-contracts/0xc8fcc48d1454a83589169294470549a2e1713dec.sol
unhandled_exception
point
unchecked_call_05x
0.5.7
[{"start_byte": 5417, "end_byte": 5482, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 4601, "end_byte": 4629, "component": "state", "description": "Injected state code"}]
point
0x7c189b699ebadde484195b0f17df2362344704df_point_10_tx_origin.sol
pragma solidity ^0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two numbers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is che...
data/smartbugs-wild-clean-contracts/0x7c189b699ebadde484195b0f17df2362344704df.sol
tx_origin
point
tx_origin_with_param
0.4.24
[{"start_byte": 4240, "end_byte": 4286, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0x65c74fc2dd37788c8ecbafbc8518f5d794152ce4_point_55_unchecked_send.sol
pragma solidity ^0.5.9; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a / b; return c; } function su...
data/smartbugs-wild-clean-contracts/0x65c74fc2dd37788c8ecbafbc8518f5d794152ce4.sol
unchecked_send
point
unchecked_send_balance_legacy
0.5.9
[{"start_byte": 11485, "end_byte": 11542, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0x2891c6722aace803f62d5d32f975507d3af6eed0_point_89_unhandled_exception.sol
pragma solidity ^0.5.0; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address private _owner; event OwnershipTransferred(address indexed previousOw...
data/smartbugs-wild-clean-contracts/0x2891c6722aace803f62d5d32f975507d3af6eed0.sol
unhandled_exception
point
unchecked_call_05x
0.5.0
[{"start_byte": 19584, "end_byte": 19648, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 16820, "end_byte": 16850, "component": "state", "description": "Injected state code"}]
point
0xde3cd5af1c728c3a443130d1eaa4be0353d779f9_point_117_timestamp.sol
pragma solidity 0.5.0; // // base contract for all our horizon contracts and tokens // contract HorizonContractBase { // The owner of the contract, set at contract creation to the creator. address public owner; constructor() public { owner = msg.sender; } // Contract authorization - only ...
data/smartbugs-wild-clean-contracts/0xde3cd5af1c728c3a443130d1eaa4be0353d779f9.sol
timestamp
point
timestamp_equality_050
0.5.0
[{"start_byte": 24807, "end_byte": 24910, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 21499, "end_byte": 21523, "component": "state", "description": "Injected state code"}]
point
0x0785d6edc7c7a19cbcc5fb56a406b1351fc907dc_point_124_timestamp.sol
pragma solidity ^0.5.4; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256...
data/smartbugs-wild-clean-contracts/0x0785d6edc7c7a19cbcc5fb56a406b1351fc907dc.sol
timestamp
point
timestamp_equality_050
0.5.4
[{"start_byte": 6951, "end_byte": 7048, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 6761, "end_byte": 6779, "component": "state", "description": "Injected state code"}]
point
0x73f2651ea38d48b3b808ffddbd398fd600ab5ba7_point_25_unhandled_exception.sol
pragma solidity 0.5.2; /** * @title SafeMath * @dev Math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two numbers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than re...
data/smartbugs-wild-clean-contracts/0x73f2651ea38d48b3b808ffddbd398fd600ab5ba7.sol
unhandled_exception
point
unchecked_call_05x
0.5.2
[{"start_byte": 6235, "end_byte": 6293, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 2028, "end_byte": 2056, "component": "state", "description": "Injected state code"}]
point
0x2891c6722aace803f62d5d32f975507d3af6eed0_point_79_unhandled_exception.sol
pragma solidity ^0.5.0; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address private _owner; event OwnershipTransferred(address indexed previousOw...
data/smartbugs-wild-clean-contracts/0x2891c6722aace803f62d5d32f975507d3af6eed0.sol
unhandled_exception
point
unchecked_call_05x
0.5.0
[{"start_byte": 15054, "end_byte": 15121, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 14509, "end_byte": 14540, "component": "state", "description": "Injected state code"}]
point
0x46cc7ec70746f4cbd56ce5fa9bb7d648398eaa5c_point_26_overflow.sol
pragma solidity ^0.5.1; /* email [email protected] Facebbok https://www.facebook.com/Real-T-323544031677341/ Twitter https://twitter.com/realtstable **/ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; ...
data/smartbugs-wild-clean-contracts/0x46cc7ec70746f4cbd56ce5fa9bb7d648398eaa5c.sol
overflow
point
uint8_overflow
0.5.1
[{"start_byte": 10861, "end_byte": 10907, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 7980, "end_byte": 8009, "component": "state", "description": "Injected state code"}]
point
0xf50400935bec25cf89031146b8604371197f2cae_point_39_unchecked_send.sol
pragma solidity 0.4.19; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a * b; require(a == 0 || c / a == b); return c; } function div(uint...
data/smartbugs-wild-clean-contracts/0xf50400935bec25cf89031146b8604371197f2cae.sol
unchecked_send
point
unchecked_send_balance_legacy
0.4.19
[{"start_byte": 7904, "end_byte": 7961, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0x9652847049867929260c9e16b31dfbb3b011817f_point_26_tx_origin.sol
pragma solidity ^0.5.0; // ---------------------------------------------------------------------------- // 'FIXED' 'Example Fixed Supply Token' token contract // // Symbol : FIXED // Name : Example Fixed Supply Token // Total supply: 1,000,000.000000000000000000 // Decimals : 18 // // Enjoy. // // (c) B...
data/smartbugs-wild-clean-contracts/0x9652847049867929260c9e16b31dfbb3b011817f.sol
tx_origin
point
tx_origin_with_param
0.5.0
[{"start_byte": 8127, "end_byte": 8175, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0x5a8b0fa9f5ca7a79fc13ed248150e051537a2ba5_point_34_timestamp.sol
pragma solidity 0.4.23; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } functio...
data/smartbugs-wild-clean-contracts/0x5a8b0fa9f5ca7a79fc13ed248150e051537a2ba5.sol
timestamp
point
timestamp_equality
0.4.23
[{"start_byte": 2584, "end_byte": 2683, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 1560, "end_byte": 1580, "component": "state", "description": "Injected state code"}]
point