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
0xe5a5f138005e19a3e6d0fe68b039397eeef2322b_point_62_timestamp.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
timestamp
point
timestamp_comparison
0.4.24
[{"start_byte": 11581, "end_byte": 11638, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 6200, "end_byte": 6225, "component": "state", "description": "Injected state code"}]
point
0x31efeb0296487dc6af9b3be1dd8588e69cfda4e9_point_11_tx_origin.sol
pragma solidity 0.4.18; /* Author: Patrick Guay @ Vanbex and Etherparty patrick@vanbex.com */ /** * @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 { add...
data/smartbugs-wild-clean-contracts/0x31efeb0296487dc6af9b3be1dd8588e69cfda4e9.sol
tx_origin
point
tx_origin_transfer
0.4.18
[{"start_byte": 3073, "end_byte": 3173, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 1180, "end_byte": 1202, "component": "state", "description": "Injected state code"}]
point
0x27525a26a2fc5bec00e1bf82a73abebcd91c4a42_point_20_tx_origin.sol
pragma solidity 0.4.24; // File: zeppelin-solidity/contracts/token/ERC20/ERC20Basic.sol /** * @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...
data/smartbugs-wild-clean-contracts/0x27525a26a2fc5bec00e1bf82a73abebcd91c4a42.sol
tx_origin
point
tx_origin_with_param
0.4.24
[{"start_byte": 7706, "end_byte": 7747, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0xb110e378ea8b83dd52d1c5a810a5dcf99bbc96ae_point_74_tx_origin.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
tx_origin
point
tx_origin_transfer
0.4.15
[{"start_byte": 25288, "end_byte": 25387, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 14340, "end_byte": 14361, "component": "state", "description": "Injected state code"}]
point
0x4b6ddb08e3ca085dd52266e7fd8ec91010f6f8b5_point_58_unchecked_send.sol
pragma solidity ^0.5.4; //////////////////////////////////////////////////////////////////////////////// contract SafeMath { function safeMul(uint a, uint b) internal pure returns (uint) { uint c = a * b; assert(a == 0 || c / a == b); return c; } //----------------------------...
data/smartbugs-wild-clean-contracts/0x4b6ddb08e3ca085dd52266e7fd8ec91010f6f8b5.sol
unchecked_send
point
unchecked_send_balance_legacy
0.5.4
[{"start_byte": 8209, "end_byte": 8266, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0x818ebd30145c9d7c697978bf24c905d9e8a194ec_point_14_overflow.sol
pragma solidity 0.4.23; contract PasswordEscrow { uint256 allocation; address public owner; uint256 public commissionFee; uint256 public totalFee; //data struct Transfer { address from; uint256 amount; } mapping(bytes32 => Transfer) private transferToPassword; mapping(address => uint256) ...
data/smartbugs-wild-clean-contracts/0x818ebd30145c9d7c697978bf24c905d9e8a194ec.sol
overflow
point
addition_overflow_input
0.4.23
[{"start_byte": 3844, "end_byte": 3882, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 52, "end_byte": 75, "component": "state", "description": "Injected state code"}]
point
0xc29f013d7745d95c86407b53137a1596072d4b83_point_30_unchecked_send.sol
pragma solidity 0.4.21; /** * @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/0xc29f013d7745d95c86407b53137a1596072d4b83.sol
unchecked_send
point
unchecked_send_balance_legacy
0.4.21
[{"start_byte": 3383, "end_byte": 3432, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0x5585f99a9af13b73a6210ea9c8ca98b69f4a4b31_point_0_overflow.sol
pragma solidity ^0.4.24; // similar as shrimpfarmer, with two changes: // A. half of your plumbers leave when you sell pooh // B. the "free" 100 plumber cost 0.001 eth (in line with the mining fee) // bots should have a harder time contract PlumberCollector{ mapping(address => uint256) amounts; uint256 pub...
data/smartbugs-wild-clean-contracts/0x5585f99a9af13b73a6210ea9c8ca98b69f4a4b31.sol
overflow
point
batch_transfer_overflow
0.4.24
[{"start_byte": 945, "end_byte": 1412, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 270, "end_byte": 312, "component": "state", "description": "Injected state code"}]
point
0x88b0652919467b1e47cd1a1fd676cd1940d2fa69_point_83_unchecked_send.sol
/** * Copyright 2017–2018, bZeroX, LLC. All Rights Reserved. * Licensed under the Apache License, Version 2.0. */ 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. */ ...
data/smartbugs-wild-clean-contracts/0x88b0652919467b1e47cd1a1fd676cd1940d2fa69.sol
unchecked_send
point
unchecked_send_literal_legacy
0.4.24
[{"start_byte": 5329, "end_byte": 5364, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0x39f5be9f4b18830c9bb17cfdb045a4724c3d3b28_point_13_underflow.sol
pragma solidity ^0.5.0; /* * Creator: Mercury token /* * 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/0x39f5be9f4b18830c9bb17cfdb045a4724c3d3b28.sol
underflow
point
subtraction_underflow
0.5.0
[{"start_byte": 4044, "end_byte": 4107, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 1991, "end_byte": 2118, "component": "state", "description": "Injected state code"}]
point
0x4b6ddb08e3ca085dd52266e7fd8ec91010f6f8b5_point_90_unhandled_exception.sol
pragma solidity ^0.5.4; //////////////////////////////////////////////////////////////////////////////// contract SafeMath { function safeMul(uint a, uint b) internal pure returns (uint) { uint c = a * b; assert(a == 0 || c / a == b); return c; } //----------------------------...
data/smartbugs-wild-clean-contracts/0x4b6ddb08e3ca085dd52266e7fd8ec91010f6f8b5.sol
unhandled_exception
point
unchecked_call_05x
0.5.4
[{"start_byte": 12861, "end_byte": 12926, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 5620, "end_byte": 5648, "component": "state", "description": "Injected state code"}]
point
0x685bd934b371f2ee4894225064d937a57fb03974_point_40_unchecked_send.sol
pragma solidity ^0.5.9; /* * Creator: Bossvegas /* * 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/0x685bd934b371f2ee4894225064d937a57fb03974.sol
unchecked_send
point
unchecked_send_literal_legacy
0.5.9
[{"start_byte": 9541, "end_byte": 9576, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0x75f23e7134502c0c0aa081b552d55bc8b654f1ee_point_24_unchecked_send.sol
pragma solidity 0.4.18; /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 val...
data/smartbugs-wild-clean-contracts/0x75f23e7134502c0c0aa081b552d55bc8b654f1ee.sol
unchecked_send
point
unchecked_send_literal_legacy
0.4.18
[{"start_byte": 6821, "end_byte": 6864, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0xabdac5fcbb870e6d28821db3cc8f132b5c7e940d_point_130_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/0xabdac5fcbb870e6d28821db3cc8f132b5c7e940d.sol
timestamp
point
timestamp_equality_050
0.5.4
[{"start_byte": 8721, "end_byte": 8818, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 7810, "end_byte": 7828, "component": "state", "description": "Injected state code"}]
point
0x33c623a2baafeb8d15dfaf3ce44095efec83d72c_point_42_timestamp.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/0x33c623a2baafeb8d15dfaf3ce44095efec83d72c.sol
timestamp
point
timestamp_equality
0.4.19
[{"start_byte": 3730, "end_byte": 3815, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 2795, "end_byte": 2815, "component": "state", "description": "Injected state code"}]
point
0x2d50de5411731843c84232fa7eb807bee7befdf4_point_75_unchecked_send.sol
pragma solidity 0.4.19; /** * @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); function balanceOf(address who) public view returns (uint256); function transfer...
data/smartbugs-wild-clean-contracts/0x2d50de5411731843c84232fa7eb807bee7befdf4.sol
unchecked_send
point
unchecked_send_literal_legacy
0.4.19
[{"start_byte": 10517, "end_byte": 10552, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0xf9d5aa6d3f22a7fec0e931efdcc00362f81df116_point_10_overflow.sol
pragma solidity ^0.4.16; /* * Abstract Token Smart Contract. Copyright © 2017 by ABDK Consulting. * Author: Mikhail Vladimirov <mikhail.vladimirov@gmail.com> */ 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/0xf9d5aa6d3f22a7fec0e931efdcc00362f81df116.sol
overflow
point
uint8_overflow
0.4.20
[{"start_byte": 7166, "end_byte": 7204, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 5408, "end_byte": 5435, "component": "state", "description": "Injected state code"}]
point
0x05bee33962905f710268056d2f2d6373a2369dc9_point_18_overflow.sol
/* xgr_token_db.sol 2.0.0 Rajci 'iFA' Andor @ ifa@fusionwallet.io */ pragma solidity 0.4.18; contract SafeMath { /* Internals */ function safeAdd(uint256 a, uint256 b) internal pure returns(uint256) { if ( b > 0 ) { assert( a + b > a ); } return a + b; }...
data/smartbugs-wild-clean-contracts/0x05bee33962905f710268056d2f2d6373a2369dc9.sol
overflow
point
uint8_overflow
0.4.18
[{"start_byte": 3270, "end_byte": 3306, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 1321, "end_byte": 1345, "component": "state", "description": "Injected state code"}]
point
0xdaf5520a1ba8d71cdb81c69c72d736dab058c602_point_3_overflow.sol
pragma solidity 0.4.15; contract DPIcoWhitelist { mapping(address => uint256) reserves; address admin; bool isOn; mapping ( address => bool ) whitelist; address[] users; modifier signUpOpen() { if ( ! isOn ) revert(); _; } modifier isAdmin() { if ( msg.sender != admin ) revert(); _; ...
data/smartbugs-wild-clean-contracts/0xdaf5520a1ba8d71cdb81c69c72d736dab058c602.sol
overflow
point
batch_transfer_overflow
0.4.15
[{"start_byte": 789, "end_byte": 1216, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 52, "end_byte": 93, "component": "state", "description": "Injected state code"}]
point
0xb22c2786a549b008517b67625f5296e8faf9589e_point_31_timestamp.sol
pragma solidity ^0.5.2; /** * @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 value) external returns (bool); function transferFrom(address...
data/smartbugs-wild-clean-contracts/0xb22c2786a549b008517b67625f5296e8faf9589e.sol
timestamp
point
timestamp_comparison
0.5.2
[{"start_byte": 7884, "end_byte": 7936, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 3284, "end_byte": 3304, "component": "state", "description": "Injected state code"}]
point
0xa9910dbcdaca8adda25b687cb5dce9d31ef37b3e_point_37_unhandled_exception.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/0xa9910dbcdaca8adda25b687cb5dce9d31ef37b3e.sol
unhandled_exception
point
unchecked_call_04x
0.4.21
[{"start_byte": 3155, "end_byte": 3194, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 2514, "end_byte": 2542, "component": "state", "description": "Injected state code"}]
point
0xbeef546ac8a4e0a80dc1e2d696968ef54138f1d4_point_14_tx_origin.sol
pragma solidity 0.4.23; /** * @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/0xbeef546ac8a4e0a80dc1e2d696968ef54138f1d4.sol
tx_origin
point
tx_origin_transfer
0.4.23
[{"start_byte": 1907, "end_byte": 1999, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 1201, "end_byte": 1225, "component": "state", "description": "Injected state code"}]
point
0x1839864616602fee4d5cc7a6448dd257636c9a9a_point_52_timestamp.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/0x1839864616602fee4d5cc7a6448dd257636c9a9a.sol
timestamp
point
timestamp_comparison
0.4.16
[{"start_byte": 13988, "end_byte": 14037, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 9058, "end_byte": 9081, "component": "state", "description": "Injected state code"}]
point
0x684ae11a577080ec13877c6d28ac4f45b7c00966_point_0_overflow.sol
/*! mytilcoinstorage.sol | (c) 2018 Develop by BelovITLab LLC (smartcontract.ru), author @stupidlovejoy | License: MIT */ pragma solidity 0.4.21; contract Ownable { uint8 limit = 255; address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); modifier...
data/smartbugs-wild-clean-contracts/0x684ae11a577080ec13877c6d28ac4f45b7c00966.sol
overflow
point
uint8_overflow
0.4.21
[{"start_byte": 520, "end_byte": 556, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 170, "end_byte": 194, "component": "state", "description": "Injected state code"}]
point
0x75d4f44f7a24f4103f21dbab81d62befa78e2505_point_73_timestamp.sol
pragma solidity ^0.5.4; /* * Creator: SATODI /* * 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/0x75d4f44f7a24f4103f21dbab81d62befa78e2505.sol
timestamp
point
timestamp_comparison
0.5.4
[{"start_byte": 10439, "end_byte": 10487, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 6006, "end_byte": 6028, "component": "state", "description": "Injected state code"}]
point
0x2a77bf0239c625a0319e21607d6e9093a38b6eed_point_20_overflow.sol
pragma solidity ^0.5.1; // Made By Tom - tom@devtooth.com 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;...
data/smartbugs-wild-clean-contracts/0x2a77bf0239c625a0319e21607d6e9093a38b6eed.sol
overflow
point
addition_overflow_input
0.5.1
[{"start_byte": 14486, "end_byte": 14532, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 2220, "end_byte": 2245, "component": "state", "description": "Injected state code"}]
point
0x0364a98148b7031451e79b93449b20090d79702a_point_57_unhandled_exception.sol
pragma solidity ^0.4.17; // ---------------------------------------------------------------------------- // Devery Contracts - The Monolithic Registry // // Deployed to Ropsten Testnet at 0x654f4a3e3B7573D6b4bB7201AB70d718961765CD // // Enjoy. // // (c) BokkyPooBah / Bok Consulting Pty Ltd for Devery 2017. The MIT Lic...
data/smartbugs-wild-clean-contracts/0x0364a98148b7031451e79b93449b20090d79702a.sol
unhandled_exception
point
unchecked_call_04x
0.4.17
[{"start_byte": 2838, "end_byte": 2883, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 2409, "end_byte": 2441, "component": "state", "description": "Injected state code"}]
point
0x28386bcdc913a0f5639c6ae70ff46e7bacbb207d_point_11_unchecked_send.sol
pragma solidity 0.5.1; /** * @dev Standard interface for a dex proxy contract. */ interface Proxy { /** * @dev Executes an action. * @param _target Target of execution. * @param _a Address usually represention from. * @param _b Address usually representing to. * @param _c Integer usually repersenti...
data/smartbugs-wild-clean-contracts/0x28386bcdc913a0f5639c6ae70ff46e7bacbb207d.sol
unchecked_send
point
unchecked_send_literal_legacy
0.5.1
[{"start_byte": 13059, "end_byte": 13094, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0x767d4dae2c06dd73a803445b28a3f7313e64a36a_point_33_unchecked_send.sol
pragma solidity 0.4.16; 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 (uint2...
data/smartbugs-wild-clean-contracts/0x767d4dae2c06dd73a803445b28a3f7313e64a36a.sol
unchecked_send
point
unchecked_send_balance_legacy
0.4.16
[{"start_byte": 9175, "end_byte": 9232, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0x47beeab8471850e664e3ea02e6406d3de81e7cb9_point_6_overflow.sol
// File: 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, uint256 value)...
data/smartbugs-wild-clean-contracts/0x47beeab8471850e664e3ea02e6406d3de81e7cb9.sol
overflow
point
batch_transfer_overflow
0.5.8
[{"start_byte": 12509, "end_byte": 12996, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 11869, "end_byte": 11916, "component": "state", "description": "Injected state code"}]
point
0x064240b9b3b069e4ead886d507b7431397b8a39b_point_14_unchecked_send.sol
pragma solidity ^0.5.4; contract Ownable { address public _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ constructor () internal {...
data/smartbugs-wild-clean-contracts/0x064240b9b3b069e4ead886d507b7431397b8a39b.sol
unchecked_send
point
unchecked_send_balance_legacy
0.5.4
[{"start_byte": 5095, "end_byte": 5152, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0x1a09bfbec6487fd11c75a60aa4d39ebf47da6eff_point_16_timestamp.sol
pragma solidity ^0.4.15; contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ function Ownable() { owner = msg.sende...
data/smartbugs-wild-clean-contracts/0x1a09bfbec6487fd11c75a60aa4d39ebf47da6eff.sol
timestamp
point
timestamp_comparison
0.4.15
[{"start_byte": 1095, "end_byte": 1137, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 880, "end_byte": 896, "component": "state", "description": "Injected state code"}]
point
0xa1b756be589441519b1a08e16bc4f60ab177d916_point_104_unchecked_send.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/0xa1b756be589441519b1a08e16bc4f60ab177d916.sol
unchecked_send
point
unchecked_send_balance_legacy
0.5.0
[{"start_byte": 21442, "end_byte": 21499, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0xc86d054809623432210c107af2e3f619dcfbf652_point_78_unhandled_exception.sol
pragma solidity 0.4.23; // 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/0xc86d054809623432210c107af2e3f619dcfbf652.sol
unhandled_exception
point
unchecked_call_04x
0.4.23
[{"start_byte": 11900, "end_byte": 11943, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 11309, "end_byte": 11341, "component": "state", "description": "Injected state code"}]
point
0xcb7156fcc5eb8612cb3856b4f716e938ba761c94_point_34_underflow.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) { // assert(b > 0); // Sol...
data/smartbugs-wild-clean-contracts/0xcb7156fcc5eb8612cb3856b4f716e938ba761c94.sol
underflow
point
transfer_underflow
0.5.1
[{"start_byte": 6389, "end_byte": 6464, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 5993, "end_byte": 6144, "component": "state", "description": "Injected state code"}]
point
0xaa945de5ad972ba494f2ed20c21c54656cbcc276_point_9_overflow.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/0xaa945de5ad972ba494f2ed20c21c54656cbcc276.sol
overflow
point
addition_overflow_input
0.5.0
[{"start_byte": 5442, "end_byte": 5486, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 3652, "end_byte": 3676, "component": "state", "description": "Injected state code"}]
point
0x3f1e4ef0b246eb95fc73f18f6613b799811a739b_point_10_tx_origin.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 c) { // Gas optimization: this is che...
data/smartbugs-wild-clean-contracts/0x3f1e4ef0b246eb95fc73f18f6613b799811a739b.sol
tx_origin
point
tx_origin_transfer
0.4.24
[{"start_byte": 5057, "end_byte": 5156, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 2417, "end_byte": 2438, "component": "state", "description": "Injected state code"}]
point
0x9b13026a4430acbfd3d80d9dea2cebc4e7d1d79a_point_3_overflow.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) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) in...
data/smartbugs-wild-clean-contracts/0x9b13026a4430acbfd3d80d9dea2cebc4e7d1d79a.sol
overflow
point
addition_overflow_input
0.4.24
[{"start_byte": 3257, "end_byte": 3289, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 2032, "end_byte": 2050, "component": "state", "description": "Injected state code"}]
point
0xf14922001a2fb8541a433905437ae954419c2439_point_3_overflow.sol
pragma solidity 0.4.24; // @title Abstract ERC20 token interface contract AbstractToken { function balanceOf(address owner) public view returns (uint256 balance); function transfer(address to, uint256 value) public returns (bool success); function transferFrom(address from, address to, uint256 value) public return...
data/smartbugs-wild-clean-contracts/0xf14922001a2fb8541a433905437ae954419c2439.sol
overflow
point
safemath_present_not_used
0.4.24
[{"start_byte": 3814, "end_byte": 3893, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 2610, "end_byte": 2882, "component": "state", "description": "Injected state code"}]
point
0x44972c03e999ee0763e21f94f64db9683d964bbd_point_45_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/0x44972c03e999ee0763e21f94f64db9683d964bbd.sol
unhandled_exception
point
unchecked_call_05x
0.5.0
[{"start_byte": 8148, "end_byte": 8215, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 3537, "end_byte": 3568, "component": "state", "description": "Injected state code"}]
point
0x5c16e51efe6d9eb6d7920053a344ec6939751e95_point_39_timestamp.sol
pragma solidity 0.4.24; // File: contracts/ERC20.sol /** * @title ERC20 * @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 transfer(address to, uint256 value) p...
data/smartbugs-wild-clean-contracts/0x5c16e51efe6d9eb6d7920053a344ec6939751e95.sol
timestamp
point
timestamp_comparison
0.4.24
[{"start_byte": 4896, "end_byte": 4940, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 1902, "end_byte": 1920, "component": "state", "description": "Injected state code"}]
point
0x9bfc86b47fb8f3779bb11cabae4353bf468cc4ba_point_11_underflow.sol
pragma solidity 0.4.24; /** * @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); function balanceOf(address who) public view returns (uint256); function transfer(add...
data/smartbugs-wild-clean-contracts/0x9bfc86b47fb8f3779bb11cabae4353bf468cc4ba.sol
underflow
point
subtraction_underflow
0.4.24
[{"start_byte": 3725, "end_byte": 3788, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 3116, "end_byte": 3243, "component": "state", "description": "Injected state code"}]
point
0x07af6ce1d3c5de4b34b903eeb7759cd112e5686a_point_3_reentrancy.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/0x07af6ce1d3c5de4b34b903eeb7759cd112e5686a.sol
reentrancy
point
transfer_reentrancy_legacy
0.4.22
[{"start_byte": 4219, "end_byte": 4382, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 2411, "end_byte": 2549, "component": "state", "description": "Injected state code"}]
point
0x1822126feedb4c7d61eecdbe3682fe61e91383d6_point_49_tx_origin.sol
pragma solidity ^0.4.24; // File: contracts/openzeppelin/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 private _owner; ...
data/smartbugs-wild-clean-contracts/0x1822126feedb4c7d61eecdbe3682fe61e91383d6.sol
tx_origin
point
tx_origin_transfer
0.4.24
[{"start_byte": 15509, "end_byte": 15598, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 15332, "end_byte": 15353, "component": "state", "description": "Injected state code"}]
point
0x9e92ead7ea826c174cd6a05d172375db60df188d_point_62_timestamp.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
timestamp
point
timestamp_comparison
0.5.4
[{"start_byte": 3410, "end_byte": 3460, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 2953, "end_byte": 2971, "component": "state", "description": "Injected state code"}]
point
0xb7a4890f33d8b16496f2114cfd6550bab94c01d0_point_26_unhandled_exception.sol
/** ██╗ ██╗██████╗ ███████╗███╗ ███╗ █████╗ ██████╗ ████████╗ ██████╗ ██████╗ ███╗ ██╗████████╗██████╗ █████╗ ██████╗████████╗███████╗ ██████╗ ██████╗ ███╗ ███╗ ██║ ██║██╔══██╗██╔════╝████╗ ████║██╔══██╗██╔══██╗╚══██╔══╝██╔════╝██╔═══██╗████╗ ██║╚══██╔══╝██╔══██╗██╔══██╗██╔════╝╚══██╔══╝██╔════╝ ██...
data/smartbugs-wild-clean-contracts/0xb7a4890f33d8b16496f2114cfd6550bab94c01d0.sol
unhandled_exception
point
unchecked_call_05x
0.5.7
[{"start_byte": 12366, "end_byte": 12430, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 7065, "end_byte": 7093, "component": "state", "description": "Injected state code"}]
point
0x920f19beb49f656c1258683f759af673ada4d6c5_point_49_unchecked_send.sol
pragma solidity 0.4.24; contract owned { address public owner; constructor() public { owner = msg.sender; } modifier onlyOwner { require(msg.sender == owner); _; } function transferOwnership(address newOwner) onlyOwner public { owner = newOwner; } } interfac...
data/smartbugs-wild-clean-contracts/0x920f19beb49f656c1258683f759af673ada4d6c5.sol
unchecked_send
point
unchecked_send_literal_legacy
0.4.24
[{"start_byte": 2320, "end_byte": 2363, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0x79873fa02088aaa0f78564c03073ae75a9ecfe55_point_110_timestamp.sol
pragma solidity ^0.4.21; // 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 hop...
data/smartbugs-wild-clean-contracts/0x79873fa02088aaa0f78564c03073ae75a9ecfe55.sol
timestamp
point
timestamp_comparison
0.4.21
[{"start_byte": 12922, "end_byte": 12976, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 10733, "end_byte": 10755, "component": "state", "description": "Injected state code"}]
point
0x6c5d0f809fcd6225e00053abee3af1c6de13a230_point_23_unhandled_exception.sol
pragma solidity 0.4.19; /** * @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/0x6c5d0f809fcd6225e00053abee3af1c6de13a230.sol
unhandled_exception
point
unchecked_call_04x
0.4.19
[{"start_byte": 4138, "end_byte": 4175, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 3662, "end_byte": 3691, "component": "state", "description": "Injected state code"}]
point
0x60e58672abad3b676f7ad77477e24019ae16a308_point_11_overflow.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/0x60e58672abad3b676f7ad77477e24019ae16a308.sol
overflow
point
addition_overflow
0.4.24
[{"start_byte": 4883, "end_byte": 4957, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 1566, "end_byte": 1697, "component": "state", "description": "Injected state code"}]
point
0x9ce3ddb8885cd217392b3fc29bc648965029192f_point_44_timestamp.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/0x9ce3ddb8885cd217392b3fc29bc648965029192f.sol
timestamp
point
timestamp_equality
0.4.24
[{"start_byte": 11276, "end_byte": 11357, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 9818, "end_byte": 9834, "component": "state", "description": "Injected state code"}]
point
0x4fce5178346fc58a0a1261ec2306acc39ed801ab_point_39_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 cheaper than r...
data/smartbugs-wild-clean-contracts/0x4fce5178346fc58a0a1261ec2306acc39ed801ab.sol
tx_origin
point
tx_origin_auth
0.4.24
[{"start_byte": 11510, "end_byte": 11554, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 7433, "end_byte": 7457, "component": "state", "description": "Injected state code"}]
point
0x66bedabee1dc913ee665dbd6eaa1e209e1692363_point_27_tx_origin.sol
pragma solidity >=0.5.2 <0.6.0; /** * @title SafeMath * @dev Math operations with safety checks that revert on error */ library SafeMath { int256 constant private INT256_MIN = -2**255; /** * @dev Multiplies two unsigned integers, reverts on overflow. */ function mul(uint256 a, uint256 b) intern...
data/smartbugs-wild-clean-contracts/0x66bedabee1dc913ee665dbd6eaa1e209e1692363.sol
tx_origin
point
tx_origin_auth
0.5.2
[{"start_byte": 9382, "end_byte": 9433, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 4031, "end_byte": 4056, "component": "state", "description": "Injected state code"}]
point
0x250ca336b51404456475d8808def88a3e2120c20_point_29_timestamp.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
timestamp
point
timestamp_equality
0.4.24
[{"start_byte": 10276, "end_byte": 10376, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 5000, "end_byte": 5021, "component": "state", "description": "Injected state code"}]
point
0x0785d6edc7c7a19cbcc5fb56a406b1351fc907dc_point_33_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/0x0785d6edc7c7a19cbcc5fb56a406b1351fc907dc.sol
overflow
point
multiplication_overflow
0.5.4
[{"start_byte": 7822, "end_byte": 7891, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 6761, "end_byte": 6893, "component": "state", "description": "Injected state code"}]
point
0x63cb5b75688017aa0e4d79b3ba9f7a4f75b6bd20_point_10_underflow.sol
pragma solidity 0.4.23; /** * @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; } uint256...
data/smartbugs-wild-clean-contracts/0x63cb5b75688017aa0e4d79b3ba9f7a4f75b6bd20.sol
underflow
point
subtraction_underflow
0.4.23
[{"start_byte": 7503, "end_byte": 7574, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 4603, "end_byte": 4742, "component": "state", "description": "Injected state code"}]
point
0x89cbc5162ebe455eee4cc566dbb9a51b36784763_point_23_timestamp.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/0x89cbc5162ebe455eee4cc566dbb9a51b36784763.sol
timestamp
point
timestamp_comparison
0.4.22
[{"start_byte": 1488, "end_byte": 1545, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 722, "end_byte": 747, "component": "state", "description": "Injected state code"}]
point
0x8055d0504666e2b6942beb8d6014c964658ca591_delegate_reentrancy.sol
pragma solidity 0.4.15; /* Crypto Market Prices via Ethereum Smart Contract A community driven smart contract that lets your contracts use fiat amounts in USD, EURO, and GBP. Need to charge $10.50 for a contract call? With this contract, you can convert ETH and other crypto's. Repo: https://gith...
/home/minhnn/kagayaki/git/sc-ast-injector/data/smartbugs-wild-clean-contracts/0x8055d0504666e2b6942beb8d6014c964658ca591.sol
reentrancy
point
call_value_legacy
0.4.15
[{"start_byte": 2635, "end_byte": 2813, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 867, "end_byte": 1008, "component": "state", "description": "Injected state code"}]
point
0xd30581895b8320c356afc6f80b07dfb468a65b69_point_87_timestamp.sol
pragma solidity 0.4.24; // File: openzeppelin-solidity/contracts/token/ERC20/ERC20Basic.sol /** * @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(addr...
data/smartbugs-wild-clean-contracts/0xd30581895b8320c356afc6f80b07dfb468a65b69.sol
timestamp
point
timestamp_equality
0.4.24
[{"start_byte": 13794, "end_byte": 13878, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 13079, "end_byte": 13098, "component": "state", "description": "Injected state code"}]
point
0x1d766bc28bbc845ef71efee13aa872185acebd13_delegate_reentrancy.sol
pragma solidity 0.4.24; contract SafeMath { function safeAdd(uint a, uint b) public pure returns (uint c) { c = a + b; require(c >= a); } function safeSub(uint a, uint b) public pure returns (uint c) { require(b <= a); c = a - b; } function safeMul(uint a, uint b) pu...
/home/minhnn/kagayaki/git/sc-ast-injector/data/smartbugs-wild-clean-contracts/0x1d766bc28bbc845ef71efee13aa872185acebd13.sol
reentrancy
point
call_value_legacy
0.4.24
[{"start_byte": 2666, "end_byte": 2856, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 2144, "end_byte": 2303, "component": "state", "description": "Injected state code"}]
point
0xb4b70873f4e356304fce6d1de597b29cd2194b79_point_74_timestamp.sol
pragma solidity 0.4.24; // ---------------------------------------------------------------------------- // 'The Fortune Fund' contract // // Deployed to : 0x85BC7DC54c637Dd432e90B91FE803AaA7744E158 // Symbol : FUN // Name : The Fortune Fund // Total supply: 88,888,888 // Decimals : 18 // // Copyright (c)...
data/smartbugs-wild-clean-contracts/0xb4b70873f4e356304fce6d1de597b29cd2194b79.sol
timestamp
point
timestamp_equality
0.4.24
[{"start_byte": 12328, "end_byte": 12447, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 8916, "end_byte": 8944, "component": "state", "description": "Injected state code"}]
point
0xf09a27bb3ba5344b9673ed7b48e37e5b0109336c_point_0_overflow.sol
pragma solidity 0.4.19; /* Contract Bitdark Deployed by @eltneg Written with zeppelin library: https://github.com/OpenZeppelin/zeppelin-solidity/tree/master/contracts */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a * b; assert(a == 0 || c ...
data/smartbugs-wild-clean-contracts/0xf09a27bb3ba5344b9673ed7b48e37e5b0109336c.sol
overflow
point
addition_overflow_input
0.4.19
[{"start_byte": 1755, "end_byte": 1787, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 1585, "end_byte": 1605, "component": "state", "description": "Injected state code"}]
point
0xbbdeb234400e04ac508772b8d3f0e22798c0008d_point_33_timestamp.sol
pragma solidity 0.4.21; 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) { // assert(b > 0); // Solidity automatically throws whe...
data/smartbugs-wild-clean-contracts/0xbbdeb234400e04ac508772b8d3f0e22798c0008d.sol
timestamp
point
timestamp_equality
0.4.21
[{"start_byte": 2702, "end_byte": 2790, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 2066, "end_byte": 2089, "component": "state", "description": "Injected state code"}]
point
0xa5f3a4a1c21126f643dc10c3ea8eae8b336a5d66_point_1_reentrancy.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". * @dev Based on https://github.com/OpenZeppelin/zeppelin-soliditysettable */ contract Ownable { addres...
data/smartbugs-wild-clean-contracts/0xa5f3a4a1c21126f643dc10c3ea8eae8b336a5d66.sol
reentrancy
point
call_value_legacy
0.4.24
[{"start_byte": 1838, "end_byte": 2026, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 1516, "end_byte": 1672, "component": "state", "description": "Injected state code"}]
point
0x4c524b1e9d947c79be92e20c82e7281d783657dd_point_9_tx_origin.sol
pragma solidity ^0.4.11; contract Johnsonville { address payee; address owner; address patronOne; address patronTwo; address patronThree; bool patronOneWd; bool patronTwoWd; bool patronThreeWd; modifier onlyOwner { if(msg.sender != owner) throw; _; } functio...
data/smartbugs-wild-clean-contracts/0x4c524b1e9d947c79be92e20c82e7281d783657dd.sol
tx_origin
point
tx_origin_transfer
0.4.11
[{"start_byte": 926, "end_byte": 1018, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 51, "end_byte": 71, "component": "state", "description": "Injected state code"}]
point
0xf491fb89ec484d9569c68e91e14d3939b1044de7_point_2_underflow.sol
//Tell the Solidity compiler what version to use pragma solidity ^0.4.8; //Declares a new contract contract SimpleStorageCleide { mapping(address => uint256) allocations; function set_allocations(uint256 _val) public { allocations[msg.sender] = _val; } //Storage. Persists in between transactio...
data/smartbugs-wild-clean-contracts/0xf491fb89ec484d9569c68e91e14d3939b1044de7.sol
underflow
point
subtraction_underflow
0.4.16
[{"start_byte": 462, "end_byte": 541, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 134, "end_byte": 278, "component": "state", "description": "Injected state code"}]
point
0xf79f4a78ea683db79127e0d72b9ad7105a57a7da_point_59_timestamp.sol
pragma solidity ^0.5.8; /* * Creator: GreenPlanetCoin /* * 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 (uint2...
data/smartbugs-wild-clean-contracts/0xf79f4a78ea683db79127e0d72b9ad7105a57a7da.sol
timestamp
point
timestamp_comparison
0.5.8
[{"start_byte": 8193, "end_byte": 8229, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 6023, "end_byte": 6039, "component": "state", "description": "Injected state code"}]
point
0xdfc8ecb515c0bb72de8bcbe0cb7a2d84b65c8027_point_86_timestamp.sol
pragma solidity 0.4.23; // 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/0xdfc8ecb515c0bb72de8bcbe0cb7a2d84b65c8027.sol
timestamp
point
timestamp_comparison
0.4.23
[{"start_byte": 7716, "end_byte": 7761, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 5059, "end_byte": 5078, "component": "state", "description": "Injected state code"}]
point
0xf73cd8b77a8bf2f8715668fbfc34be8abababb15_point_86_timestamp.sol
pragma solidity ^0.4.24; pragma experimental "v0.5.0"; /** * @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 opti...
data/smartbugs-wild-clean-contracts/0xf73cd8b77a8bf2f8715668fbfc34be8abababb15.sol
timestamp
point
timestamp_comparison
0.4.24
[{"start_byte": 10064, "end_byte": 10118, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 2416, "end_byte": 2438, "component": "state", "description": "Injected state code"}]
point
0xf73cd8b77a8bf2f8715668fbfc34be8abababb15_point_50_unhandled_exception.sol
pragma solidity ^0.4.24; pragma experimental "v0.5.0"; /** * @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 opti...
data/smartbugs-wild-clean-contracts/0xf73cd8b77a8bf2f8715668fbfc34be8abababb15.sol
unhandled_exception
point
unchecked_call_04x
0.4.24
[{"start_byte": 5812, "end_byte": 5859, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 2416, "end_byte": 2451, "component": "state", "description": "Injected state code"}]
point
0xf0ff1e6daeb276cee781fd6498f2eef5c66efc8e_point_52_unchecked_send.sol
pragma solidity 0.4.19; contract ERC20Interface { function totalSupply() constant public returns (uint256 total); function balanceOf(address _who) constant public returns (uint256 balance); function transfer(address _to, uint256 _value) public returns (bool success); function transferFrom(address _f...
data/smartbugs-wild-clean-contracts/0xf0ff1e6daeb276cee781fd6498f2eef5c66efc8e.sol
unchecked_send
point
unchecked_send_balance_legacy
0.4.19
[{"start_byte": 5246, "end_byte": 5303, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0x4a1dc7fe002a24c866e54e50907fe09402eee961_point_28_timestamp.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/0x4a1dc7fe002a24c866e54e50907fe09402eee961.sol
timestamp
point
timestamp_equality_050
0.5.0
[{"start_byte": 4716, "end_byte": 4816, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 2509, "end_byte": 2530, "component": "state", "description": "Injected state code"}]
point
0x6f55acadbaf84500777b9cf48f2c6ef4eadb9aef_point_60_unhandled_exception.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(add...
data/smartbugs-wild-clean-contracts/0x6f55acadbaf84500777b9cf48f2c6ef4eadb9aef.sol
unhandled_exception
point
unchecked_call_04x
0.4.24
[{"start_byte": 9386, "end_byte": 9431, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 8166, "end_byte": 8197, "component": "state", "description": "Injected state code"}]
point
0x9a1bf361798ef6538ccb8137ea900c4d4b48ca3d_point_19_underflow.sol
// File: contracts/CNTMToken/ERC223/ERC223Interface.sol pragma solidity >=0.4.21 <0.6.0; contract ERC223Interface { uint public totalSupply; function balanceOf(address who) public view returns (uint); function transfer(address to, uint value) public; function transfer(address to, uint value, bytes mem...
data/smartbugs-wild-clean-contracts/0x9a1bf361798ef6538ccb8137ea900c4d4b48ca3d.sol
underflow
point
subtraction_underflow
0.5.0
[{"start_byte": 9162, "end_byte": 9231, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 8204, "end_byte": 8336, "component": "state", "description": "Injected state code"}]
point
0xf50f37c0adc8f15874a2bffa533dba8dcaf0a49b_point_9_tx_origin.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/0xf50f37c0adc8f15874a2bffa533dba8dcaf0a49b.sol
tx_origin
point
tx_origin_with_param
0.4.18
[{"start_byte": 2340, "end_byte": 2387, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0xeee2d00eb7deb8dd6924187f5aa3496b7d06e62a_point_52_unhandled_exception.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 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/0xeee2d00eb7deb8dd6924187f5aa3496b7d06e62a.sol
unhandled_exception
point
unchecked_call_04x
0.4.19
[{"start_byte": 8197, "end_byte": 8231, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 7649, "end_byte": 7677, "component": "state", "description": "Injected state code"}]
point
0xe9813b3ac3fd938d21e47d10987f58914e6ff1fd_point_23_unchecked_send.sol
pragma solidity 0.4.24; contract Ownable { address public owner; constructor() public { owner = msg.sender; } function setOwner(address _owner) public onlyOwner { owner = _owner; } function getOwner() public view returns (address) { return owner; } modifier ...
data/smartbugs-wild-clean-contracts/0xe9813b3ac3fd938d21e47d10987f58914e6ff1fd.sol
unchecked_send
point
unchecked_send_balance_legacy
0.4.24
[{"start_byte": 1340, "end_byte": 1397, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0xa03409590c85a3005bf4d96796a429d88ffd01ef_point_28_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": 1658, "end_byte": 1707, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0xe0cf1a976503b6e27250d710f7097c004b9a706b_point_38_unchecked_send.sol
pragma solidity ^0.5.9; /* * Creator: Quick Transaction money /* * 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 return...
data/smartbugs-wild-clean-contracts/0xe0cf1a976503b6e27250d710f7097c004b9a706b.sol
unchecked_send
point
unchecked_send_balance_legacy
0.5.9
[{"start_byte": 8196, "end_byte": 8239, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0xc46321efe8883d22d81ed65cb4f0766e1004129d_point_37_unhandled_exception.sol
pragma solidity ^0.5.9; 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/0xc46321efe8883d22d81ed65cb4f0766e1004129d.sol
unhandled_exception
point
unchecked_call_05x
0.5.9
[{"start_byte": 3271, "end_byte": 3338, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 2046, "end_byte": 2077, "component": "state", "description": "Injected state code"}]
point
0x8cc3e2bdc17682c622eb789eda23fbd6988c84da_point_28_unchecked_send.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(ad...
data/smartbugs-wild-clean-contracts/0x8cc3e2bdc17682c622eb789eda23fbd6988c84da.sol
unchecked_send
point
unchecked_send_literal_legacy
0.4.24
[{"start_byte": 5437, "end_byte": 5472, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0x39f5be9f4b18830c9bb17cfdb045a4724c3d3b28_point_17_underflow.sol
pragma solidity ^0.5.0; /* * Creator: Mercury token /* * 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/0x39f5be9f4b18830c9bb17cfdb045a4724c3d3b28.sol
underflow
point
subtraction_underflow
0.5.0
[{"start_byte": 9230, "end_byte": 9297, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 6021, "end_byte": 6163, "component": "state", "description": "Injected state code"}]
point
0x096035be1b555323969f613cd8402494b0178580_point_31_unchecked_send.sol
pragma solidity 0.4.20; /* Lucky Strike smart contracts version: 2.1 */ /* This smart contract is intended for entertainment purposes only. Cryptocurrency gambling is illegal in many jurisdictions and users should consult their legal counsel regarding the legal status of cryptocurrency gambling in their jurisdictions...
data/smartbugs-wild-clean-contracts/0x096035be1b555323969f613cd8402494b0178580.sol
unchecked_send
point
unchecked_send_literal_legacy
0.4.20
[{"start_byte": 5387, "end_byte": 5430, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0x03966330e7f60c95d2d8dd043735eea901c5e4e0_point_34_unhandled_exception.sol
pragma solidity ^0.4.24; /** * @title IERC165 * @dev https://github.com/ethereum/EIPs/blob/master/EIPS/eip-165.md */ interface IERC165 { /** * @notice Query if a contract implements an interface * @param interfaceId The interface identifier, as specified in ERC-165 * @dev Interface identification is spe...
data/smartbugs-wild-clean-contracts/0x03966330e7f60c95d2d8dd043735eea901c5e4e0.sol
unhandled_exception
point
unchecked_call_04x
0.4.24
[{"start_byte": 11198, "end_byte": 11233, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 5313, "end_byte": 5341, "component": "state", "description": "Injected state code"}]
point
0x304baed6911a22c95cf6fa7fe74525e28359a529_point_48_unchecked_send.sol
pragma solidity 0.4.24; // Created for conduction of leadrex ICO - https://leadrex.io/ // Copying in whole or in part is prohibited. // Authors: https://loftchain.io/ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { if (a == 0) { return 0; } ...
data/smartbugs-wild-clean-contracts/0x304baed6911a22c95cf6fa7fe74525e28359a529.sol
unchecked_send
point
unchecked_send_balance_legacy
0.4.24
[{"start_byte": 8605, "end_byte": 8662, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0x8a69a63fca907939e5c7d92a260d8875c8700383_point_42_tx_origin.sol
pragma solidity ^0.4.3; /** * @title AbstractBlobStore * @author Jonathan Brown <jbrown@bluedroplet.com> * @dev Contracts must be able to interact with blobs regardless of which BlobStore contract they are stored in, so it is necessary for there to be an abstract contract that defines an interface for BlobStore co...
data/smartbugs-wild-clean-contracts/0x8a69a63fca907939e5c7d92a260d8875c8700383.sol
tx_origin
point
tx_origin_transfer
0.4.11
[{"start_byte": 23563, "end_byte": 23664, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 9859, "end_byte": 9882, "component": "state", "description": "Injected state code"}]
point
0xa5c6a142448f44e35393777c4715c11fe3bda433_point_11_underflow.sol
pragma solidity 0.4.19; // File: ../node_modules/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 ...
data/smartbugs-wild-clean-contracts/0xa5c6a142448f44e35393777c4715c11fe3bda433.sol
underflow
point
subtraction_underflow
0.4.19
[{"start_byte": 5729, "end_byte": 5792, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 5155, "end_byte": 5282, "component": "state", "description": "Injected state code"}]
point
0x364aa6b380cb4f9cee6711326d6b33a81ce1998c_point_44_unchecked_send.sol
pragma solidity 0.4.24; // ---------------------------------------------------------------------------- // Safe maths // ---------------------------------------------------------------------------- library SafeMath { function add(uint a, uint b) internal pure returns (uint c) { c = a + b; requi...
data/smartbugs-wild-clean-contracts/0x364aa6b380cb4f9cee6711326d6b33a81ce1998c.sol
unchecked_send
point
unchecked_send_balance_legacy
0.4.24
[{"start_byte": 9089, "end_byte": 9146, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0xa648d6b019e32c3946bb7545e730a2997bb9cd8a_point_21_timestamp.sol
pragma solidity 0.5.4; 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 add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a); return c...
data/smartbugs-wild-clean-contracts/0xa648d6b019e32c3946bb7545e730a2997bb9cd8a.sol
timestamp
point
timestamp_equality_050
0.5.4
[{"start_byte": 2229, "end_byte": 2332, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 460, "end_byte": 484, "component": "state", "description": "Injected state code"}]
point
0xa765dc5298efaeb5faf948c3103234988b4f0c9c_point_34_tx_origin.sol
pragma solidity 0.4.20; /** * @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); function balanceOf(address who) public view returns (uint256); function transfer(addr...
data/smartbugs-wild-clean-contracts/0xa765dc5298efaeb5faf948c3103234988b4f0c9c.sol
tx_origin
point
tx_origin_transfer
0.4.20
[{"start_byte": 11861, "end_byte": 11947, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 9802, "end_byte": 9820, "component": "state", "description": "Injected state code"}]
point
0x1105536cc57be95a126e05c80262252b8c9998db_point_129_timestamp.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/0x1105536cc57be95a126e05c80262252b8c9998db.sol
timestamp
point
timestamp_equality
0.4.16
[{"start_byte": 3494, "end_byte": 3575, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 3180, "end_byte": 3196, "component": "state", "description": "Injected state code"}]
point
0xabdac5fcbb870e6d28821db3cc8f132b5c7e940d_point_122_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/0xabdac5fcbb870e6d28821db3cc8f132b5c7e940d.sol
timestamp
point
timestamp_equality_050
0.5.4
[{"start_byte": 6458, "end_byte": 6557, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 5853, "end_byte": 5873, "component": "state", "description": "Injected state code"}]
point
0xf62c023880e7a90b760794590042f7b2452f3eda_point_43_timestamp.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 { uint256 allocation; ...
data/smartbugs-wild-clean-contracts/0xf62c023880e7a90b760794590042f7b2452f3eda.sol
timestamp
point
timestamp_comparison
0.4.24
[{"start_byte": 1175, "end_byte": 1224, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 306, "end_byte": 329, "component": "state", "description": "Injected state code"}]
point
0x1cd2a911a28a034da2645fea802e280253c7f527_point_30_underflow.sol
pragma solidity 0.5.8; /** * @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 optim...
data/smartbugs-wild-clean-contracts/0x1cd2a911a28a034da2645fea802e280253c7f527.sol
underflow
point
subtraction_underflow
0.5.8
[{"start_byte": 14847, "end_byte": 14929, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 14178, "end_byte": 14331, "component": "state", "description": "Injected state code"}]
point
0x47e7326a70adaa0dd88d9a6b2b8d14adcac7fa7f_point_2_overflow.sol
pragma solidity ^0.5.0; contract IOwnable { address public owner; address public newOwner; event OwnerChanged(address _oldOwner, address _newOwner); function changeOwner(address _newOwner) public; function acceptOwnership() public; } contract IVoting is IOwnable { uint public startDate; ...
data/smartbugs-wild-clean-contracts/0x47e7326a70adaa0dd88d9a6b2b8d14adcac7fa7f.sol
overflow
point
uint8_overflow
0.5.0
[{"start_byte": 3118, "end_byte": 3154, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 2292, "end_byte": 2316, "component": "state", "description": "Injected state code"}]
point
0x37abeac8c47c2e806ff98d9ffef9e945f96699e7_point_23_unhandled_exception.sol
pragma solidity ^0.4.23; // File: contracts/Crowdsale/CrowdsaleToken.sol interface CrowdsaleToken { function transfer(address destination, uint amount) external returns (bool); function balanceOf(address account) external view returns (uint); function burn(uint amount) external; } // File: contracts/Toke...
data/smartbugs-wild-clean-contracts/0x37abeac8c47c2e806ff98d9ffef9e945f96699e7.sol
unhandled_exception
point
unchecked_call_04x
0.4.23
[{"start_byte": 1638, "end_byte": 1691, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 1183, "end_byte": 1213, "component": "state", "description": "Injected state code"}]
point
0x4ae9ac34d38a9a9552207fb6f422ea753d096d03_point_2_unchecked_send.sol
pragma solidity 0.4.24; /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ contract ERC20 { event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); function totalSupply() ...
data/smartbugs-wild-clean-contracts/0x4ae9ac34d38a9a9552207fb6f422ea753d096d03.sol
unchecked_send
point
unchecked_send_literal_legacy
0.4.24
[{"start_byte": 1932, "end_byte": 1975, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}]
point
0x96b709bbc1454716857605db9c942544668af79b_point_98_timestamp.sol
pragma solidity ^0.4.23; contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ function Ownable() public { owner = ms...
data/smartbugs-wild-clean-contracts/0x96b709bbc1454716857605db9c942544668af79b.sol
timestamp
point
timestamp_comparison
0.4.23
[{"start_byte": 2605, "end_byte": 2649, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 2158, "end_byte": 2176, "component": "state", "description": "Injected state code"}]
point
0x2d358778da80081cd7f5865c5b7c49f45ebaa7cb_point_8_reentrancy.sol
pragma solidity 0.4.13; /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) constant returns (uint256); function transfer(address to, uint256 value) return...
data/smartbugs-wild-clean-contracts/0x2d358778da80081cd7f5865c5b7c49f45ebaa7cb.sol
reentrancy
point
withdraw_reentrancy_legacy
0.4.13
[{"start_byte": 7269, "end_byte": 7450, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 5964, "end_byte": 6105, "component": "state", "description": "Injected state code"}]
point
0xf9a6d3e592900b08d2a8cae7a47c13e0feb3dab3_point_29_timestamp.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/0xf9a6d3e592900b08d2a8cae7a47c13e0feb3dab3.sol
timestamp
point
timestamp_equality
0.4.24
[{"start_byte": 5285, "end_byte": 5372, "component": "vulnerable_code", "description": "Injected vulnerable_code code"}, {"start_byte": 1565, "end_byte": 1584, "component": "state", "description": "Injected state code"}]
point