Bug Bounty Playbook
by agungvg
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
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
| Gate | Status | Evidence |
|---|---|---|
| Q1 Exploitability | PASSED | State desync can be triggered via vault.deposit() followed by a specific earlyReturn() path. |
| Q2 Impact | PASSED | Results in internal share price inflation; qualifies as High severity under program rules. |
| Q3 Scope | PASSED | Contract VaultV2.sol is listed in the active bug-bounty-scope.txt. |
| Q4 Privilege | PASSED | Triggerable by any unprivileged user; no admin keys required. |
| Q5 Known Behavior | PASSED | No mention of this desync in the recent Trail of Bits audit or GitHub issues. |
| Q6 Ledger Effect | PASSED | The 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
- Run the PoC against a mainnet fork at the current block to confirm the exact ETH delta.
- Complete the
templates/finding-report.mdusing the "STE" (Simplified Technical English) guidelines. - 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
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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 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
What's inside
Frequently Asked Questions
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.