BSV
$64.39
Vol 167.34m
11.44%
BTC
$89168
Vol 125575.44m
-2.52%
BCH
$423.3
Vol 879.48m
-2.76%
LTC
$79.14
Vol 1703.57m
3.5%
DOGE
$0.39
Vol 19631.41m
-6.58%
Getting your Trinity Audio player ready...

Artificial Intelligence (AI) is transforming the world and being woven into every other aspect of our lives. The latest is in programming, with the Lightning Cat AI model detecting vulnerabilities in smart contracts with a f1-score of 94%.

In a recent paper, five AI experts delved into the application of deep learning in detecting vulnerabilities in smart contracts.

Currently, developers rely on human review, which can be tedious, and static analysis tools, which tend to record false negatives and positives as they rely on predefined rules and lack the ability to analyze complex semantics. Additionally, new data usually renders the predefined rules obsolete.

Deep learning methods don’t require predefined detection rules and can adapt to learn new features of vulnerabilities.

In comes Lightning Cat, a deep learning-based model. The paper revealed that Optimized-CodeBERT, which was trained using Lightning Cat, was at least 11% better than the best existing solution for detecting code vulnerabilities.

Graphic chart showing comparison of Recall Results of Different Methods from nature.com
Source: nature.com

“Based on the experimental evaluation results, the Lightning Cat proposed in this paper shows better detection performance than other vulnerability detection tools. [It] achieves a recall rate of 93.55%, which is 11.85% higher than Slither, a precision rate of 96.77%, and an f1-score of 93.53%,” the researchers stated.

Lightning Cat’s scope can be expanded beyond smart contracts to detect vulnerabilities in any other type of code. It also collects data on new and emerging vulnerabilities and updates its model parameters to tackle the new challenges.

But while it can be an indispensable asset to developers, it can be lethal in the hands of malicious actors. These parties can use Lightning Cat to detect undisclosed vulnerabilities in smart contracts and launch attacks before the developers have a chance to patch up their code.

To prevent such attacks, developers should conduct regular human audits, the researchers advise.

But while AI is making inroads into programming, experts say it’s still miles away from being independent with the ability to work on its own. Like with all other general queries, AI tends to miss out on some obvious answers and sometimes invents solutions to non-existent challenges.

According to blockchain security company CertiK, AI should be used to assist developers and can’t be trusted to build on its own. The company’s Chief Security Officer sounded a warning in September over amateur developers delegating their work to AI as their products would be easy to penetrate for any decent attacker.

In order for artificial intelligence (AI) to work right within the law and thrive in the face of growing challenges, it needs to integrate an enterprise blockchain system that ensures data input quality and ownership—allowing it to keep data safe while also guaranteeing the immutability of data. Check out CoinGeek’s coverage on this emerging tech to learn more why Enterprise blockchain will be the backbone of AI.

Watch: Does AI know what it’s doing?

Recommended for you

Sentinel Node upholds heightened security with 56M snapshots
CERTIHASH keeps up with its mission to offer enterprises heightened security for their data with BSV-powered Sentinel Node, recently registering...
November 14, 2024
ODHack 9.0: Better wallet, easy testnet coins for developers
OnlyDust's ODHack 9.0 hackathon event provides developers building on the BSV blockchain with new ways to test their applications without...
November 8, 2024
Advertisement
Advertisement
Advertisement