My resolution process

Jun 26
10
min of reading

After the main audit round, the protocolteam will have some time to address and fix all issues.

Once this has been done and the latestcommit commit has been shared, the first step is to utilize a tool likehttp://diffchecker.com. This tool allows to compare the previous commit withthe updated one, highlighting exactly what has changed. This step is crucialfor focusing on the modifications without needing to go through the entirecodebase again.

The resolution round now involves severalsteps:

Thoroughly audit all changes:

It's important to examine each alterationmeticulously to ensure that the fixes don't introduce new vulnerabilities oraffect the contract's logic adversely.

Identify removed snippets:

Understanding what has been taken out isjust as important as seeing what’s been added. Removal of certain code snippetscould potentially fix a vulnerability or even implement a new one.

Assess added snippets:

New additions should be evaluated forsecurity and their integration with the existing code. It's essential to ensurethese additions don’t introduce new vulnerabilities.

However, this method faces a challenge whena large volume of changes makes a direct comparison difficult or impractical.In such cases, opting for a fresh audit round is advisable. This ensures thatpotential oversights are mitigated.

A specific concern with only auditing thechanges (especially after a significant amount of time has passed since theinitial audit) is the risk of missing context-specific bugs. These are issuesthat might not be evident when looking at the changes in isolation but becomeapparent when considering the contract as a whole. For instance, changes in onepart of the contract could inadvertently affect its behavior in another,seemingly unrelated part.

Remember, the goal of the resolution roundisn't just to verify that the recommended fixes were implemented but also toensure that the contract remains secure, efficient, and functional after thesechanges. As the complexity of smart contracts grows, so does the need formeticulous and comprehensive auditing practices.

For every audit that I conduct, I reservethe right to additionally charge if a standard resolution round is notfeasible.

Read the original article

Related articles