Aderyn is retired and no longer maintained. There are no supported installation or upgrade paths. The usage and integration documentation below is retained for historical reference. Existing installations receive no updates or support.
A powerful Solidity static analyzer that takes a bird's eye view over your smart contracts.
Aderyn is an open-source public good developer tool. It is a Rust-based solidity smart contract static analyzer designed to help protocol engineers and security researchers find vulnerabilities in Solidity code bases.
You can read the Cyfrin official documentation for an in-depth look at Aderyn's functionalities.
The VS Code extension is also retired and has been delisted from the Visual Studio Marketplace.
- Runs without need for any configuration support for Foundry and Hardhat projects.
- Creates Markdown, JSON and Sarif reports.
- Previously powered the VS Code extension.
- List of supported detectors
- Contributor Friendly
- Downloaded more than 45K times.
Aderyn installation and upgrades are no longer supported through Homebrew, npm, Cyfrinup, or the shell installer. Legacy installer scripts and release assets may remain accessible during retirement; they are not supported installation paths.
The Aderyn Homebrew package is retired. Remove an existing installation with:
brew uninstall cyfrin/tap/aderynThe Aderyn npm package is retired. Remove an existing global installation with:
npm uninstall --global @cyfrin/aderynRun aderyn --version to check if Aderyn is installed successfully.
Quick Start example with video guide.
cd path/to/solidity/project/root
aderyn
This generates a report.md
See examples using more CLI options here
The VS Code extension is retired and has been delisted from the Visual Studio Marketplace. Existing users can uninstall Aderyn from VS Code's Extensions view.
The historical Aderyn CI Assistant integration performed static analysis on Solidity codebases in CI. This integration is no longer supported.
Historical developer setup and contribution information is retained in the contribution guidelines. Aderyn is an open-source software licensed under the GPL-3.0 License.
To learn how to create your custom Aderyn detectors, checkout the official docs
Aderyn relies on a custom backend to generate AST for Solidity codebases. It leverages foundry-compilers
This project exists thanks to all the people who contribute.
- Initial inspiration for AST Visitor code from solc-ast-rs.
- Original detectors based on 4naly3er detectors.
- Shoutout to the original king of static analysis slither.

