Skip to main content

PhantomSignal :: Open-Source OSINT Intelligence Framework

Project description

PhantomSignal

    ____  __  _____    _   ____________  __  ___
   / __ \/ / / /   |  / | / /_  __/ __ \/  |/  /
  / /_/ / /_/ / /| | /  |/ / / / / / / / /|_/ /
 / ____/ __  / ___ |/ /|  / / / / /_/ / /  / /
/_/   /_/ /_/_/  |_/_/ |_/ /_/  \____/_/  /_/

   _____ ___________   _____    __
  / ___//  _/ ____/ | / /   |  / /
  \__ \ / // / __/  |/ / /| | / /
 ___/ // // /_/ / /|  / ___ |/ /___
/____/___/\____/_/ |_/_/  |_/_____/

         >> OPEN-SOURCE OSINT INTELLIGENCE FRAMEWORK <<
                 "See everything. Leave no trace."

Python 3.10+ License: MIT Platform GitHub Stars Open Issues CI PyPI Project Site Changelog Sponsors


⚡ What's New in v1.4.0

16 new intelligence API integrations

Twitch, Mastodon (4 federated instances), Keybase, Gravatar, HackerNews, Tumblr, Flickr, Spotify, Steam, VK, Telegram (public channels), Discord (user + server lookup), Facebook/Meta Graph, EmailRep, Intelligence X (dark web / paste / breach search), and Abstract API phone validation. Total: 46+ intel sources.

Ghost Key invalid-key detection

The Ghost Key Vault TEST button now distinguishes a rejected key (HTTP 401/403) from a working key with no results. Invalid keys surface an amber ⚠ INVALID badge directly on the key row — no more false ✓ OK on a dead credential.

AlienVault OTX timeout fix

OTX section requests (general, reputation, geo, malware, passive_dns) now run concurrently with an 8-second per-section cap instead of sequentially. Eliminates the consistent 30s timeout caused by OTX's slow reputation endpoint on IP scans.

WebSocket live feed improvements

  • Server syncs current scan progress to browsers that connect after a run has started — no more stuck-at-0% progress bar on direct URL navigation
  • Polling fallback keeps the progress bar accurate even when SocketIO events are missed
  • 1-second engine start delay eliminates the race condition where events fire before the browser joins the scan room

🎬 Demo

CLI — Ghost Run in action

CLI scan demo

Web UI — Shadow Grid (Dashboard)

Dashboard

Web UI — Launch Ghost Run

Launch Ghost Run

Web UI — Scan Results

Scan results

Web UI — Theme Options

PhantomSignal ships with two built-in UI themes, selectable via the ☀/🌙 toggle in the top navigation bar. Your preference is saved automatically and persists across sessions.

Theme Description
Dark (default) Cyberpunk aesthetic — deep charcoal background, neon green/cyan/purple accents, matrix rain canvas, glowing phantom logo
Light "Phantom Dawn" — soft blue-grey background, muted accent palette, clean black ASCII logo, matrix rain disabled

Asciinema recording: Watch the full interactive demo on asciinema.org, or play it locally:

pip install asciinema
asciinema play https://raw.githubusercontent.com/getphantomsignal/phantomsignal/main/docs/assets/demo.cast

asciicast


⚡ What is PhantomSignal?

PhantomSignal is a community-powered, open-source OSINT intelligence framework built for security researchers, penetration testers, investigators, and enthusiasts. It combines web scraping, network reconnaissance, people intelligence aggregation, and threat analysis into a single cohesive platform.

LEGAL DISCLAIMER: PhantomSignal is for authorized security research, OSINT investigations, and educational purposes only. Only scan targets you have explicit permission to test. You are solely responsible for compliance with all applicable laws. The developers assume NO liability for misuse.


🔥 Features

🕷 Web Reconnaissance

  • Scrapy-powered deep web crawler with JavaScript rendering support
  • Technology detection — fingerprints 50+ technologies (CMS, frameworks, CDNs, WAFs)
  • API endpoint hunter — discovers REST APIs, GraphQL, Swagger docs, admin panels, .env leaks
  • Security header analysis with graded posture scoring
  • Email, phone, link, and comment harvesting

🌐 Network Intelligence

  • nmap-powered port scanner — full service-version detection and OS fingerprinting via nmap (-sV -O); pure-Python async TCP fallback when nmap unavailable — no config required
  • Expanded port coverage — 99 common ports by default, 1,000+ port profile, or full 65,535; covers WinRM, Webmin, InfluxDB, Docker API, Kubernetes, and more
  • DNS recon — A/AAAA/MX/NS/TXT/SOA/CAA, zone transfer attempts, subdomain brute-force
  • Certificate transparency via crt.sh — uncover subdomains via SSL history
  • SPF/DMARC analysis — identify email spoofing vulnerabilities
  • Reverse DNS and co-hosted domain discovery

🔬 Intelligence APIs (46+ Integrations)

Category APIs
Network Scanning Shodan, Censys, ZoomEye, BinaryEdge
Threat Intelligence VirusTotal, AbuseIPDB, GreyNoise, AlienVault OTX, Intelligence X
Email & Breach Hunter.io, HaveIBeenPwned, EmailRep
Domain/Web SecurityTrails, URLScan.io, WhoisXML, Local WHOIS
Geolocation IPInfo.io
Phone Abstract API phone validation
People Search Pipl, FullContact, WhitePages, Spokeo, Clearbit
Social GitHub, Twitter/X, Reddit, Mastodon, Keybase, Gravatar, HackerNews, Twitch, YouTube, Instagram, TikTok, LinkedIn, Tumblr, Flickr, Spotify, Steam, VK, Telegram, Discord, Facebook
Custom Bring your own API via plugin architecture

👤 Shadow Profiler (People Intelligence)

LexisNexis-style identity aggregation from public records:

  • Cross-correlates data from multiple people-search APIs
  • Discovers emails, phones, addresses, relatives, employers
  • Breach data correlation via HIBP and other sources
  • Social media profile linking
  • Shadow Score — digital exposure quantification (0-100)
  • Social graph building and timeline reconstruction

📦 Export Formats

Format Description
JSON Raw machine-readable data
CSV Spreadsheet-compatible
HTML Self-contained cyberpunk-styled report
PDF Professional dossier via ReportLab
XML Structured data
XLSX Excel workbook
STIX 2.1 Threat intelligence sharing format
Markdown Human-readable report

All formats support ZIP compression and AES-256-GCM encryption.

🌑 Ghost Mode

  • Low-and-slow scanning profiles to minimize detection
  • Identity rotation via user-agent spoofing
  • Tor proxy integration (Docker compose profile: ghost)
  • Configurable request jitter and delays

🔔 Additional Features

  • Real-time live feed — WebSocket-powered terminal during scans
  • Shadow Score — composite risk/exposure scoring
  • Scheduled Phantoms — recurring automated ghost runs
  • API health monitor — dashboard showing configured APIs and rate limits
  • Light/Dark theme — toggle between cyberpunk Dark mode and "Phantom Dawn" Light mode via the ☀/🌙 button; preference persisted in localStorage
  • Full REST API — integrate PhantomSignal into your own toolchain
  • CLI interfacephantomsignal scan, phantomsignal profile, phantomsignal export
  • Docker — single-command deployment

🚀 Quick Start

Option 1: Docker (Recommended)

git clone https://github.com/getphantomsignal/phantomsignal
cd phantomsignal
docker-compose up -d
# Open http://localhost:5000

Option 2: Manual Installation

# Python 3.10+ required
git clone https://github.com/getphantomsignal/phantomsignal
cd phantomsignal
pip install -e .
phantomsignal init
phantomsignal web --open-browser

Option 3: CLI Scan

# Quick probe
phantomsignal scan example.com --profile quick

# Full spectrum with export
phantomsignal scan 192.168.1.1 --type ip_recon --format html --output ./reports

# People intelligence
phantomsignal profile --email target@company.com --first-name John --last-name Doe

⚙️ Configuration

Environment Variables (Recommended for API Keys)

export SHODAN_API_KEY="your-shodan-key"
export VIRUSTOTAL_API_KEY="your-vt-key"
export HUNTER_API_KEY="your-hunter-key"
export HIBP_API_KEY="your-hibp-key"
export GREYNOISE_API_KEY="your-greynoise-key"
export IPINFO_TOKEN="your-ipinfo-token"
export ABUSEIPDB_API_KEY="your-abuseipdb-key"
export ALIENVAULT_API_KEY="your-otx-key"
export GITHUB_TOKEN="your-github-token"
export SECURITYTRAILS_API_KEY="your-st-key"
# See config/phantomsignal.yaml for full list

Config File

Copy config/phantomsignal.yaml to ~/.phantomsignal/config.yaml and customize.


🔌 Adding Custom APIs

PhantomSignal uses a plugin architecture. Adding a new intelligence source takes ~20 lines:

# phantomsignal/intel/apis/my_api.py
from phantomsignal.intel.apis.base import BaseIntelAPI, register_api, APICategory, APITier

@register_api
class MyAPI(BaseIntelAPI):
    NAME = "myapi"
    DESCRIPTION = "My custom intelligence source"
    REQUIRES_KEY = True
    TIER = APITier.FREE_LIMITED
    CATEGORIES = [APICategory.NETWORK]
    BASE_URL = "https://api.myservice.com/v1"
    SIGN_UP_URL = "https://myservice.com/signup"

    async def search(self, query: str, **kwargs):
        data = await self._get(
            f"{self.BASE_URL}/search",
            params={"q": query, "key": self._api_key}
        )
        return [self._wrap_result("my_result", data)]

Then import it in phantomsignal/intel/orchestrator.py and it auto-registers.


🏗 Architecture

phantomsignal/
├── core/               — Engine, config, database, models
├── scrapers/           — Scrapy crawler, tech detector, port scanner, API hunter, DNS recon
├── intel/
│   ├── apis/           — 46+ API integrations (plugin architecture)
│   └── people/         — People intelligence aggregation
├── exporters/          — JSON/CSV/PDF/HTML/XML/XLSX/STIX + crypto wrapper
└── web/
    ├── routes/         — Flask blueprints (dashboard, scans, intel, settings, export, REST API)
    ├── templates/      — Cyberpunk Jinja2 templates
    └── static/         — CSS (cyberpunk), JS (matrix, terminal, app)

🛡 REST API

# Create a scan
curl -X POST http://localhost:5000/api/v1/scans \
  -H "Content-Type: application/json" \
  -d '{"target": "example.com", "scan_type": "web_recon"}'

# Get results
curl http://localhost:5000/api/v1/scans/{scan_id}

# List all APIs
curl http://localhost:5000/api/v1/apis

# Health check
curl http://localhost:5000/api/v1/health

🤝 Contributing

PhantomSignal thrives on community contributions. Ways to help:

  1. Add API integrations — Follow the plugin pattern above
  2. Improve detection signatures — Expand tech_detector.py
  3. Bug reportsGitHub Issues
  4. Documentation — Improve the wiki
  5. Translations — Internationalize the UI

See CONTRIBUTING.md for guidelines. Please also review our Code of Conduct and Security Policy.


📖 Documentation

  • Usage Guide — full walkthroughs, usage scenarios, CLI reference, and per-platform troubleshooting (Linux / macOS / Windows / Docker)

💜 Sponsors

PhantomSignal is free, open-source, and built on personal time. If it's useful to you, consider sponsoring to help cover infrastructure costs, domain renewals, trademark filing, and ongoing development.

→ Sponsor PhantomSignal on GitHub

Tier $/mo What it covers
Ghost Operative $5 Domain renewals & infrastructure
Shadow Agent $15 API integrations & dependency updates
Signal Sponsor $50 Trademark filing, new modules — listed in README
Grid Patron $200 Development sprints, roadmap input — prominent listing

Signal Sponsors ($50+) and Grid Patrons ($200+) are listed below.


⚠️ Legal & Ethics

PhantomSignal is a dual-use tool. Operators are responsible for:

  • Obtaining explicit authorization before scanning any system
  • Complying with applicable laws (CFAA, GDPR, CCPA, ECPA, local laws)
  • Respecting privacy and data protection regulations
  • Not using this tool for harassment, stalking, or unauthorized surveillance

The developers provide this software as-is with no warranty. Misuse is your responsibility.


🏷 Topics

osint security python hacking cybersecurity reconnaissance recon penetration-testing ethical-hacking bug-bounty information-gathering threat-intelligence security-tools network-scanner dns-recon infosec flask security-research footprinting automation


🤝 Community

Document Description
Code of Conduct Community standards and expectations
Contributing Guidelines How to contribute to PhantomSignal
Security Policy Reporting vulnerabilities responsibly
License MIT License terms

📜 License

MIT License — see LICENSE


Built with questionable amounts of caffeine. "See everything. Leave no trace." Some ghosts leave no trace. This one left commits. — Claude

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

phantomsignal-1.4.3.tar.gz (199.1 kB view details)

Uploaded Source

Built Distribution

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

phantomsignal-1.4.3-py3-none-any.whl (210.8 kB view details)

Uploaded Python 3

File details

Details for the file phantomsignal-1.4.3.tar.gz.

File metadata

  • Download URL: phantomsignal-1.4.3.tar.gz
  • Upload date:
  • Size: 199.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for phantomsignal-1.4.3.tar.gz
Algorithm Hash digest
SHA256 114da11f47b42a72380f9787ab1860328d79200ac755403af4fe6a4602f0c0f7
MD5 96d774145663db15761ae46bc5fb28c9
BLAKE2b-256 eaf047fbcba367b8e1bc16fd607685e8b3946c17a4ec3cb072b65e0ed7b8bbee

See more details on using hashes here.

File details

Details for the file phantomsignal-1.4.3-py3-none-any.whl.

File metadata

  • Download URL: phantomsignal-1.4.3-py3-none-any.whl
  • Upload date:
  • Size: 210.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for phantomsignal-1.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 43f60fee7c47194024f267963987a061ee6d209be555175a3b95b5cb6d27a8cf
MD5 77d4863c11ea5bbab89aa32d48856950
BLAKE2b-256 700a8186978497985fc3c44b3690a783ad9304aa3bd28084a40ab27b925100f0

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