Skip to content

a5c-ai/babysitter / library/specializations/cryptography-blockchain/skills/echidna-fuzzer

echidna-fuzzer

Verified

Property-based testing and fuzzing using Echidna for smart contracts. Includes invariant definition, corpus management, coverage analysis, and CI/CD integration for comprehensive security testing.

FileKindSize
README.mdmarkdown1.1 KB
SKILL.mdskill md8.0 KB
# Echidna Fuzzing Skill

Property-based testing and fuzzing for smart contracts using Echidna from Trail of Bits.

## Overview

This skill enables comprehensive property-based testing of smart contracts through Echidna's powerful fuzzing capabilities.

## Key Capabilities

- **Property Testing**: Define invariants that should never break
- **Assertion Mode**: Test internal contract assertions
- **Coverage Analysis**: Identify untested code paths
- **Extended Campaigns**: Run long fuzzing sessions

## Quick Start

```bash
# Install Echidna
docker pull ghcr.io/crytic/echidna/echidna:latest

# Run fuzzing
echidna contracts/Test.sol --contract Test
```

## Example Property

```solidity
contract TokenTest is Token {
    function echidna_totalSupply_constant() public view returns (bool) {
        return totalSupply == initialSupply;
    }
}
```

## Related Resources

- [SKILL.md](./SKILL.md) - Full skill specification
- [Echidna GitHub](https://github.com/crytic/echidna)
- [Trail of Bits Blog](https://blog.trailofbits.com/)

## Process Integration

- `smart-contract-fuzzing.js`
- `invariant-testing.js`
- `smart-contract-security-audit.js`
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall