Hunt prep
Before you test Harpie
What 9 disclosed reports say about Harpie: 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 | 3 | 0 | – | – | $0 |
| Crypto lesson | 2 | 0 | – | – | $0 |
| Smart contracts lesson | 2 | 0 | – | – | $0 |
| DoS lesson | 1 | 0 | – | – | $0 |
| Race condition 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.
-
Cross-chain replay attacks are possible with `changeRecipientAddress()`
The fix was to include the chain ID in the signed data and in signature validation.
Disclosed
-
Usage of deprecated transfer() can result in revert
The fix was to replace transfer() with call() and check the success boolean.
Disclosed
-
Nonces not used in signed data
The team fixed it by changing to an incremental nonce system, though the lead reviewer suggested the fix could probably be safely removed.
Disclosed
-
Incompatability with deflationary / fee-on-transfer tokens
The team changed the code to record the vault's balance difference instead of the transfer amount, which was fixed, though rebasing tokens are still not supported.
Disclosed
-
Signature malleability not protected against
The project upgraded the OpenZeppelin NPM package to version 4.7.3, which includes the ECDSA fix.
Disclosed
-
Use `safeTransferFrom()` instead of `transferFrom()` for outgoing erc721 transfers
The vault was fixed by using safeTransferFrom() in the withdraw function.
Disclosed
-
There is no limit on the amount of fee users have to pay
The issue was fixed by adding a timelock for the fee controller and other supplementary changes.
Disclosed
-
Unsafe casting of user amount from `uint256` to `uint128`
The issue was fixed by using OpenZeppelin's SafeCast library, which reverts on overflow, though the team accepted the risk of reverts for very large token supplies.
Disclosed