unexpected-ecrecover-null-address
CommunitySecure ecrecover calls
AuthorApegurus
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses a critical security vulnerability in Solidity smart contracts where the ecrecover function is used improperly, potentially allowing unauthorized actions due to uninitialized or zero addresses.
Core Features & Use Cases
- Vulnerability Detection: Identifies direct usage of
ecrecoverwithout proper validation againstaddress(0). - Secure Coding Practices: Promotes the use of safer alternatives like OpenZeppelin's
ECDSA.recover. - Use Case: Auditing a smart contract that uses
ecrecoverfor signature verification to ensure that an attacker cannot exploit a scenario where the recovered address isaddress(0)and the expected signer is alsoaddress(0).
Quick Start
Analyze the attached contract 'Vault.sol' for the unexpected ecrecover null address vulnerability.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: unexpected-ecrecover-null-address Download link: https://github.com/Apegurus/solidity-argus/archive/main.zip#unexpected-ecrecover-null-address Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.