A web3 Security Toolbox written in Rust.
Upcoming Features.
Contracts Features:
- Add a params for remapping like
--remaps @openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/
- Display all the contracts names inside the folder.
- Display all functions who has
_
but notinternal
flag. - Display all the externals calls.
Others features:
- Converter Wei Gas.
- ByteCode ASM deploy.
- Get interface from non compile contract
- Check the dif between OZ implentation and the implentation inside the sol file.
- Reorganise inside a file the interface and the contract to have them in correct order.
Convert Solidity to Interface
Convert Solidity file into an interface using the convert2interface (download the right version of the Solc then compile and extract the interface).
Just need to use the --path
parameter.
Mempool Watcher
A small Mempool Watcher in Rust.
- Need to add lots of features to filter every txs.
- Next step add a features to simulates txs.
Get informations using contract-info
.
/!\ This doesn't compile the contract /!
To have a quick overview of the (functions, modifiers, visibility, library etc...) you can use -m
for modifiers and -v
for the visibility.
Centralisation Risk
Usage :
swek modifiers --path /Users/ethnical/Sec/Rust/oz_implementations/contracts/OffShore.sol -m onlyOwner -c true