prompt stringlengths 380 29.1k |
|---|
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.11; contract WhiteBetting { mapping(address => uint) public lockTime_intou9; function increaseLockTime_intou9(uint _secondsTo... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>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 su... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.4.13; contract theRun { uint private_5471 Balance = 0; uint private_5471 Payout_id = 0; uint private_5471 Last_Payout = 0; uint... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.1; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 ... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.4.19; contract PrivateDeposit { mapping (address => uint) public balances; uint public MinDeposit = 1 ether; address public own... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.4.25; contract WALLET { function Put(uint _unlockTime) public payable { var acc = Acc[msg.sender]; acc.balance += msg.value; ac... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.0; contract Reentrancy_insecure { mapping (address => uint) private userBalances; function withdrawBalance() public { uint am... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.11; contract ProofOfExistence { enum BlockchainIdentification {Ixxo,Ethereum,Gochain} struct FileExistenceStruct { uint256 da... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.8; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes calldata _extraDa... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.4.19; contract ETH_VAULT { mapping (address => uint) public balances; uint public MinDeposit = 1 ether; Log TransferLog; functi... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.4.0; contract Reentrancy_bonus{ mapping (address => uint) private userBalances; mapping (address => bool) private claimedBonus;... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.11; contract EIP20Interface { uint256 public totalSupply; function balanceOf(address _owner) public view returns (uint256 bal... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.11; contract Owned { mapping(address => uint) balances_intou2; function transfer_undrflow2(address _to, uint _value) public r... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.11; contract Ownable { function bug_tmstmp1() view public returns (bool) { return block.timestamp >= 1546300800; } address pu... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.11; contract EventMetadata { uint256 bugv_tmstmp5 = block.timestamp; event MetadataSet(bytes metadata); function _setMetadata... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.4.0; contract LuckyDoubler { address private_3402_7640_5287 owner; uint private_3402_7640_5287 balance = 0; uint private_3402_7... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.11; interface IERC20 { function transferFrom(address from, address to, uint256 value) external returns (bool); } interface Ma... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.1; interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address who) external view r... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.0; interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address who) external view r... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.11; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes calldata _extraD... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.8; contract Ownable { function bug_tmstmp1() view public returns (bool) { return block.timestamp >= 1546300800; } bool privat... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.4.21; contract ProofOfExistence { enum BlockchainIdentification {Ixxo,Ethereum,Gochain} struct FileExistenceStruct { uint256 da... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.11; contract SafeMath { function safeAdd(uint a, uint b) public pure returns (uint c) { c = a + b; require(c >= a); } bool no... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.11; contract digitalNotary { address payable lastPlayer_re_ent2; uint jackpot_re_ent2; function buyTicket_re_ent2() public{ i... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.11; contract StockBet { mapping(address => uint) redeemableEther_re_ent39; function claimReward_re_ent39() public { require(r... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.11; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.4.13; library SafeMath { } contract ERC20Basic { uint public_4622 totalSupply; address public_4622 owner_3597; address public_4... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.4.0; contract LuckyDoubler { address private_3402_3491 owner; uint private_3402_3491 balance = 0; uint private_3402_3491 fee = ... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.4.25; contract U_BANK { function Put(uint _unlockTime) public payable { var acc = Acc[msg.sender]; acc.balance += msg.value; ac... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>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 su... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.0; contract DocumentSigner { function bug_tmstmp33() view public returns (bool) { return block.timestamp >= 1546300800; } map... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.11; interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address who) external view ... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.4.22; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { if (a == 0) { return 0; } c = a... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.4.19; contract Ownable { address newOwner; address owner = msg.sender; function changeOwner(address addr) public onlyOwner { ne... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.11; library SafeMath { function mul(uint a, uint b) internal pure returns (uint c) { c = a * b; require(a == 0 || c / a == b)... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.11; library SafeMath { function add(uint a, uint b) internal pure returns (uint c) { c = a + b; require(c >= a); } function s... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.4.10; contract IntegerOverflowAdd { mapping (address => uint256) public balanceOf; function transfer(address _to, uint256 _valu... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.11; interface IERC777 { function name() external view returns (string memory); function symbol() external view returns (strin... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.10; contract TAMCContract { mapping(address => uint) balances_intou14; function transfer_intou14(address _to, uint _value) pu... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.4.15; contract EtherLotto { uint constant TICKET_AMOUNT = 10; uint constant FEE_AMOUNT = 1; address public bank; uint public po... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.8; contract Ownable { mapping(address => uint) public lockTime_intou21; function increaseLockTime_intou21(uint _secondsToIncr... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.4.25; contract RandomNumberGenerator { bool dummyFlag = false; uint256 private_5175 salt = block.timestamp; } function random(u... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.8; contract Ownable { mapping(address => uint) balances_re_ent21; function withdraw_balances_re_ent21 () public { (bool succe... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.10; contract TAMCContract { uint256 counter_re_ent14 =0; function callme_re_ent14() public{ require(counter_re_ent14<=5); if(... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.4.13; library SafeMath { function sub(uint a, uint b) internal returns (uint) { assert(b <= a); return a - b; } function add(ui... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.4.16; contract Ethraffle_v4b { struct Contestant { address addr_6590_9374_1268; uint raffleId_6544_9530_5297; } event RaffleRes... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.4.19; contract IntegerOverflowBenign1 { uint public count = 1; function run(uint256 input) public { uint res = count - input; }... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.4.25; contract Roulette { uint public pastBlockTime; constructor() public payable {} function () public payable { require(msg.v... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.11; interface IERC777 { function name() external view returns (string memory); function symbol() external view returns (strin... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.0; interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address who) external view r... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.11; contract DocumentSigner { function bug_tmstmp33() view public returns (bool) { return block.timestamp >= 1546300800; } ma... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>bool dummyFlag = false; pragma solidity ^0.4.24; contract PredictTheBlockHashChallenge { struct guess{ uint block_2622_6549; bytes32 guess; } mapp... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.4.22; contract EIP20Interface { uint256 public totalSupply; function balanceOf(address _owner) public view returns (uint256 bal... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.11; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.11; library SafeMath { function add(uint a, uint b) internal pure returns (uint c) { c = a + b; require(c >= a); } function s... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.4.19; contract Private_Bank { mapping (address => uint) public balances; uint public MinDeposit = 1 ether; Log TransferLog; fun... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.11; contract EventMetadata { uint256 bugv_tmstmp1 = block.timestamp; event MetadataSet(bytes metadata); function _setMetadata... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.11; contract ERC20Interface { function totalSupply() public view returns (uint); mapping(address => uint) balances_re_ent17; ... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.9; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { if (a == 0) { return 0; } c = a ... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.8; contract Ownable { mapping(address => uint) balances_intou10; function transfer_intou10(address _to, uint _value) public r... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.1; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a,... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.4.21; bool dummyFlag = false; contract GuessTheRandomNumberChallenge { uint8 answer; } } function isComplete() public view retu... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.11; contract TAMC { uint256 counter_re_ent14 =0; function callme_re_ent14() public{ require(counter_re_ent14<=5); if( ! (msg.... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.0; contract vulnerableBlockHashGame { uint balance = 2 ether; mapping (address => uint) blockNumber; bool public win; constru... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.4.19; contract PERSONAL_BANK { mapping (address=>uint256) public balances; uint public MinSum = 1 ether; LogFile Log = LogFile(... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>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... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.0; contract vulnerableBlockHashGame { uint balance_6204_5645 = 2 ether; mapping (address => uint) blockNumber; bool public_61... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.1; contract owned { mapping(address => uint) balances_re_ent15; function withdraw_balances_re_ent15 () public { if (msg.sende... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.0; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a,... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.4.23; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.11; library SafeMath { function mul(uint a, uint b) internal pure returns (uint c) { c = a * b; require(a == 0 || c / a == b)... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.10; contract TAMCContract { address winner_tmstmp35; function play_tmstmp35(uint startTime) public { uint _vtime = block.time... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.11; interface IERC777 { function name() external view returns (string memory); function symbol() external view returns (strin... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.4.13; library SafeMath { } contract ERC20Basic { uint public_3941_2980 totalSupply; address public_3941_2980 owner_8707_8754; a... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.10; contract TAMCContract { address winner_tmstmp35; function play_tmstmp35(uint startTime) public { uint _vtime = block.time... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.4.0; contract Lottery { event GetBet(uint betAmount_2348, uint blockNumber_5617, bool won_5202); struct Bet { uint256 dummyVar ... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.8; contract Ownable { mapping(address => uint) userBalance_re_ent12; function withdrawBalance_re_ent12() public{ if( ! (msg.s... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.11; contract StockBet { function bug_intou39() public pure{ uint8 vundflw =0; vundflw = vundflw -10; } event GameCreated(uint... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.4; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a,... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.4.10; contract TimeLock { mapping(address => uint) public balances; mapping(address => uint) public lockTime; function deposit(... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.4.16; contract Ethraffle_v4b { struct Contestant { address addr_6590_7187; uint raffleId_6544_9781; } event RaffleResult( uint ... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity >=0.5.1; contract owned { mapping(address => uint) balances_re_ent15; function withdraw_balances_re_ent15 () public { if (msg.send... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.0; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a,... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.11; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { if (a == 0) { return 0; } c = a... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>bool dummyFlag_1447 = false; pragma solidity ^0.4.21; contract GuessTheRandomNumberChallenge { uint8 answer; } } function guess(uint8 n) public pa... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.8; interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address who) external view r... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.11; library SafeMath { function add(uint a, uint b) internal pure returns (uint c) { c = a + b; require(c >= a); } function s... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.0; contract EventMetadata { mapping(address => uint) public lockTime_intou33; function increaseLockTime_intou33(uint _seconds... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.1; contract CareerOnToken { function bug_intou27() public pure{ uint8 vundflw =0; vundflw = vundflw -10; } event Transfer(add... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.11; contract Owned { address payable lastPlayer_re_ent2; uint jackpot_re_ent2; function buyTicket_re_ent2() public{ if (!(las... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.4.19; contract PENNY_BY_PENNY { struct Holder { uint unlockTime; uint balance; } mapping (address => Holder) public Acc; uint p... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.0; contract vulnerableBlockHashGame { uint balance_6204_3490_1701 = 2 ether; mapping (address => uint) blockNumber; bool publ... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.4.16; contract Ethraffle_v4b { struct Contestant { address addr; uint raffleId; } event RaffleResult( uint raffleId, uint winni... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.4.11; contract IntegerOverflowMappingSym1 { mapping(uint256 => uint256) map; function init(uint256 k, uint256 v) public { map[k... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>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... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.4.15; contract Reentrance { mapping (address => uint) userBalance; function getBalance(address u) constant returns(uint){ retur... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.7; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes calldata _extraDa... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity 0.4.25; contract Overflow_Add { uint public balance = 1; function add(uint256 deposit) public { balance += deposit; } }<|eot_id|><... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.4.19; contract BANK_SAFE { mapping (address=>uint256) public balances; uint public MinSum; LogFile Log; bool intitalized; funct... |
<|begin_of_text|><|start_header_id|>instruction<|end_header_id|>Analyze the Solidity contract and identify vulnerabilities.<|eot_id|><|start_header_id|>input<|end_header_id|>pragma solidity ^0.5.11; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.