mlsanityData to 14 Oct 2026

Knowdit: Agentic Smart Contract Vulnerability Detection with Auditing Knowledge Summarization

arXiv 2603.26270 ↗First posted 27 Mar 2026cs.CR cs.AI cs.SEcited by 1

On the map: LLM agents and tool use → Agent threats, guardrails and governance

Abstract (arXiv)

Smart contracts govern billions of dollars in decentralized finance (DeFi), yet automated vulnerability detection remains challenging because many vulnerabilities are tightly coupled with project-specific business logic. We observe that recurring vulnerabilities across diverse DeFi business models often share the same underlying economic mechanisms, which we term DeFi semantics, and that capturing these shared abstractions can enable more systematic auditing. Building on this insight, we propose Knowdit, a knowledge-driven, agentic workflow for smart contract vulnerability detection. Knowdit first constructs an auditing knowledge graph from historical human audit reports, linking fine-grained DeFi semantics with recurring vulnerability patterns. Given a new project, a multi-agent pipeline leverages this knowledge through an iterative loop of specification generation, Proof-of-Concept (PoC) synthesis, PoC execution, and finding reflection, driven by a shared repository index. We evaluate Knowdit on 11 recent Code4rena projects with 84 ground-truth vulnerabilities. Knowdit detects all 21 high-severity and 90% of medium-severity vulnerabilities without false positives, fully covering eight projects, significantly outperforming all baselines. Applied to seven real-world projects, Knowdit further discovers 9 high- and 36 medium-severity previously unknown vulnerabilities, securing millions in liquidity and proving its outstanding performance.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 35 of its 63 references that are in the map. First posted on arXiv 27 Mar 2026.

Builds on

35 of 63 references.

Closest ancestors · 2

Same direction, newest first

  1. 2025AI Agent Smart Contract Exploit Generation8 Jul
  2. 2024Combining Fine-Tuning and LLM-based Agents for Intuitive Smart Contract Auditing with Justifications24 Mar

Other references · 33

  1. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  2. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  3. 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
  4. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
  5. 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,453
  6. 2024M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillationcited by 1,073
  7. 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 367
  8. 2023Fuzz4All: Universal Fuzzing with Large Language Modelscited by 88
  9. 2024Vul-RAG: Enhancing LLM-based Vulnerability Detection via Knowledge-level RAGcited by 68
  10. 2023GPTScan: Detecting Logic Vulnerabilities in Smart Contracts by Combining GPT with Program Analysiscited by 65
  11. 2024Repoformer: Selective Retrieval for Repository-Level Code Completioncited by 55
  12. 2024PropertyGPT: LLM-driven Formal Verification of Smart Contracts through Retrieval-Augmented Property Generationcited by 37
21 more
  1. 2022SoK: Decentralized Finance (DeFi) Attackscited by 28
  2. 2020sFuzz: An Efficient Adaptive Fuzzer for Solidity Smart Contractscited by 19
  3. 2025Give LLMs a Security Course: Securing Retrieval-Augmented Code Generation via Knowledge Injectioncited by 16
  4. 2025ELFuzz: Efficient Input Generation via LLM-driven Synthesis Over Fuzzer Spacecited by 15
  5. 2021SAILFISH: Vetting Smart Contract State-Inconsistency Bugs in Secondscited by 10
  6. 2024AuditGPT: Auditing Smart Contracts with ChatGPTcited by 9
  7. 2026EVMbench: Evaluating AI Agents on Smart Contract Securitycited by 7
  8. 2024SmartInv: Multimodal Learning for Smart Contract Invariant Inferencecited by 6
  9. 2025Good News for Script Kiddies? Evaluating Large Language Models for Automated Exploit Generationcited by 6
  10. 2024Static Application Security Testing (SAST) Tools for Smart Contracts: How Far Are We?cited by 5
  11. 2025A Systematic Study on Generating Web Vulnerability Proof-of-Concepts Using Large Language Modelscited by 5
  12. 2025SmartPoC: Generating Executable and Validated PoCs for Smart Contract Bug Reportscited by 5
  13. 2023ItyFuzz: Snapshot-Based Fuzzer for Smart Contractcited by 4
  14. 2025Prompt to Pwn: Automated Exploit Generation for Smart Contractscited by 4
  15. 2025Smart Contract Fuzzing Towards Profitable Vulnerabilitiescited by 3
  16. 2025Directed Greybox Fuzzing via Large Language Modelcited by 3
  17. 2025PROMFUZZ: Leveraging LLM-Driven and Bug-Oriented Composite Analysis for Detecting Functional Bugs in Smart Contractscited by 2
  18. 2025ETrace:Event-Driven Vulnerability Detection in Smart Contracts via LLM-Based Trace Analysiscited by 2
  19. 2025CKG-LLM: LLM-Assisted Detection of Smart Contract Access Control Vulnerabilities Based on Knowledge Graphscited by 2
  20. 2026LogicScan: An LLM-driven Framework for Detecting Business Logic Vulnerabilities in Smart Contractscited by 2
  21. 2025Belobog: Move Language Fuzzing Framework For Real-World Smart Contractscited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025LISA Technical Report: An Agentic Framework for Smart Contract Auditing
  2. 2026EvoPoC: Automated Exploit Synthesis for DeFi Smart Contracts via Hierarchical Knowledge Graphs ↗
  3. 2026Beyond Detection: Agentic Attack Synthesis and Simulation for Smart Contracts
  4. 2025Multi-Agent Collaborative Fuzzing with Continuous Reflection for Smart Contracts Vulnerability Detection
  5. 2024FTSmartAudit: A Knowledge Distillation-Enhanced Framework for Automated Smart Contract Auditing Using Fine-Tuned LLMs
  6. 2026Demystifying Agent Skills for Smart Contract Auditing: Design, Effectiveness, Behavioral Impact
  7. 2025PoCo: Agentic Proof-of-Concept Exploit Generation for Smart Contracts
  8. 2026An Effective and Cost-Efficient Agentic Framework for Ethereum Smart Contract Auditing