Is It Necessary to Prepare Code Before an Audit? When, Why, and How Does It Save Money?

We've prepared this material to assist you in securing your project by answering these and other pre-audit-related questions.

🤿  Let's dive in.


TL;DR

Yes! Please prepare your codebase before an audit to save both your time and money! ⌛💸


1. In More Detail

Is It Necessary to Prepare the Code Before an Audit?

So, you've completed developing your project, investing significant effort and resources, and are preparing for the release\deployment. You might already know how to find an auditor and secure your project from all sides.

As we have analyzed in our previous article-report, smart contract audit is a significant security consideration. But we still haven’t figured out how to prepare for it! Let's assume that you decide to order an audit and want to make the process as efficient as possible. Let's figure out what steps you need to apply!”

Your goal is to get a quality audit and launch smoothly, spending as little money and time as possible.

Let's find out what influences the quality, time, and cost of an audit.


2. Quality

What Does “Quality” Mean?

For that, let's define the purpose of an audit. The goal of an audit is to list all current vulnerabilities in the specified scope and provide detailed recommendations for changes.

Thus, the quality of an audit is expressed in the final report that contains the number of vulnerabilities found (hard to assess since we don't know how many are not found), how dangerous these vulnerabilities really are (usually graded - critical, major, info etc.), why it’s crucial to fix them, and recommendations how to do that.

What Can Affect the Quality?