DeFiGuard
Heuristic Solidity/DeFi security review toolkit. It flags suspicious code patterns (e.g. unauthorized token-source transferFrom, delegatecall sites) with file:line and a "what to check" note, and backs each rule with runnable Foundry scenarios: a vulnerable contract, a fixed one, and a test
- Version
- 0.1.0
- License or terms
- MIT
Installation or connection
git clone https://github.com/turayevr12-spec/defiguard.git → cd defiguard → python3 -m venv .venv && source .venv/bin/activate → python -m pip install -e ".[dev]". Usage: defiguard scan ./src (or --format json --output report.json, --fail-on high). No-install: PYTHONPATH=src python3 -m defiguard.cli scan <path>
Manual setup
Python ≥ 3.10. No credentials, API keys or network access required (no runtime dependencies). Foundry (forge) is optional, only to run the example scenarios.
Pricing
Free and open source (MIT). No account needed.
Review scope
Checked the MIT GitHub repository and its install and scan commands. No runtime dependencies or network access claimed. The scanner was not run.
Setup reviewed on 2026-12-03. This is not a guarantee of every model or platform.