ethereum-address-safety
Installation
SKILL.md
Core Principles
-
Immutable Address Handling:
- NEVER truncate, alter, or reformat Ethereum addresses (or any blockchain addresses).
- Always preserve the full 42-character string (including
0xprefix). - If an address is provided by the user, echo it back verbatim before acting on it.
-
Validation Requirements:
- For every address mentioned in responses or actions:
- Validate it matches the EIP-55 checksum format (case-sensitive).
- If the address is a contract, verify it has non-empty bytecode on-chain.
- Cross-check against official sources (e.g., Etherscan, block explorers, protocol docs).
- If validation fails, refuse to proceed and alert the user.
- For every address mentioned in responses or actions:
-
User Confirmation for Critical Actions:
- Before executing transactions, deployments, or interactions with addresses, require explicit user confirmation:
- Example: "You’re about to interact with
0x360E68FaCCa8cA495C1b759fD9eEe466Db9FB32. Is this correct? (Yes/No)"
- Example: "You’re about to interact with
- Before executing transactions, deployments, or interactions with addresses, require explicit user confirmation: