DeFiHackLabs
6,842
Stars
—
Forks
0
Watchers
—
Open Issues
待补全
许可证
Solidity
语言
—
创建时间
最近更新
项目能做什么
使用 Foundry 复现 DeFi 黑客攻击事件
来源:AI 基于仓库事实生成
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# DeFi Hacks Reproduce - Foundry **Reproduce DeFi hack incidents using Foundry.** 906 incidents included. Let's make Web3 secure! Join [Discord](https://discord.gg/Fjyngakf3h) Notion: [101 root cause analysis of past DeFi hacked incidents](https://web3sec.xrex.io/) [Transaction debugging tools](https://github.com/SunWeb3Sec/DeFiHackLabs/#transaction-debugging-tools) **Disclaimer:** This content serves solely as a proof of concept showcasing past DeFi hacking incidents. It is strictly intended for educational purposes and should not be interpreted as encouraging or endorsing any form of illegal activities or actual hacking attempts. The provided information is for informational and learning purposes only, and any actions taken based on this content are solely the responsibility of the individual. The usage of this information should adhere to applicable laws, regulations, and ethical standards. ## Table of Contents * [Getting Started](#getting-started) * [Who Support Us](#who-support-us-defihacklabs-received-grant-from) * [Donate Us](#donate-us) * [List of Past DeFi Incidents](#list-of-past-defi-incidents) * [Transaction debugging tools](#transaction-debugging-tools) * [Ethereum Signature Database](#ethereum-signature-database) * [Useful tools](#useful-tools) * [Hacks Dashboard](#hacks-dashboard) * [List of DeFi Hacks & POCs](#list-of-defi-hacks--pocs) ## Getting Started - Follow the [instructions](https://www.getfoundry.sh/introduction/getting-started) to install [Foundry](https://github.com/foundry-rs/foundry). - Clone and install dependencies:`git submodule update --init --recursive` - [Contributing Guidelines](https://github.com/SunWeb3Sec/DeFiHackLabs/blob/main/CONTRIBUTING.md) ## [Web3 Cybersecurity Academy](https://github.com/SunWeb3Sec/DeFiHackLabs/tree/main/academy) All articles are also published on [Substack](https://defihacklabs.substack.com/). ### OnChain transaction debugging - Lesson 1: Tools ( [English](https://github.com/SunWeb3Sec/DeFiHackLabs/tree/main/academy/onchain_debug/01_tools/en) | [中文](https://github.com/SunWeb3Sec/DeFiHackLabs/tree/main/academy/onchain_debug/01_tools) | [Vietnamese](https://github.com/SunWeb3Sec/DeFiHackLabs/tree/main/academy/onchain_debug/01_tools/vi) | [Korean](https://github.com/SunWeb3Sec/DeFiHackLabs/tree/main/academy/onchain_debug/01_tools/ko) | [Spanish](https://github.com/SunWeb3Sec/DeFiHackLabs/tree/main/academy/onchain_debug/01_tools/es) | [日本語](https://github.com/SunWeb3Sec/DeFiHackLabs/tree/main/academy/onchain_debug/01_tools/ja) ) - Lesson 2: Warm up ( [English](https://github.com/SunWeb3Sec/DeFiHackLabs/tree/main/academy/onchain_debug/02_warmup/en/) | [中文](https://github.com/SunWeb3Sec/DeFiHackLabs/tree/main/academy/onchain_debug/02_warmup/) | [Korean](https://github.com/SunWeb3Sec/DeFiHackLabs/tree/main/academy/onchain_debug/02_warmup/ko) | [Spanish](https://github.com/SunWeb3Sec/DeFiHackLabs/tree/main/academy/onchain_debug/02_warmup/es) | [日本語](https://github.com/SunWeb3阅读完整原文
项目深度分析 AI 生成
Web3 白帽安全实操靶场与认证培训 (SaaS/Bootcamp)
| 产品构想 | 将仓库已有的 900+ 个 Foundry 复现用例与现有 Academy 教程结合,封装为开箱即用的浏览器端/云端交互式安全演练靶场,提供实战训练与技能认证。 |
| 核心功能 | 免配置云端 Foundry 调试环境、阶段式关卡引导、攻击验证判题引擎、结业证书与白帽求职背书 |
| 目标用户 | 准备进入 Web3 安全领域的开发者、初级审计师、计算机专业学生 |
| 难度/周期 | 中等 · 2-3个月 · 成本:轻量云服务器、Web端终端容器编排、教学平台搭建 |
| 收费模式 | 学员一次性课程费用、高级演练关卡月度会员订阅、企业团队内部培训采购 |
| 竞争风险 | 需持续更新新攻击案例;课程盗版与公域同类开源材料较多导致付费意愿打折(推测) |
| 依据 | 已验证事实 |
DeFi 历史攻击向量防御回归测试插件 (DevTooling/CI SaaS)
| 产品构想 | 从 900+ 案例中归纳抽象出常见攻击范式(如闪电贷套利操纵、重入、只读重入、精度损失等),开发 Foundry/Hardhat 插件与 GitHub Action,帮助项目方在代码提交阶段自动化运行攻击模拟。 |
| 核心功能 | 一键集成 GitHub Actions、基于历史攻击变异的 Invariant/Fuzzing 测试套件、协议攻击暴露面评分报告 |
| 目标用户 | DeFi 协议开发团队、安全审计公司 |
| 难度/周期 | 高 · 3-5个月 · 成本:测试 RPC 节点资源、云端计算资源、通用化测试模板研发成本 |
| 收费模式 | B2B SaaS 订阅制(按月/按代码仓库)、企业定制化回归套件研发费用 |
| 竞争风险 | 将特定协议的历史攻击泛化为通用自动化检测规则的研发难度极大,易产生高假阳性或假阴性(推测) |
| 依据 | AI推测 |
专业级 DeFi 漏洞情报与根因深度研报订阅 (Pro-Tier Intelligence)
| 产品构想 | 基于现有 Notion 根因分析库,提供商业级最新被黑事件复现 PoC、底层代码架构弱点深度拆解及防御策略情报服务。 |
| 核心功能 | 事件发生后 24-48 小时内的可运行 PoC 提供、防御建议补丁指南、可机读攻击者模式指标 (IoC) 数据源 |
| 目标用户 | 加密基金风控部门、借贷/DEX 协议安全负责人、安全研究机构 |
| 难度/周期 | 低至中等 · 1个月 · 成本:Substack/私域会员系统、高速归档节点 RPC 成本 |
| 收费模式 | 专业版研报会员订阅(年费/月费)、机构风控定制咨询 |
| 竞争风险 | 需要极高的突发事件响应速度,一人运维在多起事件并发时精力容易受限(推测) |
| 依据 | 数据支持的判断 |
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
相似项目数据正在完善中,暂不展示(避免误导)
项目优势与风险
| 技术成熟度 | 创建时间待补全,最近推送 |
| 社区活跃 | Star 6,842 / Fork 0 / Issue 0(数据支持,可自行核实) |
| 许可证 | 未检测到(需人工确认) |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。