A lightweight offensive security recon framework for modern bug bounty workflows.
๐ฅ BountyForge
**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.
๐ 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
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
โก 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=nonevulnerabilities- 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:

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:

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:

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
๐งช Security Research Applications
Security researchers can integrate BountyForge into:
- Recon automation pipelines
- Bug bounty workflows
- API testing environments
- Continuous security monitoring scripts
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
โ 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