Cross-layer graph model detects logic vulnerabilities in blockchain IoT
MA-HGAT can detect logic vulnerabilities across contract and device layers of blockchain-enabled IoT systems
Security & privacy arXiv 16 Sep 2026 Method Maturity unclear
Published as “Detecting Logic Vulnerabilities Across the Contract and Device Layers of Blockchain-Enabled IoT With Multi-Agent Heterogeneous Graph Attention”
Why it matters
Operators can deploy a single model to audit contracts, triage device vulnerability reports, link firmware to CVEs, and monitor transactions while keeping raw device requests off-gateway, but they must retrain for new vendors.
Summary
MA-HGAT achieves 0.586 mean reciprocal rank (MRR), 91.6% Hits@10 and 0.960 AUC on the firmware fleet-linking task, showing it can detect logic flaws across contract and device layers. However, when evaluated on unseen vendors its macro-F1 drops from 78.1% to 59.4% and exact-match accuracy falls to 21.1%, revealing a strong generalization limitation; the synthetic labels used for the transaction-monitoring task also make accuracy near chance.
What they found 2
- On the firmware fleet-linking benchmark (FirmVulLinker), MA-HGAT attains 0.586 MRR, 91.6% Hits@10 and 0.960 AUC.
“MA-HGAT reaches 0.586 MRR, 91.6% Hits@10, and 0.960 AUC.”
- The gateway-only portion of MA-HGAT contains only 5,120 parameters (2.5% of the full 204,802-parameter model).
“The gateway model is tiny. The Function agent’s gateway share (the function projection and the calls attention block) has 5,120 parameters, 2.5% of the 204,802-parameter model.”
Caveats 4
- When tested on unseen vendors, macro-F1 drops from 78.1% (in-distribution) to 59.4% and exact-match accuracy falls from 55.8% to 21.1%, indicating poor cross-vendor generalization.
- The transaction-monitoring task uses synthetic labels, resulting in accuracy and macro-F1 near chance (≈57%).
- The unseen-vendor evaluation reveals a clear generalization limitation.
- The split variant’s accuracy is near chance because the workload’s labels are synthetic.
What’s new here 4
- A unified four-role, nine-relation heterogeneous graph schema that jointly models contracts, firmware artifacts, device fleets and transaction streams.
- A multi-agent heterogeneous graph attention network (MA-HGAT) that exchanges role-aligned evidence via cross-attention.
- A gateway-cloud partition that runs only the device-action agent on resource-constrained gateways, reducing model footprint and bandwidth.
- Support for four distinct security decisions (contract audit, vulnerability-report triage, fleet linking, transaction monitoring) within a single model.