Skip to content

ruby1113/solscan

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Solscan

Solscan is a simple open-source Solidity vulnerability scanner written in Python.
It scans Solidity smart contracts for common security issues and generates a report.

Features

  • Detects usage of dangerous patterns:
    • tx.origin
    • delegatecall
    • selfdestruct
    • block.timestamp
    • call.value
    • Potential reentrancy vulnerabilities

Installation

Requires Python 3.8+.

git clone <your-repo-url>
cd solscan

Usage

Scan a project

python3 scanner.py examples/ --output reports/report.txt

Output

Reports will be saved inside the reports/ folder.

Example

Run on the provided example contract:

python3 scanner.py examples/ --output reports/example_report.txt
cat reports/example_report.txt

Disclaimer

This is an educational tool.
It is not a replacement for professional audits.

About

Solscan security scanner with CLI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%