Skip to content

SdxShadow/Hack_web3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web3 Hacker Logo

Web3 Hacker & Pentester Guide

This guide is for authorized security research and education only. All techniques must be practiced on testnets, forks, or with explicit written permission. Unauthorized access to any system is illegal. The authors are not responsible for misuse.


Quick Navigation

# Module Topics Difficulty
01 Blockchain Fundamentals EVM internals, ABI, gas, L2, bridges
02 Recon & OSINT Etherscan, Tenderly, Dune, proxy detection
03 Smart Contract Vulnerabilities Reentrancy, flash loans, oracles, access control
04 Audit Methodology Scoping, threat modeling, invariants, CEI
05 Tools & Frameworks Foundry, Slither, Echidna, Certora
06 Exploit Development Foundry PoC writing, flash loan templates
07 DeFi Protocol Attacks AMM, lending, bridges, governance
08 Web3 dApp Pentesting Wallet, frontend, RPC, ENS, phishing
09 MEV & Mempool Sandwich attacks, Flashbots, PBS
10 CTF & Wargames Ethernaut, DvD, Paradigm CTF, Code4rena
11 Reporting & Disclosure Finding templates, Immunefi, severity scoring
12 Advanced Topics ZK security, ERC-4337, cross-chain, EigenLayer
13 Missing Vuln Classes Transient storage, read-only reentrancy, weird ERC-20
14 Bug Bounty Playbook Target selection, sprint methodology, income tactics
15 Exploit Recreations DAO, Harvest, Beanstalk, Nomad, Curve/Vyper
16 Master Audit Checklist Complete per-function and DeFi-specific checklists All

Getting Started

Prerequisites

  • Basic Solidity understanding
  • Node.js / npm installed
  • Familiarity with Ethereum basics (transactions, wallets, gas)

Lab Setup

# Install Foundry (required for all PoC exercises)
curl -L https://foundry.paradigm.xyz | bash && foundryup

# Install Slither
pip3 install slither-analyzer

# Clone this guide
git clone https://github.com/SdxShadow/Hack_web3
cd web3-pentest-guide

# Start with [Module 01](./modules/BLOCKCHAIN_FUNDAMENTALS.md)

Recommended Learning Path

 Beginner (Weeks 1-4)
   → Modules 01, 02, 05, 10 (Fundamentals + Tools + CTFs)

 Intermediate (Weeks 5-8)
   → Modules 03, 04, 08, 11 (Vulnerabilities + Audit + Disclosure)

 Advanced (Weeks 9-14)
   → Modules 06, 07, 09, 13, 15 (Exploit Dev + DeFi + MEV)

 Expert (Ongoing)
   → Modules 12, 14, 16 + Live Immunefi / Code4rena contests

Core Tool Stack

Tool Purpose Install
Foundry Testing, fuzzing, PoC development curl -L https://foundry.paradigm.xyz | bash
Slither Static analysis pip3 install slither-analyzer
Echidna Property-based fuzzing GitHub releases
Aderyn Fast AST analysis cargo install aderyn
Heimdall-rs Bytecode decompilation cargo install heimdall
Certora Formal verification pip3 install certora-cli

Guide Statistics

  • 17 modules covering the full Web3 security spectrum
  • 200+ vulnerability patterns documented with PoC code
  • 50+ real-world case studies from $70M to $624M exploits
  • Foundry PoC templates for every major attack vector
  • SEO-optimized for GitHub Pages with Jekyll

External Resources


License

MIT License — See LICENSE for details.


Start with the Full Index & Guide Overview

About

The definitive advanced guide for blockchain security researchers, smart contract auditors, and Web3 penetration testers

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors