github crytic/echidna v2.3.0
Echidna 2.3.0

latest releases: v2.3.2-agents-preview-1, v2.3.1
2 months ago

Echidna 2.3.0 introduces symbolic execution capabilities to complement traditional fuzzing workflows. This update adds two verification modes that combine fuzzing with formal verification techniques, alongside improvements to debugging workflows and Foundry integration.

  • Enhanced symbolic execution. Echidna now offers a verification mode for analyzing stateless functions alongside the traditional mode for discovering assertion failures in stateful scenarios. Verification mode performs exhaustive analysis of single-transaction code paths, similar to tools like Halmos and hevm, providing formal guarantees when tests pass. The traditional mode combines traditional fuzzing with symbolic execution, using your accumulated corpus to explore states more exhaustively. You can now use Bitwuzla, cvc5 or Z3 as the solvers.
  • Foundry reproducer generation for debugging workflows. Echidna can now generate Foundry test cases that reproduce discovered bugs. This initial implementation creates standalone reproducers for failed assertions.
  • Revamped HTML coverage reports. The HTML coverage reporting system has been redesigned to provide clearer, more actionable insights, in a manner similar to medusa. The coverage output directory can now be independently configured using the coverageDir option.
  • Improved debugging experience with comprehensive event logging. When properties or assertions fail, Echidna now displays all events from all transactions in the sequence, giving you complete visibility into state changes leading to the failure. Deployment failures now show the full execution trace instead of just a list of events, making initialization issues easier to diagnose. The shrinking process now logs its status in text mode, providing visibility into how Echidna minimizes failing test cases.
  • Streamlined codebase through removal of deprecated features. Echidna 2.3.0 removes Etheno integration (including the initialize configuration option), gas estimation (estimateGas option), and concolic execution (symExecConcolic option). These features saw limited adoption and their removal simplifies the codebase while improving overall performance and maintainability. If your workflows depend on these features, please reach out to the team before upgrading.

Additional improvements:

  • Values from tuple elements are automatically extracted into the fuzzing dictionary
  • Enhanced callback (multicall-style) encoding support for more accurate smart contract testing
  • Docker image now includes Foundry, Z3, Bitwuzla
  • Haskell runtime system options (rtsopts) are now enabled on release builds, allowing users to tweak Echidna for better memory use and performance in their environments

The full changelog is provided below:

Added

Fixed

Updated

  • build(deps): bump DeterminateSystems/nix-installer-action from 18 to 19 by @dependabot[bot] in #1407
  • build(deps): bump actions/download-artifact from 4 to 5 by @dependabot[bot] in #1418
  • build(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in #1419
  • Update hevm to 9982c580ed19b88ebab9744d29d940fd2f0bd8c6 by @elopez in #1417
  • flake: update nixpkgs, foundry, bitwuzla by @elopez in #1427
  • Update CODEOWNERS by @elopez in #1432
  • Update references to hevm repository by @elopez in #1435
  • build(deps): bump actions/setup-python from 5 to 6 by @dependabot[bot] in #1442
  • build(deps): bump softprops/action-gh-release from 2.3.2 to 2.3.3 by @dependabot[bot] in #1443
  • build(deps): bump DeterminateSystems/nix-installer-action from 19 to 20 by @dependabot[bot] in #1451
  • ci: macos-13 -> macos-15-intel by @elopez in #1455
  • build(deps): bump actions/upload-artifact from 4 to 5 by @dependabot[bot] in #1478
  • build(deps): bump sigstore/gh-action-sigstore-python from 3.0.1 to 3.1.0 by @dependabot[bot] in #1479
  • build(deps): bump actions/download-artifact from 5 to 6 by @dependabot[bot] in #1477
  • build(deps): bump softprops/action-gh-release from 2.3.3 to 2.4.2 by @dependabot[bot] in #1481
  • build(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in #1483
  • Echidna 2.3 RC by @gustavo-grieco in #1467
  • build(deps): bump DeterminateSystems/nix-installer-action from 20 to 21 by @dependabot[bot] in #1482
  • build(deps): bump softprops/action-gh-release from 2.4.2 to 2.5.0 by @dependabot[bot] in #1488
  • Update hevm to 9ba5e52fc7ec7ae6f7f3a25d5ee426625d2aa9d by @elopez in #1487
  • build(deps): bump sigstore/gh-action-sigstore-python from 3.1.0 to 3.2.0 by @dependabot[bot] in #1491

Removed

Important

The following features have been removed from Echidna:

  • Etheno integration, and the initialize configuration option
  • Gas estimation (estimateGas configuration option)
  • Concolic execution (symExecConcolic configuration option)

New Contributors

Full Changelog: v2.2.7...v2.3.0

Don't miss a new echidna release

NewReleases is sending notifications on new releases.