evm-fuzzing-resources
A curated collection of tools, articles, research, and guides for fuzzing smart contracts on the Ethereum Virtual Machine (EVM).
https://github.com/perimetersec/evm-fuzzing-resources
Last synced: about 1 month ago
JSON representation
AI
Utils
- Fizz - AI skill for generating Solidity fuzzing suites, by Pashov Audit Group
- Recon Magic Framework - Autonomous Solidity fuzzing via a multi-agent orchestration framework, by Recon
- Ultrafuzz: end-to-end agentic fuzzing for Solidity smart contracts
- Vibe Fuzzing Guide for Wake's Manually-Guided Fuzzing
Articles
Research & Background
- Learnings from 6 weeks of fuzzing Badger DAO's eBTC protocol
- A Guide to Crafting Robust Invariants
- Certora vs Echidna: a case study on invariant testing in eBTC
- Uniswap v3: A Fuzzing Review
- part 1 - learned-from-fuzzing-centrifuge-059) by nican0r
- eBTC Retrospective: A reflection on lessons learned in our extended fuzzing of eBTC
- Lessons From The Fuzzing Trenches
- Finding Real Vulnerabilities with the Renzo Fuzzing Repo
- Fuzzing in the Cloud: A review of the different cloud based options for fuzzing Solidity contracts
- Corn Engagement Retrospective: Lessons learned from our engagement fuzzing the Corn protocol
- Fuzzing vs. Formal Verification Discussion
- Manually Guided Fuzzing: A New Approach in Smart Contract Testing
- The call for invariant-driven development
- Why Audited Projects Are Getting Hacked & How To Avoid It (Invariants)
- The Bug That Was Missed - How fuzzing for preconditions can lead to high severity vulnerabilities
Tutorials & Guides
- Echidna Tutorial
- Medusa Official Documentation
- Foundry Invariant Testing Official Documentation
- Invariant Testing WETH With Foundry
- Introduction to fuzzing
- Benefits of Fuzzing
- Creating Invariant Tests for an AMM Smart Contract
- Debugging Echidna Coverage
- First Day At Invariant School
- Generating unit tests from broken stateful invariant tests
- Finding Denial of Service Bugs At Scale With Invariant Tests
- Using Echidna to test a smart contract library
- Building A Test Harness With Recon
- How To Define Invariants
- Implementing Your First Smart Contract Invariants: A Practical Guide
- 10 Steps To Easily Use 3 Fuzzers
- Introducing Create Chimera App V2
- Advanced Fuzzing Tips using Chimera
- Exploiting Precision Loss via Fuzz Testing
- Foundry Invariant Testing Official Documentation
- Wake Fuzzing Guide
- Recon Book
- Echidna Enters a New Era of Symbolic Execution - grieco)
- Find Highs Before External Auditors Using Invariant Fuzz Testing
- Wake Fuzzing Guide
Benchmarking
Utils
- scfuzzbench - Practical benchmark suite for smart-contract fuzzers focused on stateful invariant testing across realistic targets, by Antonio Viggiano
- Daedaluzz - Benchmark generator for smart-contract fuzzers using generated Solidity maze contracts, by ConsenSys Diligence
- Fuzzing Evaluation Guidelines - General guidelines for fair and reproducible fuzzing evaluations, by Moritz Schloegel
Fuzzing Background
Talks & Discussion
- Awesome Fuzzing - A curated list of fuzzing resources for learning Fuzzing, by Mohammed A. Imran
Fuzzing Software
Emerging/Specialized Fuzzers
Mainstream Fuzzers
Practical Code Samples
Utils
- List of Public Fuzzing Campaigns
- Property-based testing benchmark
- Solidity Fuzzing Challenge: Foundry vs Echidna vs Medusa (plus Halmos & Certora)
- Fuzzer Gas Metric Benchmark
- Reproduction of the $41M Curve reentrancy hacks on July 30 2023 using on-chain fuzzing with Echidna
- Reproduction of the $80M Rari Finance Hack on April 30 2022 using on-chain fuzzing with Echidna
Reusable properties
Utils
- ABDKMath64x64
- ERC7540
- ERCx Token Test Library - A reusable collection of Foundry tests for several ERC token standards, by Runtime Vеrification
Tooling
Libraries & Frameworks
- Chimera - Smart Contract Property-Based Testing Framework, by Recon
- Fuzzlib - Solidity Fuzzing Library, by Perimeter
- CallTestAndUndo - Simple abstract contract to help write invariant tests that do not influence the story, by Recon
- Arachne - Scaffolding framework for large-scale fuzzing suites, by Perimeter
- Medusa Template Generator - Generate a set of contracts for a Medusa testing campaign following Wonderland usage, by Wonderland
- Universal Fuzzing - Echidna fuzzing template, by Guardian Audits
Utils
- fuzz-utils - Set of Python tools to improve the developer experience when using smart contract fuzzing, by Trail of Bits
- CloudExec - A general purpose foundation for cloud-based fuzzing, by Trail of Bits
- echidna-trace-parser - A parser that converts echidna call traces into foundry PoC tests, by Enigma Dark
- Echidna Coverage Reporter - A TypeScript tool to parse and analyze Echidna code coverage reports for Solidity smart contracts, by 0xsi
- Echidna Logs Scraper - Scrape echidna logs for broken properties repros, by Recon
- Youdusa - Generate foundry tests for failling Medusa call sequences, by Wonderland
- Recon VS Code Extension - Seamless integration of Foundry, Medusa, and Echidna, by Recon
- Runes - CLI tool that converts Echidna fuzzer reproducer files to executable Foundry test files, by Enigma Dark
- echidna-trace-parser - A parser that converts echidna call traces into foundry PoC tests, by Enigma Dark
- Osiris Lite - CLI tool for managing remote fuzzing jobs, by Enigma Dark
Videos
Talks & Discussion
- Web3 Security: All Things Fuzzing with Victor Martinez
- Fuzzing and Heuristics interview with @devdacian
- Fuzzing Like a Degen: Building a Smart Contract Fuzzer
- All Things Fuzzing with Victor Martinez
- Advanced Fuzzing Techniques: An eBTC Case Study
- Invariant Testing Workshop
- Euler v2 Fuzzing Workshop by Víctor Martinez
- Size Credit Fuzzing Workshop
- Test your tests The dos and don'ts of testing
- Find Highs Using Invariant Fuzz Testing
- Submit your first PR to Medusa
- A glimpse into the future of invariant testing
- You should probably be fuzzing
- Echidna Made Me Do It!
- Uniswap V4: Taking Invariant Testing Where Manual Review Cannot Go
- The Efficacy of Fuzzing
- Uncover Hidden Bugs with Fuzzing
- Invariant Testing - Fuzzing Defi Protocols
- Fuzzing Like a Degen: Building a Smart Contract Fuzzer
- All Things Fuzzing with Victor Martinez
- Advanced Fuzzing Techniques: An eBTC Case Study
- Invariant Testing Workshop
- Euler v2 Fuzzing Workshop by Víctor Martinez
- Size Credit Fuzzing Workshop
- Find Highs Using Invariant Fuzz Testing
- Submit your first PR to Medusa
- A glimpse into the future of invariant testing
- You should probably be fuzzing
- Echidna Made Me Do It!
- Uniswap V4: Taking Invariant Testing Where Manual Review Cannot Go
- Past, Present and Future of EVM Smart Contract Fuzzers - grieco)
- The Art of Manually Guided Fuzzing
- Smart Contracts Fuzzing: Current Problems and Proposed Solutions
Tutorials & Guides
- bloqarl
- part 1 - KXJE54), part 6
- Invariant Testing WETH with Foundry
- Invariant Driven Development - Build a CDP system using Invariants as Safety Nets
- Wake Framework - Swiss Knife to Ethereum Tooling
- Fuzzing for Security Researchers
- Learn how to fuzz like a pro - Fuzzing workshop, by Trail of Bits
- Invariant Driven Development - Build a CDP system using Invariants as Safety Nets