Welcome to my Web3 Auditing Learning Path! This repository is dedicated to my journey to becoming a proficient Web3 security auditor. Below is a structured roadmap with resources, topics, and projects.
- Prerequisites
- Introduction to Web3 Security
- Smart Contract Development Basics
- Smart Contract Security
- Audit Practice & CTFs
- Deep Dive: DeFi and Protocols
- Case Studies and Real-World Audits
- Additional Resources
- Basic Knowledge of Web2 Security
Familiarity with Web2 pentesting, OWASP Top 10, and secure coding practices. - Programming Skills
- Languages: Solidity, JavaScript, and familiarity with Python.
- Tools: VS Code, Remix IDE.
- Overview of Blockchain: Ethereum basics, EVM, and consensus mechanisms.
- Web3 Security Basics: Key terms, common attack vectors, and fundamental Web3 differences from Web2.
- Recommended Resources:
- Ethereum Whitepaper
- Articles on Web3 Security basics.
- Getting Started with Solidity:
- Solidity basics, data types, functions, and modifiers.
- Basic smart contract examples with Foundary and Remix.
- Deploying Contracts:
- Learn to deploy contracts on testnets using Foundary and Alchemy.
- Common Vulnerabilities:
- Reentrancy attacks, integer overflows/underflows, tx.origin, delegatecall, etc.
- Study the SWC Registry.
- Testing and Security Tools:
- Mythril, Slither, Aderyn and Echidna.
- Resources: ConsenSys Security blog, Ethernaut
- Capture the Flag (CTF) challenges:
- Try CTFs from Ethernaut, Damn Vulnerable DeFi, and Paradigm CTF.
- Test Audits:
- Choose a sample smart contract from GitHub or Code4rena and practice auditing.
- DeFi Protocols:
- Understand fundamentals of DeFi, DEXs, lending, and yield farming.
- Study major protocols: Uniswap, Compound, Aave.
- Layer 1 and Layer 2 Protocols:
- Dive into layer 2 solutions like Rollups, Plasma, and Optimistic rollups.
- Code4rena Audits:
- Review past Code4rena contests, including Tribe/RGT Merger and other complex projects.
- Audit Reports:
- Study reports from Trail of Bits, ConsenSys Diligence, and OpenZeppelin.
- Identify common findings and mitigation techniques.
- Books: Mastering Ethereum, DeFi Security Handbook, How to Defi.
- Communities: Join forums and Discord communities focused on Web3 security.