hackyshadab
BountyForge
Python

A lightweight offensive security recon framework for modern bug bounty workflows.

Last updated Jul 31, 2026
9
Stars
0
Forks
0
Issues
0
Stars/day
Attention Score
17
Language breakdown
Python 100.0%
โ–ธ Files click to expand
README

๐Ÿ”ฅ BountyForge

CLI

**A lightweight offensive security recon framework for modern bug bounty workflows.**

Automating subdomain takeover detection, JWT security analysis, and CSRF token inspection in a single powerful CLI framework.

Python License Security Tool Bug Bounty

๐Ÿ“š Table of Contents

  • Overview
  • Key Features
  • Why This Tool Matters
  • Technical Highlights
  • Installation
  • Usage
  • screenshots
  • Use Cases
  • Performance
  • Security Research Applications
  • Contributing
  • Disclaimer

๐Ÿงญ Overview

BountyForge is a Python-based cybersecurity automation framework designed to help bug bounty hunters, penetration testers, and security researchers perform fast reconnaissance and security analysis.

Modern bug bounty workflows require checking multiple security surfaces such as:

  • Subdomain takeover vulnerabilities
  • JWT token weaknesses
  • CSRF implementation flaws
Manually testing these can be time-consuming and error-prone.

BountyForge solves this problem by providing a lightweight command-line framework that automates these checks and generates structured JSON reports.

It enables researchers to:

  • Quickly detect potential subdomain takeover indicators
  • Inspect JWT tokens for common misconfigurations
  • Analyze CSRF protection implementations on web forms
All within a single modular security toolkit.

โšก Key Features

โ€ข ๐Ÿ”Ž Subdomain Takeover Detection

Detects cloud service CNAME indicators and potential takeover fingerprints.


โ€ข ๐Ÿ” JWT Security Analysis

Analyzes JSON Web Tokens for common weaknesses including:

  • alg=none vulnerabilities
  • Expired tokens
  • Weak payload structures
  • Potential secrets inside token payloads

โ€ข ๐Ÿ›ก CSRF Protection Analyzer

Automatically inspects web forms to detect:

  • Missing CSRF tokens
  • Low-entropy tokens
  • Static or predictable tokens

โ€ข ๐Ÿš€ Concurrent DNS Scanning

Multi-threaded architecture for fast subdomain takeover checks.


โ€ข ๐Ÿง  Entropy-Based Security Analysis

Uses entropy calculations to detect weak security tokens and potential secrets.


โ€ข ๐Ÿ“Š Structured JSON Reporting

Results can be exported as JSON for automation pipelines and reporting.


โ€ข ๐Ÿ’ป Clean CLI Interface

Designed for efficient command-line workflows.


โ€ข ๐Ÿชถ Lightweight & Fast

Minimal dependencies and optimized scanning logic.


๐Ÿงฉ Why This Tool Matters

Bug bounty researchers often rely on multiple tools for different tasks.

Typical workflow:

1๏ธโƒฃ Subdomain enumeration 2๏ธโƒฃ Subdomain takeover checks 3๏ธโƒฃ Token analysis 4๏ธโƒฃ Authentication security testing

These tasks are usually scattered across different scripts.

BountyForge centralizes them into a single recon framework.

Real-World Scenarios

Bug bounty hunters can use BountyForge to:

  • Identify dangling cloud resources linked to subdomains
  • Analyze JWT tokens leaked in APIs
  • Test CSRF token implementations on login forms
  • Integrate security checks into automated recon pipelines

๐Ÿง  Technical Highlights

This project demonstrates several production-grade engineering practices:

โœ” Python-based security automation โœ” Modular CLI framework architecture โœ” Concurrent scanning using ThreadPoolExecutor โœ” Structured vulnerability reporting (JSON) โœ” Entropy-based security analysis algorithms โœ” HTTP request resilience with retry strategies โœ” BeautifulSoup-powered HTML parsing โœ” Secure DNS lookups using dnspython โœ” Clean logging and debugging support

This tool represents real-world offensive security engineering used in modern reconnaissance workflows.


โš™๏ธ Installation

Clone the repository:

git clone https://github.com/hackyshadab/bountyforge.git
cd bountyforge

Install Dependencies

pip install -r requirements.txt

Or manually install:

pip install requests beautifulsoup4 PyJWT dnspython urllib3

Python Version

Recommended:

Python 3.8+

๐Ÿš€ Usage

1๏ธโƒฃ Subdomain Takeover Detection

Scan a list of subdomains:

python3 bountyforge.py takeover -d subdomains.txt

Enable HTTP fingerprint probing:

python3 bountyforge.py takeover -d subdomains.txt --confirm --http-probe

Save results:

python3 bountyforge.py takeover -d subdomains.txt -o report.json

2๏ธโƒฃ JWT Token Analysis

Analyze a single JWT token:

python3 bountyforge.py jwt --token "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."

Analyze multiple tokens from file:

python3 bountyforge.py jwt -i tokens.txt

Save report:

python3 bountyforge.py jwt --token "<JWT>" -o jwt_report.json

3๏ธโƒฃ CSRF Token Analysis

Analyze a webpage for CSRF protection:

python3 bountyforge.py csrf --url https://example.com/login --confirm

Test token randomness:

python3 bountyforge.py csrf --url https://example.com/login --confirm --test-random

4๏ธโƒฃ Run All Modules

Run all checks together:

python3 bountyforge.py all -D domains.txt -U urls.txt --confirm

๐Ÿ“ธ Screenshots

Below are example outputs from BountyForge demonstrating vulnerability detection in action.

CLI Help Section

Example CLI output showing the help menu of BountyForge:

CLI

This shows the available commands and options in BountyForge, making it easier for users to understand how to run subdomain takeover, JWT analysis, and CSRF checks.

CSRF Token Analysis

Example CLI output detecting a static CSRF token:

CLI

This indicates that the CSRF token does not change between requests, which may lead to predictable token vulnerabilities.


JWT Security Analysis

Example CLI output detecting a leaked credential inside a JWT payload:

CLI

This highlights a potential secret exposure vulnerability, where sensitive credentials are embedded inside a JWT token.


๐ŸŽฏ Use Cases

BountyForge is useful for:

๐Ÿž Bug Bounty Reconnaissance

Automating vulnerability discovery across domains.

๐Ÿ”Ž Subdomain Takeover Detection

Identify dangling cloud resources before attackers do.

๐Ÿ” Authentication Security Analysis

Inspect JWT tokens used in APIs and web applications.

๐Ÿงช Web Application Security Testing

Evaluate CSRF protection mechanisms in login forms and sensitive actions.

๐Ÿค– Security Automation Pipelines

Integrate into automated recon workflows.

โšก Performance & Efficiency

BountyForge is designed to be:

  • โœ” Lightweight
  • โœ” Fast
  • โœ” Automation-friendly
  • โœ” Concurrent for DNS scanning
Threaded architecture enables fast scanning of large subdomain lists.

๐Ÿงช Security Research Applications

Security researchers can integrate BountyForge into:

  • Recon automation pipelines
  • Bug bounty workflows
  • API testing environments
  • Continuous security monitoring scripts
Example integration:
subfinder โ†’ httpx โ†’ BountyForge

๐Ÿค Contributing

Contributions are welcome!

If you'd like to improve BountyForge:

  • Fork the repository
  • Create a feature branch
  • Submit a pull request
Bug reports and feature suggestions are highly appreciated.

โš  Disclaimer

This tool is intended for:

Educational purposes and authorized security testing only.

Do not scan systems or websites without explicit permission.

The author is not responsible for misuse of this tool.


๐Ÿ‘จโ€๐Ÿ’ป Author

GitHub: hackyshadab


โญ Support the Project

If you find BountyForge useful for bug bounty hunting:

  • โญ Star the repository
  • ๐Ÿด Fork it
  • ๐Ÿž Report issues
Your support helps improve the project!
๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท hackyshadab/BountyForge ยท Updated daily from GitHub