Skip to main content
Glama
1nc0gn30
by 1nc0gn30

SubSweep | Google Recon & Lead Studio


๐ŸŒŸ Executive Overview

SubSweep is an all-in-one OSINT reconnaissance suite, perimeter port scanner, technology stack fingerprinter, and B2B decision-maker lead intelligence engine.

Designed for security researchers, DevSecOps teams, and B2B growth operators, SubSweep pairs a high-performance Python engine with a Google Material 3 Light Mode Studio UI and native Model Context Protocol (MCP) tool servers for AI assistants (Claude, Cursor, Cline, Zed).


Related MCP server: osint-mcp-server

๐Ÿš€ Key Capabilities

  1. ๐ŸŒ Multi-Source Subdomain Reconnaissance:

    • Passive Certificate Transparency (CT) log mining (crt.sh, AlienVault OTX, CertSpotter).

    • DNS record aggregation (A, AAAA, MX, TXT, SPF, DKIM, DMARC) with wildcard resolution detection.

  2. ๐Ÿข B2B Lead Harvester & Decision Maker Qualification:

    • Extracts executive contacts (CISO, CTO, VP of Eng, Directors) with deliverable business emails.

    • Computes a mathematical Lead Quality Score (0โ€“100) evaluating deliverability, seniority, phone availability, and social footprints.

  3. ๐Ÿ”ฌ Deep Technology Stack Fingerprinting:

    • Detects frontend frameworks (React, Next.js, Vue, Angular), cloud CDNs (Cloudflare, Fastly, CloudFront), and CMS engines (WordPress, Webflow, Shopify).

    • Audits essential HTTP security headers (HSTS, CSP, X-Frame-Options).

  4. ๐Ÿ”Œ Perimeter Port & Service Matrix:

    • Rapid, non-intrusive TCP port auditing (22, 80, 443, 3306, 5432, 8443) with service banner grabbing and risk classifications.

  5. ๐Ÿค– Native Model Context Protocol (MCP) Server:

    • Zero-configuration stdio tool server empowering AI agents to run live reconnaissance and lead research directly from chat.

  6. ๐ŸŽจ Google Material 3 Recon Studio UI:

    • 100% offline-ready, single-file browser app (public/index.html) with zero tracking, dynamic score dials, interactive tree visualizer, and 1-click CSV/JSON/Markdown exports.


๐Ÿ—๏ธ Architecture Overview

flowchart TD
    Target["Target Domain\n(e.g., acme-cloud.io)"] --> Engine["SubSweep Core Engine"]
    
    subgraph Discovery ["OSINT & Recon Discovery"]
        Engine --> CT["Certificate Transparency & Passive DNS"]
        Engine --> Ports["Perimeter Port Matrix & Banners"]
        Engine --> Tech["Tech Fingerprinter & Security Headers"]
        Engine --> Leads["Business Lead & Contact Harvester"]
    end

    Discovery --> Merge["Normalization & Scoring Framework"]

    subgraph Interfaces ["Multi-Channel Interfaces"]
        Merge --> CLI["CLI Terminal Engine\n(subsweep recon)"]
        Merge --> MCP["MCP AI Agent Server\n(Claude / Cursor / Zed)"]
        Merge --> UI["Google Material 3 Studio\n(public/index.html)"]
        Merge --> Exporters["Executive Intelligence Bundles\n(CSV / JSON / Markdown)"]
    end

โšก Quickstart & Installation

Option 1: Install via pip

pip install subsweep-lead-scanner

Option 2: Clone & Development Setup

git clone https://github.com/subsweep-lead-scanner/subsweep-lead-scanner.git
cd subsweep-lead-scanner
pip install -e .

๐Ÿ’ป CLI Usage Examples

1. Complete Domain Reconnaissance & Audit

# Run full recon and print formatted console tables
subsweep recon acme-cloud.io

# Export full reconnaissance data to JSON
subsweep recon acme-cloud.io --output audit_report.json --format json

2. Harvest & Score High-Value Decision Leads

# Harvest leads with minimum score 80 and export to CSV
subsweep leads acme-cloud.io --min-score 80 --export leads.csv

# Filter for C-Suite and VP executives only
subsweep leads acme-cloud.io --exec-only --format json

3. Launch Material 3 Recon Studio Web UI

Open public/index.html in any web browser:

# Linux
xdg-open public/index.html

# macOS
open public/index.html

# Windows
start public/index.html

๐Ÿค– Model Context Protocol (MCP) Integration

Connect SubSweep directly to Claude Desktop, Cursor IDE, Cline, or Zed.

Claude Desktop Configuration

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "subsweep-recon": {
      "command": "python",
      "args": ["-m", "subsweep_lead_scanner.mcp_server"],
      "env": {
        "SUBSWEEP_RATE_LIMIT": "50",
        "SUBSWEEP_TIMEOUT": "10"
      }
    }
  }
}

See docs/MCP_GUIDE.md for Cursor, Cline, and Zed configurations.


๐Ÿ“Š Lead Quality Scoring Methodology

SubSweep ranks prospects on a 0โ€“100 scale using multi-factor heuristics:

$$\text{Score} = \min(100, W_{\text{email}} + W_{\text{seniority}} + W_{\text{social}} + W_{\text{phone}} + W_{\text{tech}})$$

Factor

Weight

Evaluation Criteria

Deliverable Email

30%

Active MX record, RFC syntax valid, $\ge 95%$ deliverability confidence.

Executive Seniority

25%

CISO, CTO, CEO, VP of Engineering, Head of Security.

Social Footprint

20%

Verified LinkedIn profile, Twitter/X handle, GitHub profile.

Direct Phone Reachability

15%

Direct office dial or mobile number.

Tech Stack Fit

10%

Cloud-native modern infrastructure (AWS, GCP, Kubernetes, Next.js).

See docs/LEAD_SCORING_METHODOLOGY.md for full details.


๐Ÿ“ Repository Structure

subsweep-lead-scanner/
โ”œโ”€โ”€ .github/
โ”‚   โ””โ”€โ”€ workflows/
โ”‚       โ”œโ”€โ”€ ci.yml               # 15-job CI test matrix (Ubuntu/macOS/Win, Py 3.9-3.13)
โ”‚       โ””โ”€โ”€ release.yml          # Automated release & SHA-256 packaging
โ”œโ”€โ”€ docs/
โ”‚   โ”œโ”€โ”€ OSINT_RECON_GUIDE.md     # In-depth OSINT discovery architecture
โ”‚   โ”œโ”€โ”€ LEAD_SCORING_METHODOLOGY.md # 0-100 mathematical lead scoring guide
โ”‚   โ””โ”€โ”€ MCP_GUIDE.md             # Model Context Protocol setup for AI agents
โ”œโ”€โ”€ examples/
โ”‚   โ”œโ”€โ”€ domain-recon-audit/      # Domain recon reference script & JSON report
โ”‚   โ”œโ”€โ”€ lead-generation-pipeline/# Lead scoring exporter & sample CSV
โ”‚   โ”œโ”€โ”€ mcp-clients/             # Claude, Cursor, Cline, Zed JSON configs
โ”‚   โ””โ”€โ”€ README.md                # Examples index & quickstart
โ”œโ”€โ”€ public/
โ”‚   โ””โ”€โ”€ index.html               # Google Material 3 Light Mode Recon Studio UI
โ”œโ”€โ”€ src/
โ”‚   โ””โ”€โ”€ subsweep_lead_scanner/   # Core Python package engine
โ”œโ”€โ”€ tests/
โ”‚   โ””โ”€โ”€ test_examples.py         # Unit tests covering all examples, UI, and configs
โ””โ”€โ”€ README.md                    # Project README

๐Ÿงช Testing

Run the test suite with pytest:

PYTHONPATH=src pytest tests/ -v

๐Ÿ“„ License

Released under the MIT License. Built with privacy-first principles.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to perform authorized security testing and penetration testing operations including SSL/TLS analysis, port scanning, vulnerability scanning, and HTTP security header audits through natural language interactions.
    1
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Provides AI agents with 37 OSINT tools and 12 data sources to perform unified reconnaissance, domain analysis, and attack surface mapping. It enables agents to query, correlate, and reason across platforms like Shodan, VirusTotal, and Censys in parallel.
    37
    164 npm
    49
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to orchestrate OSINT reconnaissance pipelines, including subdomain takeover detection, URL harvesting, secret scanning, and JS analysis, by chaining 73 tools with smart target detection and deduplication.
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables AI assistants to perform cybersecurity analysis including RDAP lookup, DNS analysis, SSL inspection, security header detection, and more, returning structured security reports.
    -