/remix-analysis-plugin

A plugin for doing analysis on remix-ide smart contracts using slither and mythril

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Analysis Plugin

remix-analysis-plugin integrates remix with analysis tools such as Slither and Mythril. The sooner a solidity developer learns of an issue, the sooner they can understand it and make a correct fix. This plugin reduced the friction in running separate tools by adding a button to run them from within the remix-ide website.

The remix plugin API is based from https://github.com/yann300/remix-plugin

Usage

{
    "title": "Analysis Plugin",
    "url": "http://jittery-space.surge.sh"
}
  • Click the Load button and you should see Analysis Plugin button appear
  • Click the Analysis Plugin button to load the plugin into a small window
  • Now click on the button you would like to perform the analysis

Setup

If you would like to run the analysis software on your own computer instead of the public one, follow the directions below

  • Install the solidity compiler in your platform as detailed here
  • Then install python 3.6 and above and also install the slither and mythril python packages in your system.
  • Finally installed the required node dependencies via npm i and then replace the URL of the plugin above, with the URL of where you're hosting the plugin i.e. http:localhost:3000 . Also make sure there are no paths in the URL as this might prevent the plugin from working correctly

Disclaimer

By using this plugin, you acknowledge that the compilation results from your contract will be sent over basic HTTP to a 3rd party server for analysis. And that the developers of the this plugin ARE NOT LIABLE to any LOSS, INJURY, HACKING , DATA LOSS, FINANCIAL LOSS, TIME LOSS and DATA CORRUPTION that may occur from your use of our plugin. You also acknowledge that this plugin is provided on an as-is basis and all functionality works as documented above.