SmartAudit is an advanced CLI tool designed to perform comprehensive security analysis on Solidity smart contracts. Leveraging AI-enhanced detection and multi-layered vulnerability scanning, SmartAudit helps developers identify and mitigate potential security risks in blockchain applications.
-
Comprehensive Vulnerability Detection
- Identifies multiple vulnerability types
- AI-enhanced analysis
- Detailed security scoring
-
Flexible Analysis Modes
- Single contract analysis
- Batch contract scanning
- AI-powered deep analysis
-
Customizable Output
- Multiple reporting formats (table, JSON, markdown)
- Severity-based filtering
- Detailed vulnerability recommendations
- Go 1.18+
- Solidity Compiler
go install github.com/PradyXd/smart-audit/cmd/smartaudit@latest
git clone https://github.com/PradyXd/smart-audit.git
cd smart-audit
go mod tidy
go install ./cmd/smartaudit
smartaudit analyze contract.sol
smartaudit analyze contract.sol -v
smartaudit deep-analyze contract.sol --ai-key YOUR_API_KEY
smartaudit batch-analyze ./contracts -r
smartaudit batch-analyze ./contracts -r -p
smartaudit analyze contract.sol --output-format json
smartaudit analyze contract.sol --severity-filter high
Unsafe Token Transfers Reentrancy Risks Timestamp Manipulation Access Control Weaknesses Self-Destruct Mechanism Risks External Call Vulnerabilities Mathematical Operation Risks
Fork the repository Create your feature branch Commit your changes Push to the branch Create a new Pull Request
This project is licensed under the Apache 2.0 License - see the LICENSE.md file for details.