logic-error
OfficialDetect logic flaws in smart contracts.
AuthorPurpleAILAB
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill identifies critical vulnerabilities in smart contract code stemming from logical errors, such as incorrect arithmetic operations, rounding issues, and improper handling of edge cases, which can lead to significant financial losses.
Core Features & Use Cases
- Vulnerability Pattern Detection: Identifies common logic flaws like division before multiplication, first depositor attacks, precision loss, and unchecked blocks.
- Calculation Flow Analysis: Provides a structured map to trace arithmetic operations and their potential risks.
- Use Case: An auditor can use this Skill to quickly scan a smart contract for known patterns that have historically led to exploits, such as fee bypasses or vault inflation attacks.
Quick Start
Analyze the provided smart contract code for potential logic errors.
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: logic-error Download link: https://github.com/PurpleAILAB/Vigilo/archive/main.zip#logic-error 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.