mlsanityData to 24 Nov 2026

LLMs as Validators for Cross-Chain Bridges: Evaluating Source-Level and Transaction-Level Attack Detection on Solana

arXiv 2611.21777 ↗Submitted 16 Nov 2026Announced 18 Nov 2026cs.CR cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Cross-chain bridges have suffered substantial asset losses due to vulnerabilities in their on-chain programs. On Solana, missing validation checks can enable exploits even when the underlying blockchain operates correctly. The ability of large language models (LLMs) to diagnose these flaws from source code or transaction records, rather than merely raise alarms, remains insufficiently understood. We implement a native Rust lock-and-mint bridge on a local Solana validator with four exploitable variants: two model flaws from the Cashio and Wormhole incidents, while the other two represent vulnerability classes documented in Solana security audits. Paired vulnerable and secure programs, together with successful attacks, benign sessions, and blocked attempts, allow us to distinguish correct diagnoses from unsupported alarms. We evaluate six configurations of five open-weight models across 16,800 responses, compare source inputs with and without comments, and grade 7,200 answers on vulnerable inputs using two blinded LLM graders. The results reveal substantial differences across conditions: without comments, models diagnose 24% of vulnerable source inputs while frequently flagging the secure bridge. Transaction diagnosis is high for the missing-signer scenario but averages 6% across the other three scenarios. Original comments, some of which describe the flaw, increase source diagnosis to 60%. These findings highlight the importance of distinguishing correct vulnerability diagnoses from unsupported alarms in bridge security review.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 9 of its 31 references that are in the map. Submitted 16 Nov 2026, announced 18 Nov 2026.

Builds on

9 of 31 references.

References · 9

  1. 2023Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Promptingcited by 1,324
  2. 2023Large Language Model-Powered Smart Contract Vulnerability Detection: New Perspectivescited by 50
  3. 2024PropertyGPT: LLM-driven Formal Verification of Smart Contracts through Retrieval-Augmented Property Generationcited by 41
  4. 2024SmartInv: Multimodal Learning for Smart Contract Invariant Inferencecited by 7
  5. 2024All Your Tokens are Belong to Us: Demystifying Address Verification Vulnerabilities in Solidity Smart Contractscited by 2
  6. 2024Defying the Odds: Solana's Unexpected Resilience in Spite of the Security Challenges Faced by Developerscited by 2
  7. 2022zkBridge: Trustless Cross-chain Bridges Made Practicalcited by 1
  8. 2023Fuzz on the Beach: Fuzzing Solana Smart Contractscited by 1
  9. 2025Prompt Engineering vs. Fine-Tuning for LLM-Based Vulnerability Detection in Solana and Algorand Smart Contractscited by 1

Built on by

Not cited yet.