Skip to main content

Bug bounty automation: recon, BOLA, reporting

Project description

Bounty Hunter Toolkit

Production-ready Python/Solidity/TypeScript fix patterns for GitHub bounty issues

What's Inside

Python Security Fixes (27 patterns)

  • SQL Injection → parameterized queries
  • JWT None Algorithm → explicit algorithms list
  • XXE → defusedxml
  • SSTI → Jinja2 variables
  • NoSQL Injection → type validation
  • CSRF → per-session tokens
  • Open Redirect → urlparse validation
  • Log4j JNDI → input sanitization
  • Unsafe YAML → safe_load
  • Unsafe Pickle → restricted unpickler
  • Docker Escape → seccomp profile
  • WASM Memory → bounds checking
  • Path Traversal → Path.resolve validation
  • And 14 more...

Solidity Security Fixes (15 patterns)

  • AgentRegistry batch operations
  • GovernorAlpha quorum validation
  • Timelock queue delay enforcement
  • PaymentEscrow zero-amount check
  • MultiTokenStaking emergencyWithdraw
  • InterestRateModel event emission
  • AMMPool indexed events
  • CompoundVault nonReentrant
  • RandomLottery refund mechanism
  • PrizeSplit zero-share handling
  • GasSponsorRelay ERC2771
  • TokenBridge address validation
  • AgentToken permit replay (chainId)
  • SafeERC20 safe transfer
  • Permit2Adapter gasless approvals

SDK Fixes (9 patterns)

  • session.ts — 401 auto-refresh
  • wallet.ts — EIP-712 typed data
  • rpc.ts — JSON-RPC batch handling
  • websocket.ts — reconnect dedup
  • crypto.ts — secp256k1 recovery
  • retry.ts — conditional retry
  • deploy.py — contract deployment
  • events.py — event subscription
  • encoding.py — nested decoding

Usage

# Apply a fix pattern
python apply_fix.py --pattern sql_injection --file app.py

# List all patterns
python apply_fix.py --list

Results

  • $417K+ bounty potential across 223+ GitHub issues
  • 41-file PR on ClankerNation/OpenAgents
  • 27 security fixes on ai-research
  • 14 TentOfTrials bounty fixes
  • 4 Nexussyn fixes ($40 USDC)

License

MIT

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bounty_hunter_toolkit-1.1.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bounty_hunter_toolkit-1.1.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file bounty_hunter_toolkit-1.1.0.tar.gz.

File metadata

  • Download URL: bounty_hunter_toolkit-1.1.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for bounty_hunter_toolkit-1.1.0.tar.gz
Algorithm Hash digest
SHA256 c096bf8dfd181d06f4160c9b20b3a718f714364775d0a1a37c01323bb3372af5
MD5 f8a5bfe43e155fee1b4f3fce8ea32dad
BLAKE2b-256 a07cff89d55069b64ddc2e9992ebaac42b87e8f0d3a5add8ec84db012bb2d791

See more details on using hashes here.

File details

Details for the file bounty_hunter_toolkit-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for bounty_hunter_toolkit-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 901affdaece46b12607da61204d4dbc39357468c1bd3fc7880912932ad7aeb80
MD5 8bee484e8ee1b5f18e0e18660378e3b6
BLAKE2b-256 5ed75407dc4bce3057d33a9e0c9c33148b586ba9fa55fd0da60600bfbcc6c4a4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page