Case · DiggingBeagle record

SolBehave finds compiling AI-generated Solidity often diverges from its reference

Across 250 contracts and seven models, SolBehave reports that compilation alone misses widespread behavioral differences in regenerated code.

Scope

Experimental regeneration of 250 Ethereum smart contracts, seven open-weight models, October 13, 2026 paper; no deployed vulnerability or realized monetary loss established.

Assessment profile

Assessment method
Setting
evaluation
Exploitation
not established
Evidence
Grade B
Remediation
not applicable
AI role
WITH AI
Basis and provenance

Compilation and fuzzing outcomes are direct researcher metrics; 31.4 percent is conditional on tested inputs and not formal equivalence. Impact band is left unassigned because no calibrated damage threshold or representative victim impact is supported by the available record.

Assessed Oct 20, 2026 using diggingbeagle.assessment/1.

At a glance

Timeline

  1. Oct 13, 2026
    disclosure

    Public disclosure

Claims & evidence

CLM-SOLBEHAVE-DESIGNSolBehave studies 250 real contracts with differential fuzzing, historical transaction replay and DCR-guided synthetic replay.supported

Basis: reported finding

Link to claim
CLM-SOLBEHAVE-LIMITSThese results are controlled regeneration experiments rather than confirmed production attacks, with limited generalization to complex DeFi systems.supported

Basis: reported finding

Link to claim
CLM-SOLBEHAVE-VALIDITYThe benchmark selected 250 contracts with 1 to 20 state-changing functions after reproducibility checks, and its statistical equivalence rate is limited to the tested fuzzing inputs.supported

Basis: reported finding

Link to claim
CLM-SOLBEHAVE-NEW-PATHSDCR-guided replay reached 246 to 311 state-changing functions not reached by the historical transaction oracle, depending on the model extracting the DCR graph.supported

Basis: reported finding

Link to claim
CLM-SOLBEHAVE-DIVERGENCEThe authors report only 31.4% pooled function-body behavioral equivalence among compiling samples and contract replay divergence for six of seven models.supported

Basis: reported finding

Link to claim

Implications

Compilation and a historical transaction suite do not replace stateful behavioral equivalence testing. A developer should not infer a safe contract from a model compile score.

Unknowns and contradictions

  • No independently rerun test outcomes.
  • Behavior under larger DeFi protocols, bridges and governance contracts remains uncertain.

Sources and citation

Material revision history

  1. Oct 20, 2026 · Canonical change recorded · new in release · revision 177