Skip to content

πŸ¦‹ My Solidity Audits template and Useful Auditing tools list πŸ¦‹

Notifications You must be signed in to change notification settings

CrystallineButterfly/Solidity-audit-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

53 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ¦‹MANUAL ANALYSIS > AUTOMATED TOOLSπŸ¦‹

Useful CheckLists and Data waves πŸ‘½

⬛️ https://github.com/transmissions11/solcurity βœ…

⬛️ https://github.com/tamjid0x01/SmartContracts-audit-checklist βœ…

⬛️ https://github.com/securing/SCSVS βœ…

⬛️ https://owasp.org/www-community/OWASP_Risk_Rating_Methodology βœ…

⬛️ https://github.com/ZhangZhuoSJTU/Web3Bugs βœ…

⬛️ https://github.com/saeidshirazi/Awesome-Smart-Contract-Security βœ…

⬛️ https://github.com/OpenCoreCH/smart-contract-auditing-heuristics βœ…

⬛️ https://github.com/slowmist/Web3-Project-Security-Practice-Requirements βœ…

⬛️ https://solodit.xyz/dashboard βœ…

⬛️ https://github.com/dragonfly-xyz/useful-solidity-patterns/tree/main/patterns βœ…

⬛️ https://github.com/0xcacti/awesome-oracle-manipulation βœ…

⬛️ https://github.com/harendra-shakya/smart-contract-attack-vectors βœ…

⬛️ https://github.com/TheAlgorithms/Solidity βœ…

⬛️ https://www.youtube.com/watch?v=nady250cNo4 βœ…

⬛️ https://github.com/spearbit/armory βœ…

πŸ›Έ Solidity-Automated Auditing tools commands list πŸ›Έ

Solidity Audit Report and Contract efficency tools

Hardhat πŸš€

⬛️ npx hardhat compile Compile the contract code βœ…

⬛️ npx hardhat test Run the test suite βœ…

⬛️ npx hardhat coverage Generate code coverage report βœ…

⬛️ npx hardhat flatten Flatten the contract code into a single file βœ…

⬛️ npx hardhat run scripts/<script-name>.js Run a custom script βœ…

Slither πŸš€

⬛️ slither <file-name> Analyze the contract code for vulnerabilities βœ…

⬛️ slither --exclude <pattern> <file-name> Exclude certain files or functions from analysis βœ…

⬛️ slither --list-snakes List all available detectors βœ…

⬛️ slither --solc <path-to-solc> <file-name> Specify the path to the Solidity compiler to use βœ…

⬛️ slither --json <file-name> Generate a JSON report βœ…

⬛️ slither --detect all --disassemble <file-name> Disassemble the bytecode of a contract and perform an analysis βœ…

⬛️ slither --detect all --bytecode <bytecode> Analyze a bytecode string directly (without a Solidity source file) βœ…

MythX πŸš€

⬛️ mythx analyze <file-name> Analyze the contract code for vulnerabilities βœ…

⬛️ mythx version Display the current version of MythX CLI βœ…

⬛️ mythx status <job-id> Check the status of a submitted analysis job βœ…

⬛️ mythx report <job-id> Generate a report for a completed analysis job βœ…

⬛️ mythx list-analyses List all previous analysis jobs βœ…

Mythril πŸš€

⬛️ myth analyze <file-name> Analyze the contract code for vulnerabilities βœ…

⬛️ myth analyze --solv <version> <file-name> Specify the Solidity version to use for analysis βœ…

⬛️ myth check <address> Check a deployed contract for vulnerabilities βœ…

⬛️ myth analyze --mode full <file-name> Perform a full analysis (may take longer) βœ…

⬛️ myth version Display the current version of Mythril CLI βœ…

⬛️ myth analyze --disassemble <file-name> Disassemble the bytecode of a contract and perform an analysis βœ…

⬛️ myth analyze --solv <version> --bytecode <bytecode> Analyze a bytecode string directly (without a Solidity source file) βœ…

Surya πŸš€

⬛️ surya inheritance <file-name> Generate an inheritance graph for the contract code βœ…

⬛️ surya graph <file-name> Generate a control flow graph for the contract code βœ…

⬛️ surya mdreport <file-name> Generate a Markdown report for the contract code βœ…

⬛️ surya list-detectors List all available detectors βœ…

⬛️ surya describe-detector <detector-name> Display information about a specific detector βœ…

Other useful tools

OpenZeppelin πŸš€

⬛️ npm install @openzeppelin/contracts Install the OpenZeppelin contracts library βœ…

⬛️ npx oz init Initialize a new OpenZeppelin project βœ…

⬛️ npx oz deploy Deploy the smart contracts to the network using OpenZeppelin's deployment tool βœ…

⬛️ npx oz send-tx Send a transaction to a deployed contract using OpenZeppelin's console tool βœ…

⬛️ npx oz verify Verify the source code and bytecode of a deployed contract on Etherscan using OpenZeppelin's verification tool βœ…

More Hardhat Fun πŸš€

⬛️ npx hardhat clean Delete the artifacts and cache folders βœ…

⬛️ npx hardhat node Start a local Hardhat node for testing βœ…

⬛️ npx hardhat run <script.js> Run a script with Hardhat's network context βœ…

⬛️ npx hardhat help Display the help menu βœ…

Hardhat-Deploy πŸš€

⬛️ npx hardhat deploy --network <network-name> Deploy the smart contracts to a specific network βœ…

⬛️ npx hardhat run scripts/<script.js> --network <network-name> Run a script with the context of a specific network βœ…

⬛️ npx hardhat export --export <file-name>.json --network <network-name> Export the deployed contract addresses and ABIs to a JSON file βœ…

Hardhat-Verify πŸš€

⬛️npx hardhat verify --network <network-name> <contract-address> "<constructor-args>" Verify the source code and bytecode of a deployed contract on Etherscan βœ…

⬛️ npx hardhat verify --network <network-name> --contract contracts/<contract-name>.sol:<contract-address> --constructor-args "<constructor-args>" Verify the source code and bytecode of a deployed contract on Etherscan using a specific contract file and constructor arguments βœ…

⬛️ npx hardhat verify --network <network-name> --contract contracts/<contract-name>.sol --constructor-args "<constructor-args>" <contract-address> Verify the source code and bytecode of a deployed contract on Etherscan using a specific contract file and constructor arguments βœ…

Scribble πŸš€

⬛️ scribble <file-name> Generate a formal specification for the contract code βœ…

SolSat πŸš€

⬛️ solstat --help See all commands possible for solstat βœ…

Blessings πŸ™ Keep coding, Keep learning, Keep growing, Keep searching πŸ™

πŸ¦‹πŸ‘½ Yours Truly, K42 to you πŸ‘½πŸ¦‹

About

πŸ¦‹ My Solidity Audits template and Useful Auditing tools list πŸ¦‹

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published