dos-gas-limit

Community

Prevent DoS by gas limit exhaustion.

AuthorApegurus
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses Denial-of-Service (DoS) vulnerabilities where contract operations can fail due to exceeding the block gas limit, often caused by unbounded loops or time-sensitive logic exploited by attackers.

Core Features & Use Cases

  • Unbounded Iteration Detection: Identifies loops that iterate over dynamic arrays or mappings that can grow indefinitely.
  • Time-Sensitive Logic Analysis: Flags functions where block stuffing by attackers can delay transaction inclusion, causing failures.
  • Use Case: Protects against scenarios where a payment distribution function, designed to send rewards to many recipients, becomes unusable when the recipient list grows too large, causing all transactions to revert.

Quick Start

Analyze the provided Solidity code for potential DoS vulnerabilities related to gas limits.

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: dos-gas-limit
Download link: https://github.com/Apegurus/solidity-argus/archive/main.zip#dos-gas-limit

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.