Files
nexus/wiki/entities/Echidna.md
2026-04-21 00:02:55 +08:00

32 lines
799 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Echidna"
type: entity
tags: [tool, security, fuzzing]
sources: [blockchain-security-auditor]
last_updated: 2026-04-20
---
## 定义
Echidna 是由 Trail of Bits 开发的 Property-based fuzzing 工具,用于通过模糊测试验证以太坊智能合约的安全属性。
## 功能
- 属性驱动模糊测试
- 不变量验证invariant testing
- 自动生成攻击用例
- Foundry 测试集成
## 使用方式
```bash
echidna . --contract EchidnaTest --config echidna-config.yaml --test-mode assertion
```
## 核心概念
- **Invariant**:合约应始终满足的属性
- **Property**:用户定义的测试属性
- **Corpus**:测试用例语料库
## Connections
- [[Invariant Verification]] ← provides ← [[Echidna]]
- [[Trail of Bits]] ← created ← [[Echidna]]