incorrect-inheritance-order
CommunitySecure inheritance order in Solidity
AuthorApegurus
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses potential vulnerabilities arising from incorrect ordering of parent contracts in Solidity's multiple inheritance, which can lead to unintended function resolution and security flaws.
Core Features & Use Cases
- Vulnerability Detection: Identifies contracts with multiple inheritance where parent functions might have ambiguous resolutions.
- Order Analysis: Analyzes C3 linearization and
overridespecifiers to detect potential issues. - Use Case: Ensure that critical functions like
owner()ortransfer()resolve to the intended contract implementation, preventing unauthorized actions or unexpected behavior in complex inheritance structures.
Quick Start
Analyze the contract 'MyTreasury.sol' for incorrect inheritance order vulnerabilities.
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: incorrect-inheritance-order Download link: https://github.com/Apegurus/solidity-argus/archive/main.zip#incorrect-inheritance-order 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.