Can we detect fraud in the blockchain using machine learning? | by Noah Mukhtar | January 2023

Can we detect fraud in the blockchain using machine learning?  |  by Noah Mukhtar |  January 2023

Photo by Master1305 on Freepik

Table of Contents

Since the advent of blockchain, it has never been more seamless for companies, banks and customers to trade goods and transfer money. With this new era of e-commerce, blockchain has served as an attractive alternative that bypasses traditional intermediaries, and with it we are discovering new ways to commit financial crime, and with the vast collection of data we have today, we need to develop new ways to beat them.

Is fraud changing?

See also  Israel's Stock Exchange Launches Blockchain-Based Crypto Exchange

Bad actors cover their tracks through one of the community’s most accredited tokens: Ethereum.

Photo by Nahel Abdul Hadi on Unsplash

Can Ethereum be exploited?

Photo by Michael Förtsch on Unsplash

Is there an increase in crime?

Photo by upklyak on Freepik

Why do we need data science?

Photo by Rawpixel on Freepik

The following steps explain the approach in data construction:

Problem: Imbalanced data set

See also  Legislators and regulators are examining the role of blockchain technology in energy transitions - Fin Tech

Trade-off: Recall vs. precision

Solution:

Classification models

Classification model score

Meaning of function

The importance of classification models’ function

The results of the visualization revealed that the two features that emerged as the most important features for determining fraudulent transactions are:

Photo by Markus Spiske on Unsplash

“Time Diff between first and last (Mins)” can be a good indication of fraud on the blockchain because it can help detect suspicious activities that happen within a short time. For example, if a large number of transactions are made within a very short time frame, it may indicate that the transactions are being made by a bot or automated script rather than by a human.

Additionally, it could be a sign of a coordinated attack where multiple transactions are made at the same time to flood the network with fake transactions.

“Uniques received from addresses” can be a good indication of fraud on the blockchain because it can help detect suspicious activities involving multiple addresses.

For example, if a single transaction is made from many different addresses, it may indicate that the transactions are being made by someone trying to evade detection. It can also indicate a case of a group of individuals working together to commit fraud, or a possible money laundering operation.

Also, having multiple sources of funding in a transaction, or many different “from addresses” can also be a sign of a transaction being executed by an entity that may not have the proper authorization to execute the transaction, or an entity attempting to anonymize its identity.

Photo by Ibrahim Boran on Unsplash
See also  Taipei Entrepreneurs Hub's Demo Day 2.0 focuses on new business opportunities in blockchain, ESG and Web3

LinkedIn

GitHub code

Data set

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *