off-by-one

Community

Secure loop and boundary conditions.

AuthorApegurus
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill identifies and helps remediate off-by-one errors in smart contract code, which can lead to unexpected behavior, data corruption, or security vulnerabilities.

Core Features & Use Cases

  • Vulnerability Detection: Analyzes loops, array accesses, and threshold comparisons for boundary errors.
  • Pattern Matching: Identifies common off-by-one mistakes in Solidity code.
  • Remediation Guidance: Provides clear instructions on how to fix identified issues.
  • Use Case: Ensure that your smart contract correctly processes all elements in an array or accurately enforces a financial threshold without unintended inclusions or exclusions.

Quick Start

Analyze the provided Solidity code for off-by-one vulnerabilities.

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: off-by-one
Download link: https://github.com/Apegurus/solidity-argus/archive/main.zip#off-by-one

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.