How to Use DeFi Safely

Quantstamp Labs
October 4, 2019

With eye popping interest rates on lending platforms, it’s never been more tempting to put assets into some of the promising new #DeFi applications out there today. But are those assets going to be safe? That depends.

While traditional financial services often have some degree of deposit insurance, such as FDIC, DeFi applications are still at an early stage, and most do not provide this kind of protection. Consequently, the onus is on the end-user to ensure their funds are safe while using these new applications. 

Dr. Poming Lee, a security engineer with Quantstamp, explains steps users can take to use DeFi applications more safely.

1.Check Audit Status

Sample professional audit report of a project that did well. 

Checking if a reputable team has audited the project is the number one thing you can do to reduce risks while using a DeFi application.

Reputable smart contract security firms such as Quantstamp do a thorough evaluation of the application’s security by looking at both code and specification to make sure everything works as intended. In addition to simple technical errors or common vulnerabilities, auditors also evaluate the design of the application to assess issues such as centralization of power or custodial design. These issues are often difficult or impossible to detect without a thorough examination of the code and a wealth of experience in examining smart contracts. 

Once you know that a project has been audited, search for their audit report. A publicly available audit report pointing to open-sourced code on Github is a great sign -- it shows the team behind the Dapp has confidence in their code and audit results. 

Once you’ve found the report, read it. How is the audit evaluation? Were there many high-risk issues found, or were they mostly low risk or informational? Did the project team address the identified risks? Make sure the team was responsive and that any remaining risks are unlikely to affect the safety of your funds.

2. Evaluate the Product Team

Investigate the product team. DeFi applications require more diligent software engineering practices than traditional applications. Look for teams with experienced engineers, preferably those who have worked on blockchain, financial, or other mission critical systems before. If they have, check whether those applications or systems have been hacked. 

3. Don’t Over-Allocate

Even in the face of attractive returns, don’t over-allocate funds into any single distributed application. Smart contracts are becoming more secure every day, but there is still no absolute guarantee against hacks. As the saying goes, only put in what you can afford to lose. 

Using DeFi Safely

DeFi is still an experimental movement, but many of the DeFi applications on the market are already incredibly useful. While decentralized technology provides benefits for these distributed financial applications, it also introduces risks that users need to consider

Following prudent practices such as checking audit reports, investigating the team’s experience, and allocating funds wisely can help you reap the benefits of DeFi while lowering risk. 

About the Author

Dr. Poming Lee is a Security Auditor and Research Engineer with Quantstamp. Before joining Quantstamp he built multiple AI-based cryptocurrency and equity trading bots and worked as Senior Engineer at Himax Technologies as well as a Lecturer at National Chiao-Tong University. He has a Ph.D in CS with a focus on AI from National Chiao-Tong University and his Bachelors in CS with a focus on decentralized applications.

March 31, 2020

Quantstamp Joins MyID Alliance

Quantstamp is proud to join the MyID Alliance, a Digital ID initiative by ICONLOOP. As the world moves towards more online and less face-to-face interactions, Digital ID will be a key enabling technology. 

March 24, 2020

Market Dynamics of the 1st bZx Hack: Flash Loans and the Insolvent Loan

In this series, we describe the market dynamics of the 1st bZx attack so we can avoid attacks with market manipulation components in the future.

March 13, 2020

Top 3 DeFi Trends

This post discusses how flash loans, zaps, and DeFi aggregators are leveraging composability in order to simplify the user experience and ultimately make DeFi markets hyper-efficient.

March 11, 2020

Bringing Bitcoin to DeFi

DeFi is blockchain’s first killer app, with assets locked up approaching $1 billion USD. But one major asset is missing: Bitcoin. Bitcoin is not only the first crypto asset, but the largest - with over $168 billion USD of Bitcoin in circulation it has deep pools of liquidity. It is one of the least volatile cryptocurrencies and has a large network of fiat on and off ramps. All these properties make it a great crypto-collateral. We think Bitcoin has the potential to transform the DeFi landscape as the most widespread and liquid asset available today.