Blockdaemon Staking API - Ethereum Security Audit Certificate

📑 Blockdaemon Deposit Contract - Audit Certificate

Executive Summary

Risk Assessment

Summary of Findings

Quantstamp audited the smart contract proposed by Blockdaemon for performing batch deposits. The documentation provided does not adequately cover the smart contract, and we recommend improving it by creating a dedicated page explaining the different parameters involved.

Adherence to Best Practices

Update ID Description Severity Status
QSP-1 validUntil Can Be Modified Arbitrarily Low Acknowledged
QSP-2 Missing Input Validation Low Fixed
QSP-3 Incorrect/Missing Visibility Informational Fixed
QSP-4 Application Monitoring Can Be Improved by Emitting Events Informational Acknowledged
QSP-5 BatchDeposit.depositBatch() Could Run Out of Gas Informational Mitigated
QSP-6 Hard for Users to Check Whether the depositContract Is Correctly Set Informational Fixed

Auditor Suggestions

Methodology


📑 Blockdaemon Deposit Contract - Audit Certificate (Post-Pectra)

Executive Summary

Summary of Findings

Blockdaemon has introduced a new batchDeposit() function to enhance efficiency. An identified security risk could lead to a Denial-of-Service condition, preventing future deposits.

Assessment Breakdown

ID Description Severity Status
BLO-1 Forcing Ether Into the Contract Creates Denial-of-Service Vector Medium Fixed
BLO-2 Out-of-Bounds Write/Data Overwrite via Permissive Length Check Medium Fixed

Findings

Methodology