How Does the Audit Process Handle Vulnerabilities Found in External Libraries?

The audit process must address vulnerabilities found in external, non-audited libraries that the smart contract relies on, such as OpenZeppelin or other DeFi protocols. If the vulnerability is in the external library, the auditor must flag the contract's reliance as a critical risk, even if the contract's own code is flawless.

The recommendation is usually to wait for the external library to be patched or to use a verified, well-known version. The audit report typically includes a section detailing these "external dependencies and assumptions."

What Are Some Common Red Flags That Trigger an SAR in a Crypto Exchange?
What Is the Safe Math Library and Why Is It Used?
How Can a DAO Assess the Audit Quality of a Smart Contract Protocol?
What Are the Most Common Red Flags That Can Help an Investor Identify a Potential Rug Pull?
How Does PoW’s Reliance on External Hardware Supply Chains Create Unique Security Vulnerabilities?
How Can Investors Detect Potential Red Flags for a Crypto Rug Pull?
What Mechanism on a DEX Makes It Vulnerable to Price Manipulation via Sandwich Attacks?
What Is the Role of a Smart Contract Auditor versus a Standard Software Developer?

Glossar