back to home

Cyfrin / aderyn

Solidity Static Analyzer that easily integrates into your editor

View on GitHub
745 stars
106 forks
10 issues

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing Cyfrin/aderyn in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/Cyfrin/aderyn)
Preview:Analyzed by RepoMind

Repository Overview (README excerpt)

Crawler view

A powerful Solidity static analyzer that takes a bird's eye view over your smart contracts. Docs Discord X/Twitter --- [![Stargazers][stars-shield]][stars-url] [![Forks][forks-shield]][forks-url] [![Contributors][contributors-shield]][contributors-url] [![Release][release-shield]][release-url] [![Issues][issues-shield]][issues-url] [![GPL-3.0 License][license-shield]][license-url] What is Aderyn? **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. There is also an officially supported VSCode extension for Aderyn. Download from the Visual Studio Marketplace and start identifying vulnerabilities in your Solidity code with ease. Features • Runs without need for any configuration support for Foundry and Hardhat projects. • Creates Markdown, JSON and Sarif reports. • Powers our officially supported VSCode extension (1800+ downloads) • List of supported detectors • Contributor Friendly • Downloaded more than 45K times. Installation > **NOTE** Windows users must have WSL installed Cyfrinup - All in one cross platform installation manager for Cyfrin tools. One time setup. - Run Re-run to upgrade all Cyfrin tools to the latest version. Curl Once installed, run to upgrade. Homebrew Once installed, run to upgrade. npm Once installed, re-run to upgrade. If you are installing with Curl or Homebrew or npm, ensure that the correct version of Aderyn in your path comes from either the Homebrew or npm global packages directory. If an older version exists at , remove it using , as this is no longer the default installation location. Quick Start Run to check if Aderyn is installed successfully. Quick Start example with video guide. This generates a report.md See examples using more CLI options here VS Code extension Officially supported VSCode extension for Aderyn. Download from Visual Studio Marketplace Github Action Checkout Aderyn CI Assistant in the marketplace. Performs Static analysis on Solidity codebases in CI to catch potential vulnerabilities before committing code. Contributing & License Help us build Aderyn 🦜 Please see our contribution guidelines for in-depth developer environment setup and PR approval process. 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 Credits This project exists thanks to all the people who contribute. Attribution • 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. [contributors-shield]: https://img.shields.io/github/contributors/cyfrin/aderyn [contributors-url]: https://github.com/cyfrin/aderyn/graphs/contributors [forks-shield]: https://img.shields.io/github/forks/cyfrin/aderyn [forks-url]: https://github.com/cyfrin/aderyn/network/members [stars-shield]: https://img.shields.io/github/stars/cyfrin/aderyn [stars-url]: https://github.com/cyfrin/aderyn/stargazers [release-shield]: https://img.shields.io/github/v/release/Cyfrin/aderyn [release-url]: https://github.com/Cyfrin/aderyn/releases [issues-shield]: https://img.shields.io/github/issues/cyfrin/aderyn [issues-url]: https://github.com/cyfrin/aderyn/issues [license-shield]: https://img.shields.io/github/license/cyfrin/aderyn?logoColor=%23fff&color=blue [license-url]: https://github.com/cyfrin/aderyn/blob/master/LICENSE [linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge&logo=linkedin&colorB=555