Skip to content

Security: etherbyEth/Etherbox

Security

docs/SECURITY.md

# Security Overview

Etherbox is designed as a simple and predictable token distribution protocol.

---

## πŸ” Core Protections

- Custom errors
- Zero address validation
- Zero amount validation
- Claim tracking
- Whitelist enforcement
- Anti-Sybil hook
- Solidity overflow protection (^0.8)

---

## 🧾 Claim Protection

Each wallet can claim only once:

```solidity
mapping(bytes32 => mapping(address => bool)) internal claimed;
πŸ”’ Private Boxes

Access restricted via whitelist:

mapping(bytes32 => mapping(address => bool)) internal whitelist;
🌍 Public Boxes

Protected by Anti-Sybil layer (placeholder).

Can be extended with:

off-chain scoring
signatures
allowlists

---

There aren't any published security advisories