semantic-guard-analysis

Community

Find logic bugs by contract's own rules.

AuthorRamprasad4121
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill detects logic vulnerabilities in smart contracts by analyzing how consistently functions apply security checks (guards) to state variables, identifying deviations from the contract's own established patterns.

Core Features & Use Cases

  • Guard-State Consistency Analysis: Identifies functions that bypass security checks (require, modifiers) that other functions consistently apply to the same state variables.
  • Vulnerability Detection: Pinpoints missing access controls, inconsistent pause checks, logic bugs, and forgotten modifiers, especially when traditional tools report no issues.
  • Use Case: Auditing a smart contract where you suspect a critical financial state variable is not being protected by the paused modifier in all relevant functions, even though it is in most.

Quick Start

Analyze the provided smart contract code for guard-state inconsistencies.

Dependency Matrix

Required Modules

None required

Components

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: semantic-guard-analysis
Download link: https://github.com/Ramprasad4121/srp/archive/main.zip#semantic-guard-analysis

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.