Code audit is a method of identifying potential security risks and coding specification issues by testing a program's source code. This method can be carried out by automated tools or by manual review, analyzing the source code line by line to find security vulnerabilities caused by source code flaws and providing code remediation and recommendations.