background
logo

Security Audit Report for PancakeSwap VECake

개요

Pancake launched a governance project VECake for voting. VECake enables users to acquire voting powers by depositing their CAKE tokens. These voting powers empower users to vote on Pancake Gauge weights.

The core contracts covered in this audit include VECake and GaugeVoting. The iterative audit covers the code in the initial version, as well as subsequent versions to fix discovered issues, as detailed in our audit report. Please note that external dependencies are assumed reliable and are therefore excluded from the audit scope.

Our audit methodology employs automated vulnerability scans, manual verification, and business logic analysis to uncover potential security issues coupled with gas and code quality optimization recommendations.

In summary, we have found that the codebase contains several high-risk issues that require prompt attention. In addition, we have identified other non-critical issues as well as security suggestions that should be considered. The Pancake team has addressed these issues promptly. It is important to note that our audit covers only the final reported versions of the codebase. Any subsequent updates would require a re-evaluation.

주요 발견 사항

스마트 컨트랙트에서 잠재적인 문제 6건을 발견했습니다. 권고 사항 2건과 참고 사항 2건도 함께 정리했습니다.

높은 위험도 3건
중간 위험도 0건
낮은 위험도 3건
권고 사항 2건
참고 사항 2건
ID Severity Description Category Status
1 Low Inconsistent lock time limits Software Security Fixed
2 High Incorrect operator precedence Software Security Fixed
3 Low Flawed code logic that cannot update the first added gauge info Software Security Fixed
4 Low Lack of sanity check on admin voting weight Software Security Fixed
5 High Lack of updates on gaugeChangesWeight and gaugeTypeChangesSum Software Security Fixed
6 High Inconsistent designs related to boostMultiplier DeFi Security Fixed
7 - Fix typos Recommendation Fixed
8 - Remove debugging codes Recommendation Fixed
9 - Potential centralization risk Note -
10 - Ensure the proper use of function totalSupplyAtTime and balanceOfAtTime Note -

자세한 내용은 감사 보고서에서 확인할 수 있습니다.

더 안전한 프로토콜을 위한 첫걸음

출시 전에 프로토콜 보안을 강화하세요. BlockSec의 전문 코드 감사팀에 문의하시면 됩니다.