Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
sabre-mythx
Advanced tools
Minimum viable client for the MythX smart contract security analysis service
Sabre is a minimum viable MythX client. It analyzes a Solidity smart contracts using the MythX cloud service.
$ npm install -g sabre-mythx
Use Metamask or a web3-enabled browser to sign up for a free account on the MythX website and set your API password. Set up your environment using the Ethereum address you signed up with as the username (for increased convenience add those two lines into your .bashrc
or .bash_profile
).
export MYTHX_ETH_ADDRESS=0x(...)
export MYTHX_PASSWORD=password
$ sabre [options] <solidity_file>
OPTIONS:
--mode <quick/full> Analysis mode (default=quick)
--clientToolName <string> Override clientToolNames
--noCacheLookup Deactivate MythX cache lookups
--sendAST Submit AST instead of source code
--debug Print MythX API request and response
This analysis should take about 60 to 90 seconds to finish.
$ sabre contracts/token.sol
✔ Compiled with solc v0.5.7 successfully
token.sol
13:4 error The binary subtraction can underflow https://smartcontractsecurity.github.io/SWC-registry/docs/SWC-101
14:4 error The binary addition can overflow https://smartcontractsecurity.github.io/SWC-registry/docs/SWC-101
✖ 2 problems (2 errors, 0 warnings)
MythX tool builders will earn revenue share in Dai when we go live with paid subscription plans. Details will be released soon. Ping us on Discord if you'd like to get involved.
Some links:
FAQs
Client for the MythX smart contract security analysis service
The npm package sabre-mythx receives a total of 9 weekly downloads. As such, sabre-mythx popularity was classified as not popular.
We found that sabre-mythx demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.