For someone holding an ERC-20 token, a transaction simulation answers a narrow question: how would this particular interaction play out under current on-chain conditions? It does not rule out behavior that could be enabled later.
In a December 3, 2026 analysis, the author explains why inspecting the code matters, but also why fixed static-analysis rules have limits. Developers can implement the same mechanism in different ways, so a rule that recognizes one implementation may miss another. When a token’s source code is not public, the analysis must examine its bytecode.
A large language model (LLM) can help interpret what a function is intended to do and select interactions to simulate for that particular token. The difficulty is repeatability: the model may take different steps across runs and omit an important check.
The author proposes five constraints for using an LLM in this work:
- Define precisely which mechanism the analysis is meant to detect.
- Use a fixed analysis procedure.
- Put deterministic operations into tools rather than leaving them to the model.
- Make both the conclusion and the steps behind it explainable.
- Establish a pipeline for evaluating the analysis.
The proposed role for an LLM is to reason about each token using static analysis, decompilation and simulation—not to replace those methods or turn a simulation result into a broader assurance of safety.