Hunt prep
Before you test Zap Protocol
What 6 disclosed reports say about Zap Protocol: what was found and paid, what was fixed, and where it may be worth looking next.
- with a public bounty
- 0
- median public bounty
- –
- highest public bounty
- –
Gaps worth testing
Not written yet for this program. The numbers below are up to date.
What was found and what it paid
Public bounties only; many reports disclose without the amount.
| Class | Reports | Paid | Median | Highest | In all |
|---|---|---|---|---|---|
| Business logic lesson | 4 | 0 | – | – | $0 |
| Access control lesson | 1 | 0 | – | – | $0 |
| Smart contracts lesson | 1 | 0 | – | – | $0 |
What was fixed
All reportsThe newest fixes, in our words. A fixed bug is not worth re-reporting, but a sibling feature, an older API version or a regression may be.
-
If token does not oversell, users cannot claim tax refund on their tax free allocation
The require check should be removed to allow users to claim their tax refund regardless of whether the token has oversold.
Disclosed
-
Reentrancy in Vesting.sol:claim() will allow users to drain the contract due to executing .call() on user's address before setting s.index = uint128(i)
The issue was fixed by moving the state update before the external call and adding a reentrancy guard.
Disclosed
-
Vesting contract cannot work with ETH, although it's supposed to
The protocol team removed ETH functionality from the contract, and the fix was verified.
Disclosed
-
Blocklisted investors can still claim USDC in `TokenSale.sol`
The issue was fixed by passing the user's address (msg.sender) to the block check instead of the contract's address.
Disclosed
-
Max allocations can be bypassed with multiple addresses because of guaranteed allocations
The protocol team fixed this issue in a pull request.
Disclosed
-
Tax refund is calculated based on the wrong amount
The code should be changed to include the tax-free allocation in the refund calculation.
Disclosed