๐ชจ why use many token when few token do trick โ Claude Code skill that cuts 65% of tokens by talking like caveman
Solidity static analyzer for CLI and editor workflows
Aderyn scans Solidity projects for vulnerabilities and writes reports in markdown, JSON, or SARIF. It works from the command line and also powers a VS Code extension for in-editor analysis.

Builders who want Solidity findings in their editor, terminal, or CI.
You can catch smart contract issues earlier without setting up much project configuration.
What it does
Solidity vulnerability scanning
Analyzes Solidity codebases for supported detectors and finds common contract risks.
Report output formats
Generates markdown, JSON, and SARIF reports for review and CI workflows.
Zero-config project support
Runs on Foundry and Hardhat projects without extra configuration.
Editor integration
Powers the officially supported VS Code extension for in-editor analysis.
CI usage
Can run in GitHub Actions to check Solidity code before changes land.
How to get it
- 1Once installed, run aderyn-update to upgrade.
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/cyfrin/aderyn/releases/latest/download/aderyn-installer.sh | bash
- 2Once installed, run brew upgrade cyfrin/tap/aderyn to upgrade.
brew install cyfrin/tap/aderyn
- 3Once installed, re-run npm install @cyfrin/aderyn -g to upgrade.
npm install @cyfrin/aderyn -g
- 4Quick Start example with video guide.
cd path/to/solidity/project/root aderyn
README
A powerful Solidity static analyzer that takes a bird's eye view over your smart contracts.
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 cyfrinup
Re-run cyfrinup to upgrade all Cyfrin tools to the latest version.
Curl
Once installed, run aderyn-update to upgrade.
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/cyfrin/aderyn/releases/latest/download/aderyn-installer.sh | bash
Homebrew
Once installed, run brew upgrade cyfrin/tap/aderyn to upgrade.
brew install cyfrin/tap/aderyn
npm
Once installed, re-run npm install @cyfrin/aderyn -g to upgrade.
npm install @cyfrin/aderyn -g
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 ~/.cyfrin/bin/aderyn, remove it using rm -f ~/.cyfrin/bin/aderyn, as this is no longer the default installation location.
Quick Start
Run 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
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.
Files in the repo
- .cargo
- .github
- .vscode
- aderyn
- aderyn_core
- aderyn_driver
- benchmarks
- reports
- tests
- tools
- .git-blame-ignore-revs
- .gitattributes
- .gitignore
- .gitmodules
- bacon.toml
- benchmarks.sh
- Cargo.lock
- Cargo.toml
- CODEOWNERS
- CONTRIBUTING.md
- deny.toml
- dist-workspace.toml
- funding.json
- justfile
- LICENSE
- README.md
- RELEASE_CHECKLIST.md
- reportgen.toml
- rust-toolchain.toml
- rustfmt.toml
- typos.toml
Discussion (0)
Ask about usage, or say what you built with itSign in to join the discussion.
No comments yet. Be the first to say what this is good for.
More tools
The best-benchmarked open-source AI memory system. And it's free.
Orca is the ADE for working with a fleet of parallel agents. Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io
Never stop coding. Free MIT AI gateway: one endpoint, 352 providers (150+ free), 1200+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 550+ contributors
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
