OpenViSTAI · Agents · Blockchain · Crypto
Menu
Developer Tools

Learn EVM Attacks

A Solidity and Foundry repository containing reproducible EVM exploit tests, diagrams, and contextual references.

Independent OpenViST project profile, based on linked sources.

Learn EVM Attacks — OpenViST project profile in Developer Tools.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when you want a hands-on way to examine how named EVM exploits work, rather than relying only on written vulnerability descriptions.

Who it is for

  • Solidity developers
  • Smart-contract auditors
  • Bug-bounty researchers
  • Learners studying EVM security

Documented uses

  • Study documented smart-contract vulnerabilities through executable examples.
  • Reproduce selected exploits locally with Foundry.
  • Inspect attack categories and supporting diagrams or references.
  • Build a local environment for vulnerability research using historical EVM state where required.
Before you choose

Requirements & limits

The repository is public and MIT-licensed. The documented workflow requires Foundry; some tests also require archive-node data configured through foundry.toml.

  • The material is organized as executable Foundry tests rather than a conventional course.
  • Coverage spans multiple vulnerability classes, including access control, business logic, reentrancy, and bridges.
  • Diagrams and contextual links accompany attack reproductions.
  • Historical-state-dependent tests need an archive-node JSON-RPC endpoint.
  • The repository is written primarily in Solidity and targets EVM-chain security study.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Run a selected exploit reproduction with Foundry

Clone the repository, install its dependencies, and run a documented exploit test with verbose output.

Before you start

  • Foundry installed
  • A local computer
  • An archive-node JSON-RPC URL in foundry.toml for tests that require historical state

Steps

  1. Clone the Learn EVM Attacks repository.

  2. Run forge install to install dependencies.

  3. Choose a vulnerability folder and its documented contract, such as Exploit_MBCToken.

  4. Run forge test --match-contract Exploit_MBCToken -vvv; adjust verbosity as needed, with -vvvv including traces.

  5. If the test depends on old-block state, configure archive-node access in foundry.toml and rerun it.

Expected outcome

The selected Foundry reproduction runs with the requested level of test output when its documented dependencies and historical-state access are available.

Guide limitations

  • Only some tests require archive data, but the README warns that missing archive access can cause a test to fail.
  • This guide covers the documented local test workflow, not independent validation of each reproduction.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
1 October 2026
Original website title
coinspect/learn-evm-attacks · Official homepage title · retained in its source language