Giter VIP home page Giter VIP logo

u2.github.io's Introduction

u2.github.io's People

Contributors

u2 avatar

u2.github.io's Issues

test

slither --json - --pretty-json cvc/SWC/swc-113-dos/send_loop.sol
{
  "success": true,
  "error": null,
  "result": {
    "detectors": [
      {
        "description": "Refunder.refunds (cvc/SWC/swc-113-dos/send_loop.sol#11) is never initialized. It is used in:\n\t- Refunder.refundAll() (cvc/SWC/swc-113-dos/send_loop.sol#19-24)\n",
        "check": "uninitialized-state",
        "impact": "High",
        "swc-issue": "swc-109 Uninitialized Storage Pointer",
        "recommend": "\nInitialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.\n"
      },
      {
        "description": "Refunder.refundAll() (cvc/SWC/swc-113-dos/send_loop.sol#19-24)using transfer() and send() functions which forward a fixed amount of 2300 gas:\n\t- require(bool)(refundAddresses[x].send(refunds[refundAddresses[x]])) (cvc/SWC/swc-113-dos/send_loop.sol#22)\n",
        "check": "hardcode-gas",
        "impact": "Medium",
        "swc-issue": "swc-134 State Message call with hardcoded gas amount",
        "recommend": "Avoid the use of transfer() and send() and do not otherwise specify a fixed amount of gas when performing calls. Use .call.value(...)('') instead. Use the checks-effects-interactions pattern and/or reentrancy locks to prevent reentrancy attacks."
      },
      {
        "description": "solc-0.4.24 is not recommended for deployment\n",
        "check": "solc-version",
        "impact": "Low",
        "swc-issue": "swc-102 Outdated Compiler Version",
        "recommend": "Deploy with any of the following Solidity versions:\n    - 0.8.18\n    \n    The recommendations take into account:\n    - Risks related to recent releases\n    - Risks of complex code generation changes\n    - Risks of new language features\n    - Risks of known bugs\n    \n    Use a simple pragma version that allows any of these versions.\n    Consider using the latest version of Solidity for testing."
      },
      {
        "description": "Pragma version0.4.24 (cvc/SWC/swc-113-dos/send_loop.sol#7) allows old versions\n",
        "check": "solc-version",
        "impact": "Low",
        "swc-issue": "swc-102 Outdated Compiler Version",
        "recommend": "Deploy with any of the following Solidity versions:\n    - 0.8.18\n    \n    The recommendations take into account:\n    - Risks related to recent releases\n    - Risks of complex code generation changes\n    - Risks of new language features\n    - Risks of known bugs\n    \n    Use a simple pragma version that allows any of these versions.\n    Consider using the latest version of Solidity for testing."
      },
      {
        "description": "Loop condition x < refundAddresses.length (cvc/SWC/swc-113-dos/send_loop.sol#20) should use cached array length instead of referencing `length` member of the storage array.\n ",
        "check": "cache-array-length",
        "impact": "Low",
        "swc-issue": "swc-113 DoS with Failed Call",
        "recommend": "Cache the lengths of storage arrays if they are used and not modified in `for` loops."
      }
    ]
  }
}

GluonPlasma

The number of potential paths is very large, so blockchains amortize validation by
downloading every transaction and verifying them as they are added. This allows
us to assume that every reference to an already verified transaction is a valid path
and only verify the most recently added UTXOs.

Intertwined identity and
agency using crypto addresses and signatures are stronger than any mobile 2FA
side channel association and authentication[11].

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.