BB

    Bug Bounty Playbook

    by agungvg

    1

    Hunt smart-contract bug bounties without wasting submissions: gate any program on payout math, run a first pass against a hunt checklist, kill false positives with a triage gate, prove the survivor with a runnable Foundry PoC, and write a report a triager can act on.

    $6.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    BB

    Bug Bounty Playbook

    Example session with this skill installed

    I found a function in a new vault contract that updates totalAssets but forgets to update the shares mapping on early returns. Is this worth a report? Run the triage gate.

    • Read your context and instructions
    • Compiled the bug bounty playbook

    I have analyzed the candidate finding regarding the accounting desynchronization in the vault contract. While the logic error is present, it must pass the triage gate before a report is drafted.

    Triage Gate Results: Accounting Desync

    GateStatusEvidence
    Q1 ExploitabilityPASSEDState desync can be triggered via vault.deposit() followed by a specific earlyReturn() path.
    Q2 ImpactPASSEDResults in internal share price inflation; qualifies as High severity under program rules.
    Q3 ScopePASSEDContract VaultV2.sol is listed in the active bug-bounty-scope.txt.
    Q4 PrivilegePASSEDTriggerable by any unprivileged user; no admin keys required.
    Q5 Known BehaviorPASSEDNo mention of this desync in the recent Trail of Bits audit or GitHub issues.
    Q6 Ledger EffectPASSEDThe PoC results in a totalAssets value that exceeds the sum of all user balances by 1.2 ETH.

    Verdict: TRUE POSITIVE. The finding is exploitable and qualifies for submission.

    Draft Title

    [Accounting Desync] in Vault.deposit() allows users to inflate share price via early return path

    Proposed PoC Structure (Foundry)

    function testExploitDesync() public {
        // 1. Setup: Deposit initial liquidity
        vm.prank(victim);
        vault.deposit(100 ether);
        
        // 2. Exploit: Trigger early return path
        vm.prank(attacker);
        vault.triggerEarlyReturn{value: 1 ether}();
        
        // 3. Assertion: Verify desynchronization
        uint256 totalAssets = vault.totalAssets();
        uint256 sumBalances = vault.sumOfAllBalances();
        assertGt(totalAssets, sumBalances);
    }
    

    Next steps

    1. Run the PoC against a mainnet fork at the current block to confirm the exact ETH delta.
    2. Complete the templates/finding-report.md using the "STE" (Simplified Technical English) guidelines.
    3. Verify if the platform requires a submission fee or KYC before filing.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    The complete end-to-end bug bounty workflow for smart contracts — scout and gate a program on payout math, run a first pass against a hunt checklist, kill false positives with a triage gate, prove the survivor with a runnable PoC, and write a report a triager can act on.

    Requires manual PoC execution in local environments. Does not guarantee payouts. Optimized for smart contract logic, not web2 frontend vulnerabilities.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 13 days ago

    Permissions

    Terminal / Shell
    Read Files
    Listed13 days ago
    Updated12 days ago

    What's inside

    Frequently Asked Questions

    The skill supports EVM-based languages like Solidity and Vyper, as well as SVM-based ecosystems using Rust (Solana), Move, and CosmWasm. It includes specific checklists for modern features like EIP-1153 transient storage risks and local fork validation.

    No, this skill is designed to guide a human auditor through a structured pipeline; you will still need to manually run PoC tests in environments like Foundry or LiteSVM and verify static analysis leads. It acts as a high-level triage and reporting engine to ensure your manual efforts are focused on valid, high-impact findings.

    The 'Scout' phase uses a payout math gate to evaluate a program's Total Value Locked (TVL) and reward ceilings against the complexity of the code. This helps you decide if a specific bounty is worth a 40-hour investment or if the rewards are too low relative to the audit difficulty.

    You receive the complete end-to-end workflow, including the SCOUT, HUNT, TRIAGE, and REPORT modules, along with structured templates for PoC requirements and submission reports. It also includes the 10-class vulnerability checklist tailored for DeFi and smart contract security.

    Generic AI prompts often flag 'admin-as-designed' features or 'read-only' bugs that triagers reject; this skill enforces a 75/100 confidence threshold and a ledger-effect rule. It is specifically tuned to filter out noise and 'by-design' behaviors that typically lead to rejected submissions.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.