RegInspect is a static analysis tool that uses regular expressions to detect vulnerabilities in source code. It is designed to be language-agnostic, meaning that it can be used with any programming language.
- Customizable rules and regular expressions.
- Detects vulnerabilities using regular expressions.
- Supports multiple programming languages.
- Generates Vulnerability report in MarkDown.
Build RegInspect:
git clone https://github.com/jayateertha043/RegInspect.git
cd RegInspect
go build .
or
Install using go install:
go install github.com/jayateertha043/RegInspect@latest
Run RegInspect:
RegInspect -h
_______ _______ _______ _________ _ _______ _______ _______ _______ _________
( ____ )( ____ \( ____ \\__ __/( ( /|( ____ \( ____ )( ____ \( ____ \\__ __/
| ( )|| ( \/| ( \/ ) ( | \ ( || ( \/| ( )|| ( \/| ( \/ ) (
| (____)|| (__ | | | | | \ | || (_____ | (____)|| (__ | | | |
| __)| __) | | ____ | | | (\ \) |(_____ )| _____)| __) | | | |
| (\ ( | ( | | \_ ) | | | | \ | ) || ( | ( | | | |
| ) \ \__| (____/\| (___) |___) (___| ) \ |/\____) || ) | (____/\| (____/\ | |
|/ \__/(_______/(_______)\_______/|/ )_)\_______)|/ (_______/(_______/ )_(
Usage of RegInspect.exe:
-dir string
Directory to scan (default ".")
-ext string
Scan Files ending with specific extensions (comma-Separated)
-out string
Path to Output File (default "RegInspect_Report.MD")
-threads int
No. Of Threads (default 10)
-vuln string
JSON file containing vulnerabilities
RegInspect -dir ./examples/solidity -out ./examples/solidity/output.MD -vuln ./rules/solidity/rules.json
- @byterocket (For common solidity issues & inspiration drawn from c4udit tool.)
👤 Jayateertha G
- Twitter: @jayateerthaG
- Github: @jayateertha043