DeFi audit: ZK projects lead in the number of critical vulnerabilities

DeFi audit: ZK projects lead in the number of critical vulnerabilities

user avatar

by Elena Ryabokon

2 years ago


DeFi audits of projects based on zero-disclosure proof-of-concept (ZK) technology were twice as likely to reveal critical bugs compared to other projects, according to The Block citing a Veridise report.

The company's experts analyzed 1,605 vulnerabilities identified in 100 audits. On average, they found 16 issues per audit, with ZK projects having a higher rate of 18 bugs.

In terms of critical vulnerabilities, 55% (11 out of 20) of ZK projects contained such issues, compared to 27.5% (22 out of 80) for other projects.

Experts noted that the security of ZK solutions is “just more complicated” because of the complex cryptographic designs and the innovative nature of the protocols. Veridise co-founder and CEO John Stevens explained that designing a ZK scheme requires precise reasoning about the semantics of the operations in the witness generator. When these constructs are incorrectly encoded due to constraints, errors occur.According to Stevens : “It makes sense that there are more errors in these schemas because they are very different from the typical programming paradigm”.

Overall, the most common vulnerabilities found in the audits were logic errors (385), maintainability (355) and data validation (304). These categories accounted for 65% of all issues identified.

Veridise emphasized that insufficient maintainability is not a security vulnerability in the strict sense, but poor code writing practices are “one step away from creating critical vulnerabilities.”

For the ZK protocols, a specific problem was “insufficiently bounded loops”, which had a 90% probability of causing a serious error. This occurs when arithmetic scheme constraints do not provide sufficient conditions to verify the correctness of the computation. Veridise noted that such conditions do not exist in traditional smart contracts.

This means that an attacker could create a proof that tricks the checker into accepting a false statement as true, seriously undermining the integrity of the protocol.

Recall, ForkLog talked about the development of ZK protocols in 2024 in an exclusive piece.

Tier I

Sector: #18291

Sealed Cache Room

Resource Cache

Resource Cache

Tier I

Requires 25% Tier Progress to Claim
Meme Cache

Meme Cache

Tier I

Requires 50% Tier Progress to Claim
Equipment Cache

Equipment Cache

Tier I

Requires 75% Tier Progress to Claim

After collecting, caches will be stored in your inventory and can be opened with Keys.

Other news

Zcash's Impressive Market Performance and ETF Launch

chest

Zcash has experienced a remarkable price increase, gaining over 2,300% in the past year, aided by the launch of Grayscale's Zcash ETF.

user avatarLucas Weissmann

Zcash Surpasses $1,000 Mark, Achieving New All-Time High

chest

Zcash's price broke above $1,000 for the first time in nearly a decade, marking a significant milestone in its market performance.

user avatarRajesh Kumar

Trezor Implements New Security Measures After Data Breach

chest

Trezor is enhancing security measures, including anonymous delivery options, in response to a data breach affecting 67,000 customers.

user avatarFilippo Romano

Data Breach Affects 67,000 Trezor Customers

chest

A data breach at shipping provider ShipMonk has exposed personal information of 67,000 Trezor customers in the US.

user avatarEmily Carter

BAI Establishes Global Settlement Layer for AI Agents to Enhance Collaboration

chest

BAI is building a global settlement layer to enhance collaboration and efficiency among AI agents across various workflows.

user avatarTomas Novak

BAI Launches Free Access to Premium AI Models, Surpassing 133 Trillion Daily Tokens

chest

BAI has launched free access to its premium AI models, leading to a significant increase in platform activity and user adoption.

user avatarKaterina Papadopoulou

Important disclaimer: The information presented on the Dapp.Expert portal is intended solely for informational purposes and does not constitute an investment recommendation or a guide to action in the field of cryptocurrencies. The Dapp.Expert team is not responsible for any potential losses or missed profits associated with the use of materials published on the site. Before making investment decisions in cryptocurrencies, we recommend consulting a qualified financial advisor.