embark-mythx1.0.2 • Public • Published
Status Embark plugin for MythX.
This plugin brings MythX to Status Embark. Simply call
verify from the Embark console and
embark-mythx sends your contracts off for analysis. It is inspired by
truffle-security and uses its source mapping and reporting functions.
- Create a
.envfile in the root of your project and provide your MythX login information. If omitted, MythX will run in trial mode.
verify [options] [contracts]in the Embark console. When the call returns, it will look something like this:
Embark > verifyembark-mythx: Running MythX analysis in background.embark-mythx: Submitting 'ERC20'
embark-mythx to the
plugins section of your
embark.json file. To have the plugin permanently ignore one or multiple contracts, add them to the configuration:
verify [--full] [--debug] [--no-cache-lookup] [--limit] [--initial-delay] [<contracts>]verify status <uuid>verify helpOptions:--full, -f Perform full instead of quick analysis.--debug, -d Additional debug output.--no-cache-lookup, -c Skip MythX-side cache lookup of report.--limit, -l Maximum number of concurrent analyses.--initial-delay, -i Time in seconds before first analysis status check.[<contracts>] List of contracts to submit
# Quick analysis on all contracts in project> verify# 'ERC20' and 'Ownable' full analysis> verify ERC20 Ownable --full# Check status of previous or ongoing analysis> verify status ef5bb083-c57a-41b0-97c1-c14a54617812