← Lab /Software

DeLLMGuard cuts LLM scanning success from 23.5% to 6.6% on protected contracts

DeLLMGuard reduces root-cause correctness of LLM-based vulnerability scans from 23.5% to 6.6%

Software arXiv 28 Aug 2026 Defense Prototype evidence

Published as “When Verified Source Becomes Attack Input: Defending Smart Contracts Against LLM-Based Vulnerability Scanning”

Why it matters

The defense can materially lower the success rate of automated LLM-driven vulnerability scanning while keeping source code public, offering a practical mitigation for large-scale attacks on immutable smart contracts.

Summary

DeLLMGuard cuts the rate at which LLM agents correctly identify the root cause of vulnerabilities from 23.5% to 6.6% on 387 real contracts, and beats a bytecode-only baseline while keeping source code public. The paper evaluates three frontier LLMs (GLM 5.2, GPT 5.5, Claude Opus 4.8) in a replay sandbox (PARSEC) built from SCONE-bench, showing strong reductions on non-proxy contracts but only modest, statistically insignificant gains on proxy contracts and a total estimated API cost of $4,147.12. Evidence comes from a single benchmark dataset and a limited number of proxy cases, and the authors note that future, more capable agents could reduce the defense’s effectiveness.

What they found 2

  1. DeLLMGuard reduces overall root-cause correctness from 23.5% to 6.6% on the evaluated contracts

    “DeLLMGuard reduces overall correctness from 23.5% to 6.6%.”

  2. DeLLMGuard outperforms the closed-source Bytecode Inline baseline on the primary non-proxy set

    “DeLLMGuard preserves the business source code yet outperforms the closed-source BIC baseline on the primary nonproxy set”

Caveats 4

  • All models move in the same direction, but differences are not statistically significant given low baseline performance and sample size.
  • DeLLMGuard does not make the introduced contract relations inaccessible.
  • The SCONE harness already provides bytecode decompilation, transaction analysis, and execution tracing, which can in principle recover the transferred deployment.
  • Only 46 cases use proxy deployments, so the evidence for PDC is more limited than for the larger non-proxy set.

What’s new here 3

  • Separates disclosed source code from runtime execution using multi-address deployment (factory, delegate, proxy components) without hiding the source.
  • Introduces a Verification Layer that checks consistency between business source, runtime bytecode, and state after transformation.
  • Implements a composable set of guard components (FIC, DLC, PDC, CPC) that can be combined as needed.