Skip to content

Commit

Permalink
Preliminary audit reports (#626)
Browse files Browse the repository at this point in the history
* Preliminary audit reports

* rename

* correct contract name
  • Loading branch information
kumaryash90 authored Mar 11, 2024
1 parent 90ca7b4 commit c22fcfd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions audit-reports/preliminary-audits/airdroperc20-claimable.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
This document contains details on fixes / response to the preliminary audit reports added to this repository.

## [AirdropERC20Claimable](./airdroperc20-claimable.pdf)

### 01: Governance: TrustedForwarder can execute claims on behalf of other addresses

- The contract doesn't add a trusted-forwarder address by default. The deployer of AirdropERC20Claimable can specify which forwarder they want to use (if any), or leave as address zero.

### 02: Malicious users can steal the entire balance of the contract

- This refers to the possibility of a sybil attack on open/public claims, where multiple wallets can be created to claim the quantity specified by `openClaimLimitPerWallet`. To prevent this scenario or any kind of public claiming, deployer can set `openClaimLimitPerWallet` to zero when setting claim conditions during deployment.
Binary file not shown.

0 comments on commit c22fcfd

Please sign in to comment.