Slither
Run locally against a project utilizing compilation frameworks like Hardhat, Foundry, Brownie, or Dapp via the terminal command slither ., or execute it against a single standalone .sol file (slither <filename>.sol).
What is Slither?
Slither brings together automated vulnerability detection and automated optimization detection. Scans for known logic flaws, reentrancy, access control issues, and insecure coding patterns with a low false-positive rate. Identifies gas and code inefficiencies missed by standard compilers.
Its documented workflow includes: Requires Python 3.10+ and the Solidity compiler (solc), typically managed via solc-select. Installation Methods *Using uv (Recommended):* uv tool upgrade slither-analyzer or package installation.
The platform documentation describes wallet access this way: Slither has no wallet model, private key management, trading interface, or financial controls, as it does not execute transactions, interact with liquidity pools, or interface with memecoin markets.
Official resources
Slither features
Automated Vulnerability Detection
Scans for known logic flaws, reentrancy, access control issues, and insecure coding patterns with a low false-positive rate.
Automated Optimization Detection
Identifies gas and code inefficiencies missed by standard compilers.
In-Built Tools / Utilities
Includes secondary command-line utilities such as slither-flat (contract flattening for block explorer verification), slither-check-erc (ERC standard conformance validation), slither-simil (code similarity detection), and slither-read-storage.
CI/CD Integration
Integrates into continuous integration platforms like GitHub Actions for automated pre-deployment security checks.
How to use Slither
Prerequisites
Requires Python 3.10+ and the Solidity compiler (solc), typically managed via solc-select.
Installation Methods
Installation Methods
*Using uv (Recommended):* uv tool
*Using uv (Recommended):* uv tool upgrade slither-analyzer or package installation.
*Using Pip:* python3 -m pip
*Using Pip:* python3 -m pip install slither-analyzer.
*Using Homebrew:* brew install slither-analyzer.
*Using Homebrew:* brew install slither-analyzer.
Who is Slither for?
Slither is suited to users looking for automated vulnerability detection and automated optimization detection on Languages. Its documented workflow includes wallet funding and balance management.
Before you use it
- Static analyzers evaluate source code paths and logic patterns; they cannot predict external economic behavior, market liquidity, tokenomics viability, or malicious intent hidden behind legal/social engineering layers (such as standard rug pulls executed vi…
- Running Slither effectively typically requires a fully functioning compilation environment (e.g., Hardhat/Foundry setups) with properly resolved dependencies; running it on isolated files missing imports may limit its detection scope.
