Performs Static and Dynamic Security Analysis using the MythX Cloud Service.
In order to start using the plugin you need to activate it in plugin manager.
The plugin has dependency Solidity Compiler
plugin, you need to activate in also.
You need to open the plugin and click on 'MythX Settings' button on the bottom of the plugin. There is a block with credentials on top of the plugin's Settings page. Those will be used for execution security analysis via MythX. There are trial credentials by default. You can use those credentials to analyze your contracts, but the report will be restricted.
You can create own account on mythx.io
File explorer
Solidity compiler
pluginMythX
pluginAnalize
, wait responseWhen the report is received you will see a list of issues. You can click on an issue it will highlight the place of the issue in a code.
If you run the plugin locally on Chrome, you may face with a white screen issue. The issue happens when a plugin uses more than 10% of the allocated resources for a page. In such a way browser detect and prevent malicious behavior of non-origin content, which is rendered in iframe on the page. The browser stops rendering of the content and waits until the sub-frame process stops using so many resources.
Solutions:
Make sure that you build the plugin for the production environment
Make sure that your React Chrome extension is disabled
Brave browser error:
Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
Solution:
Set Cookies
setting to Allow all cookies
on chrome://settings/shields
page
cd tools/ipfs-upload
npm install
node tools/ipfs-upload/bin/upload-remix-plugin <path-to-react-build-folder>
: Upload to IPFS
(Copy the Hash provided)/plugins/mythx/profile.json
build/profile.json