GhostTrace redefines proxy-chain management, providing a unified platform for building, monitoring, and rotating complex routing topologies with surgical precision.
| 🔗 | 🌐 | 🧭 | 🔄 | 🧩 |
| Dynamic Multi-Hop |
Automated Discovery |
Route Visualization |
Identity Rotation |
Plugin Architecture |
| 📊 | ⚡ | 🧪 | 🔒 | 🌍 |
| Real-Time Dashboard |
FastAPI Backend |
Automated Validation |
Tor Integration |
Fingerprint Profiles |
| 🌍 Overview | ✨ Features | 🏗 Architecture |
| 💾 Installation | ⚡ Quick Start | 📊 Dashboard |
| 🔧 Configuration | 🧪 Testing | 🗺 Roadmap |
| 🤝 Contributing | ⚠ Disclaimer | 📜 License |
┌─────────────────────────────────────────────────────────────┐
│ │
│ GhostTrace is a battle-tested, production-ready │
│ traffic-routing and proxy-chain management platform │
│ │
│ Built for: Security Researchers • Developers │
│ Network Analysts • Privacy Professionals │
│ │
│ The framework transforms complex routing workflows │
│ into elegant, automated, and observable pipelines. │
│ │
└─────────────────────────────────────────────────────────────┘
| Problem | GhostTrace Solution |
|---|---|
| Manual proxy collection | Automated multi-source harvesting |
| Dead endpoints in chains | Real-time health validation engine |
| Complex chain construction | Dynamic multi-hop path building |
| Static routing configurations | Automated identity rotation |
| No visibility into routes | Live dashboard with visual mapping |
| Difficult integration | Full REST API with FastAPI |
| Limited extensibility | Modular plugin architecture |
|
|
|
|
|
|
┌─────────────────────────────────────────────────────────────────────┐
│ GHOSTTRACE CORE SYSTEM │
├─────────────────────────────────────────────────────────────────────┤
│ │
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌────────────┐ │
│ │ ROUTING │ │ SESSION │ │ FINGERPRINT │ │ TOR │ │
│ │ MANAGER │ │ CONTROLLER │ │ MANAGER │ │ INTEGRATION│ │
│ └──────┬──────┘ └──────┬──────┘ └──────┬──────┘ └─────┬──────┘ │
│ │ │ │ │ │
│ └────────────────┼────────────────┼───────────────┘ │
│ │ │ │
│ ┌──────┴────────────────┴──────┐ │
│ │ ORCHESTRATION BUS │ │
│ └──────┬────────────────┬──────┘ │
│ │ │ │
│ ┌────────────────┼────────────────┼───────────────┐ │
│ │ │ │ │ │
│ ┌──────┴──────┐ ┌──────┴──────┐ ┌──────┴──────┐ ┌────┴─────┐ │
│ │ VALIDATION │ │ PROXY │ │ DASHBOARD │ │ REPORTING│ │
│ │ ENGINE │ │ COLLECTOR │ │ & API │ │ ENGINE │ │
│ └─────────────┘ └─────────────┘ └─────────────┘ └──────────┘ │
│ │
└─────────────────────────────────────────────────────────────────────┘
| Layer | Component | Responsibility |
|---|---|---|
| Core | Routing Manager | Path construction, chaining logic, failover |
| Core | Session Controller | State management, persistence, rotation |
| Core | Fingerprint Manager | Browser identity profiles, header sets |
| Core | Tor Integration | Onion routing layer, circuit management |
| Service | Validation Engine | Health checks, speed tests, anonymity verification |
| Service | Proxy Collector | Multi-source harvesting, deduplication |
| Interface | Dashboard & API | Web UI, REST endpoints, WebSocket streaming |
| Output | Reporting Engine | Logs, metrics, exports, notifications |
Python 3.10+ ✅ Required
Git ✅ Required
pip ✅ Required
Tor (optional) ⚪ For onion routing
# 1. Clone the repository
git clone https://github.com/your-org/ghosttrace.git
cd ghosttrace
# 2. Create virtual environment
python -m venv venv
# 3. Activate environment
# Linux/macOS:
source venv/bin/activate
# Windows:
venv\Scripts\activate
# 4. Install dependencies
pip install -r requirements.txt
# 5. Verify installation
python ghost.py --versionfastapi>=0.104.0
uvicorn>=0.24.0
aiohttp>=3.9.0
requests>=2.31.0
pysocks>=1.7.1
pyyaml>=6.0
rich>=13.7.0
websockets>=12.0
pydantic>=2.5.0
| Platform | Command |
|---|---|
| 🪟 Windows | run.bat |
| 🐧 Linux | chmod +x run.sh && ./run.sh |
| 🍎 macOS | chmod +x run.sh && ./run.sh |
# Interactive mode
python ghost.py
# Quick chain with 3 hops
python ghost.py --chain --hops 3
# Validate proxy list
python ghost.py --validate proxies.txt
# Start dashboard only
python ghost.py --dashboard
# Full stack with rotation
python ghost.py --full --rotation-interval 120GET /api/status → System health & metrics
GET /api/proxies → Available proxy pool
POST /api/chain → Build new routing chain
PUT /api/rotate → Trigger identity rotation
GET /api/sessions → Active session list
WS /ws/live → Real-time log stream
┌───────────────────────────────────────────────────────────┐
│ GHOSTTRACE DASHBOARD │
│ http://127.0.0.1:5000 │
├───────────────────────────────────────────────────────────┤
│ │
│ 📡 Runtime Status 🗺 Route Visualization │
│ 📈 Session Statistics 🌐 Proxy Pool Monitor │
│ 🔍 Diagnostics Panel 📝 Live Log Streaming │
│ ⚙️ Configuration View 📊 Performance Metrics │
│ │
└───────────────────────────────────────────────────────────┘
| Panel | Description | Refresh Rate |
|---|---|---|
| Status Overview | System health, uptime, active chains | Real-time |
| Route Map | Visual multi-hop path display | On change |
| Proxy Pool | Available/active/dead endpoint counts | 30s |
| Session Log | Scrolling live log viewer | Streaming |
| Metrics | Latency, throughput, success rates | 10s |
| Config | Current active configuration | On change |
# ============================================
# GhostTrace v2.0 Configuration
# ============================================
system:
log_level: INFO # DEBUG | INFO | WARNING | ERROR
data_dir: ./data # Persistent data storage
temp_dir: /tmp/ghost # Temporary file location
routing:
enabled: true
default_protocol: socks5 # http | https | socks4 | socks5
connection_timeout: 30 # Seconds
max_retries: 3 # Per hop
proxy_chain:
min_length: 2 # Minimum hops
max_length: 4 # Maximum hops
require_unique_countries: true
exclude_countries:
- CN
- RU
rotation:
enabled: true
interval: 60 # Seconds between rotations
strategy: round_robin # round_robin | random | weighted
on_failure: fallback # fallback | direct | abort
validation:
parallel_checks: 50 # Concurrent validations
test_urls:
- https://httpbin.org/ip
- https://api.ipify.org
speed_threshold: 5000 # Maximum latency in ms
anonymity_checks: true
proxy_sources:
enabled:
- proxyscrape
- proxy_list_download
- free_proxy_list
custom_urls: []
update_interval: 3600 # Seconds
tor:
enabled: false
control_port: 9051
socks_port: 9050
auto_renew_circuit: true
fingerprint:
rotation_with_proxy: true
profiles_dir: ./profiles
default_profile: chrome_windows
dashboard:
enabled: true
host: 127.0.0.1
port: 5000
auth_required: false
theme: dark # dark | light
api:
enabled: true
host: 127.0.0.1
port: 8000
rate_limit: 100 # Requests per minute
cors_origins:
- http://localhost:5000# All tests with verbose output
pytest tests/ -v --tb=long
# Specific test module
pytest tests/test_routing.py -v
# With coverage report
pytest tests/ --cov=ghosttrace --cov-report=html
# Quick smoke test
python ghost.py --test| Module | Tests | Coverage |
|---|---|---|
| Routing Engine | 45 | 94% |
| Proxy Collector | 32 | 91% |
| Validation | 28 | 96% |
| Session Manager | 21 | 89% |
| Dashboard API | 38 | 93% |
| Fingerprint Manager | 15 | 87% |
- Advanced dashboard analytics with historical charts
- Extended PDF/HTML reporting system
- Additional validation providers (Whoer, IPQualityScore)
- Docker container support with compose files
- Plugin marketplace with community submissions
- Distributed validation worker nodes
- gRPC API for high-performance integrations
- Kubernetes deployment manifests
- Machine learning-based proxy scoring
- Automated chain optimization algorithms
- Desktop GUI application (Electron)
- Cloud-based proxy orchestration service
┌─────────────────────────────────────────────────────────┐
│ CONTRIBUTION WORKFLOW │
├─────────────────────────────────────────────────────────┤
│ │
│ 1. Fork Repository │
│ ↓ │
│ 2. Create Feature Branch │
│ ↓ │
│ 3. Implement Changes │
│ ↓ │
│ 4. Write/Update Tests │
│ ↓ │
│ 5. Run Full Test Suite │
│ ↓ │
│ 6. Submit Pull Request │
│ │
└─────────────────────────────────────────────────────────┘
- ✅ Follow existing code conventions and style
- ✅ Include comprehensive tests for new features
- ✅ Keep modules isolated and single-responsibility
- ✅ Update documentation and docstrings
- ✅ Ensure all CI checks pass before PR
- ✅ Write meaningful commit messages (Conventional Commits)
╔═══════════════════════════════════════════════════════════════╗
║ ║
║ GhostTrace is designed EXCLUSIVELY for: ║
║ ║
║ 🔬 Security Research ║
║ 📚 Educational Purposes ║
║ 🔧 Network Experimentation ║
║ ✅ Authorized Testing Environments ║
║ ║
║ ⛔ UNAUTHORIZED USE IS STRICTLY PROHIBITED ⛔ ║
║ ║
║ Users bear FULL responsibility for compliance with ║
║ all applicable laws, regulations, and policies. ║
║ ║
║ The developers assume NO LIABILITY for misuse or ║
║ damages resulting from this software. ║
║ ║
╚═══════════════════════════════════════════════════════════════╝
MIT License — See LICENSE file for complete terms and conditions.
Copyright (c) 2026 GhostTrace Development Team
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files...
██████╗ ██╗ ██╗ ██████╗ ███████╗████████╗
██╔════╝ ██║ ██║██╔═══██╗██╔════╝╚══██╔══╝
██║ ███╗███████║██║ ██║███████╗ ██║
██║ ██║██╔══██║██║ ██║╚════██║ ██║
╚██████╔╝██║ ██║╚██████╔╝███████║ ██║
╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝ ╚═╝
Routing excellence. Automated. Observable. Reliable.
© 2026 GhostTrace Project • All Rights Reserved