dos-griefing-analysis

dos-griefing-analysis is a skill for Claude Code from quillai-network/quillshield_skills. It costs 108 tokens per session (3,069 once invoked), scanned A, original, MIT.

A security review guide for denial-of-service and griefing vulnerabilities in smart contracts. These attacks can make a contract unusable or impose harm and costs on other users without directly taking their money.

In plain words
What is it for?
Use it for dynamic loops, batch actions, airdrops, rewards, liquidations, payment distribution, gas handling, and logic based on the contract's balance.
Why use it?
It helps identify growing loops, gas-limit failures, storage bloat, timestamp manipulation, forced balance changes, and payment designs where one user's failure blocks everyone. Such issues can permanently prevent important functions from running.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the dos-griefing-analysis plugin — 1 skill shipped together

Good fit Use it for dynamic loops, batch actions, airdrops, rewards, liquidations, payment distribution, gas handling, and logic based on the contract's balance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/quillai-network/quillshield_skills/dos-griefing-analysis
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add quillai-network/quillshield_skills --skill dos-griefing-analysis
Clone the repo
git clone --depth 1 https://github.com/quillai-network/quillshield_skills

Made for: Claude Code.

Or install dos-griefing-analysis, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dos-griefing-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/quillai-network/quillshield_skills/dos-griefing-analysis/github.svg)](https://agentmods.dev/skills/quillai-network/quillshield_skills/dos-griefing-analysis)
Your own site
<a href="https://agentmods.dev/skills/quillai-network/quillshield_skills/dos-griefing-analysis"><img src="https://agentmods.dev/badge/skills/quillai-network/quillshield_skills/dos-griefing-analysis/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for dos-griefing-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/quillai-network/quillshield_skills/dos-griefing-analysis"><img src="https://agentmods.dev/badge/skills/quillai-network/quillshield_skills/dos-griefing-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,069 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00108 $0.03069
Opus 5.5 $0.00043 $0.01228
Sonnet 5.5 $0.00022 $0.00614
Haiku 4.5 $0.00011 $0.00307

Measured 3mo ago against content hash 99e869f7e65c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dos-griefing-analysis scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/dos-griefing-analysis/skills/dos-griefing-analysis/SKILL.md · 343 lines

How it starts

The opening of the file, as written. The whole thing — 343 lines — stays where its author put it; the contents beside it link to each section on GitHub.

DoS & Griefing Analysis

Detect vulnerabilities that allow attackers to make contracts unusable (Denial of Service) or harm other users at low cost (griefing). These attacks don't steal funds directly but can permanently brick contracts or block critical operations.

When to Use

  • Auditing contracts with loops over dynamic arrays or mappings
  • Reviewing batch operations (airdrops, reward distribution, liquidation)
  • Analyzing contracts that rely on address(this).balance for logic
  • Verifying that individual user failures don't block system-wide operations
  • Checking for gas-based attack vectors (insufficient gas, storage bloat)

When NOT to Use

  • Direct fund theft analysis (use behavioral-state-analysis)
  • Access control consistency (use semantic-guard-analysis)
  • Reentrancy detection (use reentrancy-pattern-analysis)

Seven DoS & Griefing Vulnerability Classes

Class 1: Unbounded Loop DoS

Loops that iterate over collections that grow with contract usage. As the collection grows, gas cost increases until the function exceeds the block gas limit and becomes permanently uncallable.

// VULNERABLE: Loop over all users — grows forever
address[] public allUsers;

function distributeRewards() external {
    for (uint i = 0; i < allUsers.length; i++) {
        // If allUsers has 10,000+ entries, this exceeds block gas limit
        token.transfer(allUsers[i], calculateReward(allUsers[i]));
    }
}

// SAFE: Paginated processing
function distributeRewards(uint256 startIndex, uint256 batchSize) external {
    uint256 end = min(startIndex + batchSize, allUsers.length);
    for (uint i = startIndex; i < end; i++) {
        token.transfer(allUsers[i], calculateReward(allUsers[i]));
    }
}

// SAFER: Pull pattern
mapping(address => uint256) public pendingRewards;

function claimReward() external {
    uint256 reward = pendingRewards[msg.sender];
    pendingRewards[msg.sender] = 0;
    token.transfer(msg.sender, reward);
}

Detection:

Read the full file on GitHub · 343 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 343 lines · 108 tokens per session scan A 99e869f7e65c

Subscribe to this mod's changes

dos-griefing-analysis is a skill published in the GitHub repository quillai-network/quillshield_skills (137 stars, last pushed 7d ago), licensed MIT. It adds 108 tokens to every session and 3,069 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

dos-griefing-analysis compared with skills from other repositories

dos-griefing-analysis next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dos-griefing-analysisquillai-network/quillshield_skillsSkill1377d agoMITA108Claude Code
credential-holderandroid/skillsSkill11k7d agoApache-2.0A127Claude Code
1m-tradeLeoYeAI/openclaw-master-skillsSkill2.2k9d agoMITA79Claude Code, Codex
aawpLeoYeAI/openclaw-master-skillsSkill2.2k9d agoMITA77Claude Code, Codex
agent-soulLeoYeAI/openclaw-master-skillsSkill2.2k9d agoMITA60Claude Code, Codex
agent-otc-tradeLeoYeAI/openclaw-master-skillsSkill2.2k9d agoMITA80Claude Code
agentic-streetLeoYeAI/openclaw-master-skillsSkill2.2k9d agoMITA91Claude Code, Codex