Blockchain Large Language Models

04/25/2023
by   Yu Gai, et al.
0

This paper presents a dynamic, real-time approach to detecting anomalous blockchain transactions. The proposed tool, BlockGPT, generates tracing representations of blockchain activity and trains from scratch a large language model to act as a real-time Intrusion Detection System. Unlike traditional methods, BlockGPT is designed to offer an unrestricted search space and does not rely on predefined rules or patterns, enabling it to detect a broader range of anomalies. We demonstrate the effectiveness of BlockGPT through its use as an anomaly detection tool for Ethereum transactions. In our experiments, it effectively identifies abnormal transactions among a dataset of 68M transactions and has a batched throughput of 2284 transactions per second on average. Our results show that, BlockGPT identifies abnormal transactions by ranking 49 out of 124 attacks among the top-3 most abnormal transactions interacting with their victim contracts. This work makes contributions to the field of blockchain transaction analysis by introducing a custom data encoding compatible with the transformer architecture, a domain-specific tokenization technique, and a tree encoding method specifically crafted for the Ethereum Virtual Machine (EVM) trace representation.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/30/2023

Securing Blockchain Systems: A Novel Collaborative Learning Framework to Detect Attacks in Transactions and Smart Contracts

With the escalating prevalence of malicious activities exploiting vulner...
research
01/20/2023

TxT: Real-time Transaction Encapsulation for Ethereum Smart Contracts

Ethereum is a permissionless blockchain ecosystem that supports executio...
research
04/21/2022

Using SGX for Meta-Transactions Support in Ethereum DApps

Decentralized applications (DApps) gained traction in the context of the...
research
04/12/2021

EtherClue: Digital investigation of attacks on Ethereum smart contracts

Programming errors in Ethereum smart contracts can result in catastrophi...
research
04/17/2021

Ponzi Scheme Detection in EthereumTransaction Network

With the rapid growth of blockchain, an increasing number of users have ...
research
08/31/2023

Improving Robustness and Accuracy of Ponzi Scheme Detection on Ethereum Using Time-Dependent Features

The rapid development of blockchain has led to more and more funding pou...
research
03/29/2022

Extracting Godl [sic] from the Salt Mines: Ethereum Miners Extracting Value

Cryptocurrency miners have great latitude in deciding which transactions...

Please sign up or login with your details

Forgot password? Click here to reset