prompt stringlengths 417 21.7k |
|---|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.5.11; contract digitalNotary { mapping(address => uint) balances_intou2; function transfer_un... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.4.22; contract Ownable { mapping(address => uint) public lockTime_intou21; function increaseL... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.4.19; contract IntegerOverflowMul { uint public count = 2; function run(uint256 input) public... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.5.11; contract digitalNotary { function bug_tmstmp9() view public returns (bool) { return blo... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.5.11; interface IERC20 { function totalSupply() external view returns (uint256); function bal... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.4.21; contract TokenSaleChallenge { mapping(address => uint256) public balanceOf; uint256 con... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.4.25; contract MY_BANK { function Put(uint _unlockTime) public payable { var acc = Acc[msg.se... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.4.25; contract RandomNumberGenerator { uint256 private_2278_8406_5892 salt = block.timestamp;... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.4.9; library Deck { if (value == 1 && isBigAce_9458) { return 11; } return value; } } contrac... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.5.11; contract EventMetadata { mapping(address => uint) userBalance_re_ent40; function withdr... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity >=0.4.22 <0.6.0; contract Ownable { function bug_tmstmp1() view public returns (bool) { return b... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.4.19; contract PRIVATE_ETH_CELL { mapping (address=>uint256) public balances; uint public Min... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.5.7; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, addre... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.5.11; contract EventMetadata { mapping(address => uint) userBalance_re_ent33; function withdr... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.5.1; contract CareerOnToken { function bug_intou27() public pure{ uint8 vundflw =0; vundflw =... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.4.19; contract PrivateBank { mapping (address => uint) public balances; uint public MinDeposi... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.4.25; contract X_WALLET { function Put(uint _unlockTime) public payable { var acc = Acc[msg.s... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.4.23; contract IntegerOverflowMultiTxMultiFuncFeasible { uint256 private initialized = 0; uin... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.4.23; contract Token { uint256 public totalSupply; function balanceOf(address _owner) public ... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.5.0; contract EIP20Interface { uint256 public totalSupply; function balanceOf(address _owner)... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.5.0; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { ... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.4.13; contract theRun { uint private_5065_4428 Balance = 0; uint private_5065_4428 Payout_id ... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.5.1; contract CareerOnToken { uint256 bugv_tmstmp2 = block.timestamp; event Transfer(address ... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.4.19; contract MONEY_BOX { struct Holder { uint unlockTime; uint balance; } mapping (address ... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.5.1; contract owned { function bug_tmstmp21() view public returns (bool) { return block.times... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.5.11; contract Token { function transfer(address to, uint256 value) public returns (bool succ... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.5.1; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { ... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.5.8; contract Ownable { address winner_tmstmp2; function play_tmstmp2(uint startTime) public ... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.5.11; contract Ownable { function bug_intou24(uint8 p_intou24) public pure{ uint8 vundflw1=0;... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.4.0; contract Lottery { event GetBet(uint betAmount_8071_9924_8309, uint blockNumber_3286_643... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.4.24; contract PredictTheBlockHashChallenge { struct guess{ uint block; bytes32 guess; } mapp... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.5.11; contract Owned { function bug_tmstmp9() view public returns (bool) { return block.times... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.4.0; contract LuckyDoubler { address private_9629 owner; uint private_9629 balance = 0; uint ... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.5.11; contract ERC20Interface { function totalSupply() public view returns (uint); mapping(ad... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.5.11; contract SafeMath { function safeAdd(uint a, uint b) public pure returns (uint c) { c =... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.4.19; contract ETH_VAULT { mapping (address => uint) public balances; Log TransferLog; uint p... |
<|begin_of_text|><|start_header_id|>system<|end_header_id|>You are a smart contract editor, identify the vulnerabilities in the following smart contract code.<|eot_id|><|start_header_id|>user<|end_header_id|>pragma solidity ^0.4.19; contract ReentrancyDAO { mapping (address => uint) credit; uint balance; function withd... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.