web3-bug-classes

Identify DeFi smart contract vulnerability classes for secure code reviews.

121|32|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/shuvonsec/web3-bug-bounty-hunting-ai-skills --skill web3-bug-classes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web3-bug-classes
Source: https://github.com/shuvonsec/web3-bug-bounty-hunting-ai-skills/tree/main/web3-bug-classes
Command: npx skills add https://github.com/shuvonsec/web3-bug-bounty-hunting-ai-skills --skill web3-bug-classes

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Complete reference for all 10 DeFi smart contract bug classes. Use this when hunting for specific vulnerability types, need attack patterns for accounting desync, access control, incomplete path, off-by-one, oracle manipulation, or proxy/upgrade bugs.

Core Features & Use Cases

  • Comprehensive taxonomy of all 10 bug classes, including root causes, patterns, and real-world examples.
  • Ready-to-use grep patterns for Solidity code scanning and security reviews.
  • Real-world case studies from Immunefi reports, DeFiHack reproductions, and live hunts to illustrate mitigations.

Quick Start

Use the bug classes as a reference during audits to spot common vulnerability patterns in Solidity code.

Frequently Asked Questions about web3-bug-classes

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

FAQPage Schema
What are the most common DeFi smart contract vulnerability classes I should look for during a security audit?

Common DeFi smart contract vulnerability classes include accounting desync, access control issues, incomplete paths, off-by-one errors, oracle manipulation, and proxy or upgrade bugs. Reviewing these bug classes during security audits helps identify systemic root causes and recurring exploit patterns in Solidity protocols.

How do I find oracle manipulation and accounting desync bugs in Solidity code?

To find oracle manipulation and accounting desync bugs in Solidity code, apply ready-to-use grep patterns to scan for specific vulnerability signatures. This reference provides search patterns alongside real-world case studies from Immunefi and DeFiHack to pinpoint root causes during code reviews.

Can I use this reference for bug hunting on Immunefi and live protocol assessments?

Yes, this reference supports bug hunting on Immunefi and live protocol assessments by providing real-world case studies and attack reproductions. It covers root causes, vulnerability patterns, and mitigations across 10 distinct DeFi bug classes applicable to active smart contract security reviews.

What is the best way to structure a bug hunting playbook for DeFi smart contracts?

The best way to structure a bug hunting playbook for DeFi smart contracts is to organize it by vulnerability class. This reference covers 10 distinct bug classes with root causes, grep patterns, and real-world examples, enabling a systematic approach to secure code reviews and protocol assessments.

Does this cover proxy and upgrade vulnerabilities in smart contracts?

Yes, this covers proxy and upgrade vulnerabilities in smart contracts as one of its 10 core DeFi bug classes. It details the root causes and patterns associated with upgrade bugs, providing grep patterns and real-world examples to detect these issues during Solidity security audits.