Giter VIP home page Giter VIP logo

solidity-vulnerability-scanner's Introduction

SVG logo License MIT

🪲 Solidity Vulnerability Scanner using AI

This is a tool that connects to the OpenAI API and scans all Solidity files in your GitHub repository for vulnerabilities. The current workflow will run after each push request.

Follow these steps to setup.

Create a GitHub Action:

  1. First, create a new GitHub Action in your repository. You can do this by adding a .github/workflows/main.yml file to your repository using the contents found in example/main.yml
  2. Ensure you replace the engine paramater with your desired OpenAI engine.

See here for a list of engines OpenAI models

Set up an OpenAI API key:

  1. Go to the main page of their GitHub repository.
  2. Click on the "Settings" tab.
  3. In the left sidebar, click on "Secrets and variables."
  4. Click on the Action button.
  5. Click on New repository secret
  6. Enter OPENAI_API_KEY as the name and provide their own OpenAI API key as the value.
  7. Click on "Add secret."

solidity-vulnerability-scanner's People

Contributors

ankh2054 avatar

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.