Skip to main content
QUICK REVIEW

[Paper Review] SPEAR: An Engineering Case Study of Multi-Agent Coordination for Smart Contract Auditing

Arnab Mallick, Indraveni Chebolu|arXiv (Cornell University)|Feb 4, 2026
Multi-Agent Systems and NegotiationComputer Science0 citations
TL;DR

SPEAR introduces a five-agent MAS framework for autonomous smart contract auditing, with planning, execution, repair, actuation, and coordination agents, and shows superior effectiveness and robustness against failures compared to baselines.

ABSTRACT

We present SPEAR, a multi-agent coordination framework for smart contract auditing that applies established MAS patterns in a realistic security analysis workflow. SPEAR models auditing as a coordinated mission carried out by specialized agents: a Planning Agent prioritizes contracts using risk-aware heuristics, an Execution Agent allocates tasks via the Contract Net protocol, and a Repair Agent autonomously recovers from brittle generated artifacts using a programmatic-first repair policy. Agents maintain local beliefs updated through AGM-compliant revision, coordinate via negotiation and auction protocols, and revise plans as new information becomes available. An empirical study compares the multi-agent design with centralized and pipeline-based alternatives under controlled failure scenarios, focusing on coordination, recovery behavior, and resource use.

Motivation & Objective

  • Demonstrate how established MAS coordination patterns can be applied to autonomous smart contract auditing in a realistic security workflow.
  • Develop a risk-aware Planning Agent to prioritize audits under changing information.
  • Implement a Repair Agent with a programmatic-first repair policy to recover brittle artifacts.
  • Showcase a coordination framework enabling autonomous recovery and resource arbitration under failures.
  • Empirically compare MAS design against centralized and pipeline-based alternatives focusing on coordination and recovery.

Proposed method

  • Model auditing as a mission carried out by specialized agents: Planning, Execution, Repair, Safe Actuation, and Coordinator.
  • Use AGM-compliant belief revision for agents' local beliefs and deterministic policies for decisions.
  • Coordinate via Plan Negotiation, Contract Net, and Resource Auction protocols.
  • Implement a programmatic-first repair policy (PFIR) for repairing brittle generated artifacts.
  • Evaluate through empirical experiments comparing SPEAR to baselines on the Damn Vulnerable DeFi benchmark.
  • Provide formal modeling of the MAS (states, events, beliefs, goals, and protocols) and prove properties like deadlock-freedom and bounded termination.
Figure 1: SPEAR architecture: five specialized agents ( $A_{P}$ , $A_{E}$ , $A_{R}$ , $A_{C}$ , $A_{Coord}$ ) interact through a message bus, coordinating via Contract Net, plan negotiation, and resource auctions.
Figure 1: SPEAR architecture: five specialized agents ( $A_{P}$ , $A_{E}$ , $A_{R}$ , $A_{C}$ , $A_{Coord}$ ) interact through a message bus, coordinating via Contract Net, plan negotiation, and resource auctions.

Experimental results

Research questions

  • RQ1How does the MAS coordination structure affect audit task progress under identical analysis logic?
  • RQ2How effective is the PFIR self-healing algorithm in recovering generated artifact failures?
  • RQ3Does the Strategic Planning Agent improve audit efficiency, particularly time to first critical vulnerability?
  • RQ4How do MAS components (protocols, autonomy, self-healing) contribute to system robustness under failures?

Key findings

  • SPEAR achieves higher overall effectiveness than all baselines, including a centralized scheduler.
  • PFIR consistently recovers from generated artifact failures, with most repairs deterministic before escalating to generative repair.
  • The Planning Agent enables earlier discovery of high-risk vulnerabilities, reducing time to first critical vulnerability.
  • Ablation studies show protocols, autonomy, and self-healing substantially improve recovery time and reduce LLM invocations.
  • Full SPEAR shows faster recovery (2.3 min) and lower coordination overhead compared to configurations lacking protocols, autonomy, or self-healing.
  • Under injected failures, MAS configurations exhibit lower variance and more stable progress than centralized baselines.
Figure 2: Performance of the PFIR self-healing algorithm. The programmatic-first echelon resolves most failures, achieving consistent success across batches.
Figure 2: Performance of the PFIR self-healing algorithm. The programmatic-first echelon resolves most failures, achieving consistent success across batches.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.