SunWeb3Sec/DeFiHackLabs resource
Reproduce DeFi hacked incidents using Foundry. observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 99
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1545
- days_rel: n/a
- days_push: 9
- n_releases_24m: 0
Adoption not part of the score
6759 stars · 1470 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A curated collection of 859+ DeFi hack incidents reproduced as Foundry proof-of-concept tests in Solidity, for studying how real exploits worked. It also includes a Web3 cybersecurity academy with on-chain transaction debugging lessons and root cause analyses.
Use cases
- learn how past DeFi hacks happened
- reproduce blockchain exploit incidents in Foundry tests
- study smart contract vulnerability root causes
- practice on-chain transaction debugging
- train for smart contract security auditing
- find proof-of-concept code for historical DeFi attacks
When to choose
- you want hands-on, executable reproductions of real DeFi exploits
- you are learning Solidity security auditing or on-chain debugging
- you need a large, actively updated corpus of hack case studies
When to avoid
- you need a production security scanning or auditing tool rather than educational PoCs
- you want a general-purpose Solidity testing framework (use Foundry directly)
- you are looking for defensive tooling like automated vulnerability detection
Facets
learning-resource · maturity active
testing security developer-tools blockchain security education fintech cli defi smart-contract-security hack-reproduction proof-of-concept web3 exploit-analysis foundry-tests ethereum solidity foundry
1 source
- readme: https://github.com/SunWeb3Sec/DeFiHackLabs · fetched 2026-08-28 · cc62e46d7ac0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| SunWeb3Sec/DeFiHackLabs | main | 77 |
For agents
markdown · JSON · MCP: product_card(name="SunWeb3Sec/DeFiHackLabs")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem