SunWeb3Sec/DeFiVulnLabs resource
To learn common smart contract vulnerabilities using Foundry! observed · 2026-08-28
Health v2 · maintenance only
40/100
- Activity 18
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
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: 1524
- days_rel: n/a
- days_push: 496
- n_releases_24m: 0
Adoption not part of the score
1969 stars · 348 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A collection of 48 Solidity smart contract vulnerability labs with Foundry-based proof-of-concept tests, originally built as internal Web3 security training at XREX. Each lab demonstrates a common DeFi vulnerability (reentrancy, overflow, selfdestruct, unsafe delegatecall, etc.) with an exploitable test case.
Use cases
- learn common smart contract vulnerabilities
- practice exploiting solidity bugs with foundry
- web3 security training exercises
- study reentrancy and delegatecall attack examples
- prepare for smart contract security audits
- reproduce solidity vulnerability proof of concepts
When to choose
- you want hands-on labs for learning Solidity security
- you already use Foundry and want realistic vulnerability examples
- you're training for web3 security or audit work
When to avoid
- you need production-ready secure contract templates
- you want a vulnerability scanner rather than educational material
- you need a formally licensed or audited codebase (no license provided)
Facets
learning-resource · maturity active
testing security developer-tools blockchain security education tutorials cli cross-platform solidity smart-contract-security foundry defi web3 vulnerability-labs exploit-pocs
1 source
- readme: https://github.com/SunWeb3Sec/DeFiVulnLabs · fetched 2026-08-28 · 7ee376ea541c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| SunWeb3Sec/DeFiVulnLabs | main | 40 |
For agents
markdown · JSON · MCP: product_card(name="SunWeb3Sec/DeFiVulnLabs")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem