← Lab /AI/ML

Protocol mutation cuts copied answer success by ~10% in smart contract security tasks

AI/ML Method · Prototype · arXiv

The claim

Protocol mutation reduces the success rate of copied public answers by 10.9 percentage points and lowers copying frequency by 9.3 points

Zifan Peng, Peng Huang, Jingyi Zheng, Yingjie Xue, Xuechao Wang, Xinlei He, Xia Hu, Dongrui Liu · arXiv Paper PDF

Published as: “Beyond Copying: Lifelong Smart Contract Security Task Construction via Protocol Mutation”

So what

The approach enables more robust evaluation of LLM agents on smart contract security by forcing them to adapt attacks rather than copy memorized solutions.

The five-minute version

CONSTRAINTDIAL reduces the success of LLM agents that rely on public answers by 10.9 percentage points on average across detect, exploit, and patch tasks, and cuts the fraction of tasks solved by copying online answers by 9.3 points. The framework automatically reconstructs contracts, mutates protocol conditions, and validates that the original attack fails while the vulnerability remains exploitable and normal functionality is preserved. They built a benchmark (ReCast) with 3,045 task inputs from 203 public cases and evaluated six models, finding mixed effects on overall success rates. The paper does not provide a dedicated limitations section, but notes that only a 30% sample of cases was used and that confidence intervals include zero, indicating statistical uncertainty.

What they found 3

What undercuts it the paper’s own results

Stated limits 2

What’s new here 4

Artifacts & methods 7

Topics

smart contract securityprotocol mutationLLM-based agentsbenchmark constructionexploit generationpatch verificationmutation testing
← Previous LLMs and agents are far more vulnerable to near-target prompt injections than fixed-target benchmarks suggest