dos-griefing-analysis

Detect Denial of Service and griefing vulnerabilities in smart contracts.

Updated Feb 25, 2026
One-click install
npx skills add https://github.com/dajneem23/codex-skills --skill dos-griefing-analysis-dajneem23
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dos-griefing-analysis
Source: https://github.com/dajneem23/codex-skills/tree/main/dos-griefing-analysis
Command: npx skills add https://github.com/dajneem23/codex-skills --skill dos-griefing-analysis-dajneem23

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill identifies Denial of Service (DoS) and griefing vulnerabilities in smart contracts, preventing attackers from making contracts unusable or harming users at low cost.

Core Features & Use Cases

  • Vulnerability Detection: Analyzes contracts for common DoS and griefing patterns like unbounded loops, external call failures, gas griefing, storage bloat, timestamp manipulation, and self-destruct force-feeding.
  • Audit Support: Provides detailed explanations and detection strategies for each vulnerability class, aiding security auditors.
  • Use Case: When auditing a new DeFi protocol, use this Skill to proactively identify if batch reward distributions could be stalled by a single malicious user or if an attacker could exploit gas limits to disrupt critical functions.

Quick Start

Analyze the provided smart contract code for potential DoS and griefing vulnerabilities.

Frequently Asked Questions about dos-griefing-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect Denial of Service and griefing vulnerabilities in smart contracts?

Detect Denial of Service and griefing vulnerabilities by analyzing smart contract code for patterns like unbounded loops, external call failures, and gas griefing. This analysis identifies risks that could render contracts unusable or harm users at low cost.

What types of griefing patterns can occur in EVM smart contracts?

Griefing patterns in EVM smart contracts include gas griefing, storage bloat, timestamp manipulation, and self-destruct force-feeding. Attackers exploit these patterns to harm users or disrupt contract operations while spending minimal resources.

How do I audit a DeFi protocol for unbounded loops and external call failures?

Audit a DeFi protocol for unbounded loops and external call failures by applying detailed code analysis. This detects if batch reward distributions could be stalled by a malicious user or if gas limits disrupt critical functions.

Can I use this vulnerability analysis to check if a contract is vulnerable to self-destruct force-feeding?

Yes, vulnerability analysis checks if a contract is vulnerable to self-destruct force-feeding. It analyzes patterns where attackers force-send Ether via self-destruct to disrupt contract logic or bypass payment requirements.

Does detecting DoS vulnerabilities require understanding EVM gas mechanics?

Yes, detecting DoS vulnerabilities requires understanding EVM gas mechanics. Detailed code analysis of gas limits and execution costs is necessary to identify risks like gas griefing and unbounded loops accurately.