CryptoDetector
Menu

Why a Transaction Simulation Can’t Settle Whether an ERC-20 Token Is Safe

For someone holding an ERC-20 token, what the contract does now and what it could be made to do later are different questions. A transaction simulation tests an interaction against the current on-chain state. Its result cannot rule out unsafe behavior from a mechanism that could be enabled later.

An analysis published on December 3, 2026, points to a different limit of static analysis: developers can implement the same mechanism in several ways. A rule that recognizes one implementation may miss another. When a token’s source code is unavailable, reviewers also need to examine its bytecode.

The author proposes using a large language model (LLM) to interpret what individual functions are intended to do and choose which interactions to simulate for a particular token. That flexibility comes with a drawback: model output can vary between runs, and the model may skip a critical step.

To make those omissions easier to detect, the author proposes five requirements for LLM-assisted reviews:

  1. Define the mechanisms the review is meant to detect.
  2. Follow a fixed analysis workflow.
  3. Use dedicated tools for operations that should produce the same result from the same inputs.
  4. Make both the conclusion and the steps that produced it explainable.
  5. Establish a repeatable process for evaluating the review system.

The proposed role for an LLM is to guide the inquiry, not to replace static analysis, decompilation or simulation. For a holder reading a review, the useful distinction is between a finding about a tested interaction and a conclusion about what the contract permits.