CryptoKeySafe CK bracket markCRYPTOKEYSAFE
返回博客
DeFi 安全阅读约需 2 分钟

评估 DeFi 协议安全性

核对已部署的智能合约和审计范围,再检查升级权限、提现条件与外部依赖。

全文以英语提供。

Match the audit to the deployed contract

Read the audit scope before relying on its conclusions. Compare the reviewed code, the deployed contract address, and the current implementation behind any proxy. Source verification matches published code to deployed bytecode. Evaluating safety also requires reviewing the contract behavior and controls.

Identify who can change the rules

Look for upgrade authority, emergency roles, governance voting, and any delay between approval and execution. In OpenZeppelin's published timelock design, authorized proposers schedule operations before they can be executed. A specific protocol may use different roles or a different control structure.

Check withdrawal conditions and dependencies

Ask what happens if collateral falls in value or many depositors exit at once. Aave documents how full utilization can block withdrawals in an affected reserve until repayments or new supply arrive. Bridge assets add another layer of assumptions about custody, validation, and the associated contracts.

Use historical losses with their scope stated

Chainalysis estimated more than $3.1 billion was stolen from DeFi protocols in 2022. For a current decision about one protocol, identify the risks for the specific market, asset, and chain.