Assessment reports>StakeKit FeeWrapper>Discussion>Use of ReentrancyGuard is recommended

Use of ReentrancyGuard is recommended

Currently, reentrancy seems hard in the reviewed codebase. However, to prevent potential future threats, it is recommended to use OpenZeppelin's ReentrancyGuard to lock the calling functions.

The StakeKit implemented ReentrancyGuard in this commit to prevent potential reentrancy attack in deposit function.

Zellic © 2024Back to top ↑