bb-methodology
The "3rd eye" for pentesting — reminds agent to understand before assuming, validate before reporting.
Analyze EVM smart contracts for storage-safety vulnerabilities that can cause persistent state updates to be lost, overwritten, misdirected, or to collide across proxy or upgrade boundaries.
Claude Code
$ npx -y skills add Gabson0x/bountyforge --skill code-sleuth --agent claude-code
Codex
$ npx skills add Gabson0x/bountyforge --skill code-sleuth -a codex -y
Cursor
$ npx skills add Gabson0x/bountyforge --skill code-sleuth -a cursor -y
Gemini CLI
$ npx skills add Gabson0x/bountyforge --skill code-sleuth -a gemini-cli -y
GitHub Copilot
$ npx skills add Gabson0x/bountyforge --skill code-sleuth -a github-copilot -y
OpenCode
$ npx skills add Gabson0x/bountyforge --skill code-sleuth -a opencode -y
Windsurf
$ npx skills add Gabson0x/bountyforge --skill code-sleuth -a windsurf -y
name: code-sleuth description: Analyze EVM smart contracts for storage-safety vulnerabilities that can cause persistent state updates to be lost, overwritten, misdirected, or to collide across proxy or upgrade boundaries.
Analyze EVM smart contracts for storage-safety vulnerabilities.
See also: [[Web3 Audit]], [[Smart Contract Audit]], [[Trust Map]], [[Methodology]]
Only report issues that have a **clear persistence or state integrity impact**.
---
Only proceed if BOTH conditions are true:
1. The contract contains **state-mutating logic** intended to update persistent storage (balances, shares, positions, roles, configuration, accounting totals, escrow mappings, arrays of records, etc.).
2. At least one of the following storage-risk signals is present:
If these gates are not satisfied, do not force findings.
---
Map the contract’s persistent state surface before looking for bugs.
Use this inventory to anchor later findings to **specific variables and write paths**.
---
Look for cases where storage-backed data is copied into a temporary value, modified, but never written back to storage.
Typical pattern:
Report a finding only if **all** of the following are true:
Indicators that persistence is expected:
Do not report if:
---
Look for cases where **untrusted input affects which storage slot is written**.
This usually occurs in:
Report a finding only if **all** of the following are true:
Examples of realistic overwrite targets:
Do not report if:
---
If the contract uses proxy, upgradeable, or diamond architecture, examine storage layout safety.
Look for situations where storage from multiple implementations or facets could overlap.
High-risk signals include:
Report layout issues carefully:
Do not report if:
---
Look for storage behaviors that can corrupt or desynchronize state.
Examples include:
Only report issues where the result could cause:
All-round bug bounty skill for Claude Code — parallelized agents for smart contract audits (EVM, Move, Solana, TRON), web/API security, local tooling orchestration, and submission-ready reports for HackerOne, Bugcrowd, Intigriti & Immunefi.
The "3rd eye" for pentesting — reminds agent to understand before assuming, validate before reporting.
Complete bug bounty workflow — recon (subdomain enumeration, asset discovery, fingerprinting, HackerOne scope, source code…
Generate Echidna/Medusa-compatible Solidity fuzz suites from Foundry or Hardhat projects. Trigger on "fizz", "generate fuzz…
Convert English-language properties in PROPERTIES.md (produced by the Fizz skill) into Solidity assertions inside the existing…
Reconcile an existing Fizz harness with a changed source tree. Detects added/removed/changed contract functions, quarantines…
Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys)…
Clean and finalize authorized natural-language text intended for readers by auditing suspicious invisible Unicode and rewriting…