plugins marketplace
← All plugins

input-arithmetic-safety

v1.0.0

Detects input validation failures and arithmetic vulnerabilities in smart contracts — the #1 direct exploitation cause at 34.6% of cases. Covers missing zero-checks, precision loss from division-before-multiplication, rounding direction exploitation, ERC4626 inflation attacks, unsafe casting, dust amount exploitation, and Solidity 0.8+ edge cases in unchecked blocks.

Claude Code1 skill

by QuillShield117updated 4 months ago

Source

git clone https://github.com/quillai-network/quillshield_skills

Clone the source, then follow the repository's marketplace instructions for your runtime. The plugin root is plugins/input-arithmetic-safety/ inside the repository.

Layout

plugins/input-arithmetic-safety/
├── .claude-plugin/plugin.json
└── skills/input-arithmetic-safety/SKILL.md

Skills1

input-arithmetic-safetyskills/input-arithmetic-safety/SKILL.md

Detects input validation failures and arithmetic vulnerabilities in smart contracts. Covers missing zero-address and zero-amount checks, division-before-multiplication precision loss, rounding direction exploitation, ERC4626 vault share inflation attacks, unsafe integer casting, dust amount exploitation, and Solidity 0.8+ unchecked block edge cases. Use when auditing contracts with fee calculations, share pricing, exchange rates, unchecked blocks, or any public-facing functions that accept user input.

Manifests1

plugins/input-arithmetic-safety/.claude-plugin/plugin.json
{
  "name": "input-arithmetic-safety",
  "version": "1.0.0",
  "description": "Detects input validation failures and arithmetic vulnerabilities in smart contracts — the #1 direct exploitation cause at 34.6% of cases. Covers missing zero-checks, precision loss from division-before-multiplication, rounding direction exploitation, ERC4626 inflation attacks, unsafe casting, dust amount exploitation, and Solidity 0.8+ edge cases in unchecked blocks.",
  "author": {
    "name": "QuillShield",
    "url": "https://github.com/quillai-network"
  }
}