Sponsored by Deepsite.site

Hostile‑Command‑Suite

Created By
cycloarcane7 months ago
MCP servers for automated penetration testing and OSINT.
Content
 /$$   /$$  /$$$$$$   /$$$$$$ 
| $$  | $$ /$$__  $$ /$$__  $$
| $$  | $$| $$  \__/| $$  \__/
| $$$$$$$$| $$      |  $$$$$$ 
| $$__  $$| $$       \____  $$
| $$  | $$| $$    $$ /$$  \ $$
| $$  | $$|  $$$$$$/|  $$$$$$/
|__/  |__/ \______/  \______/ 
                             

Hostile‑Command‑Suite

Author: cycloarcane
Contact: cycloarkane@gmail.com
License: PolyForm Noncommercial License 1.0.0

A comprehensive OSINT and penetration testing toolkit built as FastMCP micro-services


🔥 Quick‑start

One-command install (Arch Linux)

git clone https://github.com/cycloarcane/Hostile-Command-Suite.git
cd Hostile-Command-Suite
chmod +x install_hcs.sh
./install_hcs.sh          # grab coffee ☕
source .venv/bin/activate

Manual Install

# 1. Clone + create virtualenv
git clone https://github.com/cycloarcane/Hostile-Command-Suite.git
cd Hostile-Command-Suite
python -m venv .venv && source .venv/bin/activate && pip install --upgrade pip

# 2. Install Python dependencies
pip install -r requirements.txt

# 3. Install system tools (Arch Linux)
yay -S spiderfoot recon-ng phoneinfoga-bin mosint holehe sherlock-git nmap

# 4. Initialize database (optional)
bash scripts/database_init.sh

# 5. Configure API keys (see API Keys section below)

🛠️ Available Tools

OSINT Tools

ToolDescriptionStatusAPI Keys Required
database_osint.pyPostgreSQL storage for OSINT resultsPostgreSQL credentials
email_osint.pyEmail OSINT (Mosint + Holehe + h8mail)Mosint config file
username_osint.pyUsername search across platforms (Sherlock)None
phone_osint.pyPhone number intelligence (PhoneInfoga)None
google_osint.pyGoogle Custom Search with relevance scoringGoogle API + Search Engine ID
duckduckgo_osint.pyDuckDuckGo search with rate-limit resistanceNone
shodan_osint.pyIoT/device discovery and analysisShodan API key
domain_osint.pyDomain and DNS reconnaissanceCensys API (optional)
certificate_osint.pySSL/TLS certificate analysis + CT monitoringCensys API (optional)
geolocation_osint.pyIP geolocation and geographical intelligenceIPInfo API (optional)
social_osint.pySocial media intelligence gatheringMultiple APIs (optional)
crypto_osint.pyCryptocurrency address analysisMultiple APIs (optional)
breach_osint.pyData breach and password compromise checkingHIBP API (optional)
metadata_osint.pyFile and image metadata extractionNone
link_follower_osint.pyWeb page content fetcher and parserNone
tiktok_osint.pyTikTok comment and user analysisNone

PEN-TEST Tools

ToolDescriptionStatusRequirements
nmap_ptest.pyNetwork scanning and port discoveryNmap installed

🔑 API Keys & Configuration

Required API Keys

Essential for core functionality:

# Database (Required for data storage)
export POSTGRES_DB=osint_db
export POSTGRES_USER=osint_user
export POSTGRES_PASSWORD=your_secure_password
export POSTGRES_HOST=localhost
export POSTGRES_PORT=5432

# Google Search API (Required for google_osint.py)
export GOOGLE_SEARCH_API_KEY=your_google_api_key
export GOOGLE_SEARCH_CX=your_search_engine_id

# Shodan API (Required for shodan_osint.py)
export SHODAN_API_KEY=your_shodan_api_key

Optional API Keys (Enhance functionality)

# Certificate/Domain Analysis
export CENSYS_API_ID=your_censys_id
export CENSYS_API_SECRET=your_censys_secret

# Geolocation
export IPINFO_API_KEY=your_ipinfo_key
export GEOIP_DB_PATH=/path/to/GeoLite2-City.mmdb

# Social Media Intelligence
export TWITTER_BEARER_TOKEN=your_twitter_token
export REDDIT_CLIENT_ID=your_reddit_id
export REDDIT_CLIENT_SECRET=your_reddit_secret
export GITHUB_TOKEN=your_github_token

# Cryptocurrency Analysis
export BLOCKCYPHER_API_KEY=your_blockcypher_key
export BLOCKCHAIN_INFO_API_KEY=your_blockchain_info_key
export OXT_API_KEY=your_oxt_key

# Breach Analysis
export HIBP_API_KEY=your_hibp_key
export DEHASHED_API_KEY=your_dehashed_key

Configuration Files

Mosint (~/.mosint.yaml):

apikeys:
  dehashed: "your_dehashed_api_key"
  emailrep: "your_emailrep_key"
  hunter: "your_hunter_key"
  intelx: "your_intelx_key"
  twitter:
    consumer_key: "your_twitter_consumer_key"
    consumer_secret: "your_twitter_consumer_secret"
    bearer_token: "your_twitter_bearer_token"

Complete configuration details: See needed_variables.md


🚀 Usage Examples

As MCP Services (Claude Desktop/API)

Add to your Claude Desktop config or MCP client:

{
  "mcpServers": {
    "email": {
      "command": ".venv/bin/python",
      "args": ["-u", "OSINT/email_osint.py"]
    },
    "shodan": {
      "command": ".venv/bin/python", 
      "args": ["-u", "OSINT/shodan_osint.py"]
    }
  }
}

Direct Command Line

# Email OSINT
python OSINT/email_osint.py

# Network reconnaissance  
python OSINT/shodan_osint.py

# Social media intelligence
python OSINT/social_osint.py

# Certificate analysis
python OSINT/certificate_osint.py

Comprehensive Investigation Workflow

# 1. Start with email analysis
echo '{"method":"search_email_all","params":["target@example.com"]}' | python OSINT/email_osint.py

# 2. Username enumeration
echo '{"method":"search_username","params":["targetuser"]}' | python OSINT/username_osint.py

# 3. Domain reconnaissance
echo '{"method":"domain_intelligence","params":["example.com"]}' | python OSINT/domain_osint.py

# 4. Social media intelligence
echo '{"method":"comprehensive_social_analysis","params":["targetuser"]}' | python OSINT/social_osint.py

# 5. Store results in database
echo '{"method":"store_osint_data","params":["email","target@example.com","investigation","manual","findings",{"data":"results"}]}' | python OSINT/database_osint.py

🏗️ Architecture

Micro-service Design

Each tool is a standalone FastMCP service that can be:

  • Used independently via command line
  • Integrated with Claude Desktop/API
  • Chained together for complex investigations
  • Stored and retrieved via the database service

Data Flow

Target Input → OSINT Tools → Database Storage → Analysis & Reporting
     ↓              ↓              ↓              ↓
  • Email       • Email OSINT   • PostgreSQL   • Risk Analysis
  • Username    • Social OSINT  • JSON Store   • Timeline
  • Domain      • Domain OSINT  • Metadata     • Correlation
  • IP Address  • Breach Check  • Cache        • Export

🎯 Tool Capabilities

Email Intelligence (email_osint.py)

  • Breach Detection: Mosint integration for comprehensive breach data
  • Account Discovery: Holehe for social media account enumeration
  • Password Analysis: h8mail for credential exposure
  • Multi-source: Aggregates data from multiple OSINT sources

Username Intelligence (username_osint.py)

  • Platform Coverage: 400+ social media platforms via Sherlock
  • Account Verification: Live verification of profile existence
  • Bulk Processing: Efficient multi-username analysis

Phone Intelligence (phone_osint.py)

  • Carrier Information: PhoneInfoga integration
  • Geographic Data: Location and region analysis
  • Web Presence: Automated web search for phone mentions
  • Concurrent Processing: Fast multi-source data gathering

Domain Intelligence (domain_osint.py)

  • WHOIS Analysis: Comprehensive domain registration data
  • DNS Enumeration: A, AAAA, MX, NS, TXT, CNAME records
  • Subdomain Discovery: Active and passive subdomain enumeration
  • Certificate Transparency: SSL certificate history via CT logs

Certificate Intelligence (certificate_osint.py)

  • CT Log Monitoring: Real-time certificate transparency analysis
  • SSL Analysis: Comprehensive certificate security assessment
  • Subdomain Discovery: Certificate-based subdomain enumeration
  • Change Detection: Monitor for new certificate issuances

Social Intelligence (social_osint.py)

  • Multi-platform: GitHub, Twitter, Reddit, Instagram, LinkedIn
  • Profile Analysis: Automated data extraction and correlation
  • Connection Mapping: Social network relationship analysis
  • Activity Timeline: Historical activity pattern analysis

Cryptocurrency Intelligence (crypto_osint.py)

  • Address Analysis: Bitcoin and Ethereum address investigation
  • Transaction Tracing: Money flow analysis and visualization
  • Risk Assessment: Sanctions screening and risk scoring
  • Blockchain Data: Real-time and historical transaction data

Search Intelligence (google_osint.py + duckduckgo_osint.py)

  • Relevance Scoring: AI-powered result ranking
  • Rate Limit Bypass: Advanced techniques for sustained searching
  • Caching System: Efficient result storage and retrieval
  • Boolean Operators: Advanced search query construction

🔧 Development

Adding New Tools

  1. Create new tool: OSINT/newtool_osint.py
  2. Inherit from FastMCP: Use the established pattern
  3. Add to config: Update config.json
  4. Document: Update README and create usage examples

Tool Template

#!/usr/bin/env python3
from fastmcp import FastMCP

mcp = FastMCP("newtool")

@mcp.tool()
def your_function(param: str) -> dict:
    return {"status": "success", "data": param}

if __name__ == "__main__":
    mcp.run(transport="stdio")

🛡️ Security & Ethics

Responsible Use

  • Legal Compliance: Ensure all activities comply with local laws
  • Rate Limiting: Respect API limits and website ToS
  • Data Protection: Secure storage of collected intelligence
  • Permission: Only investigate targets you have authorization for

Privacy Considerations

  • Data Minimization: Collect only necessary information
  • Secure Storage: Use encrypted databases in production
  • Access Control: Implement proper authentication
  • Audit Logging: Track all investigative activities

🗂️ Repository Structure

Hostile-Command-Suite/
├── OSINT/                     # OSINT micro-services
│   ├── breach_osint.py        # Data breach checking (HIBP)
│   ├── certificate_osint.py   # SSL/TLS certificate analysis
│   ├── crypto_osint.py        # Cryptocurrency intelligence
│   ├── database_osint.py      # PostgreSQL data storage
│   ├── domain_osint.py        # Domain reconnaissance
│   ├── duckduckgo_osint.py    # DuckDuckGo search engine
│   ├── email_osint.py         # Email intelligence (Mosint/Holehe)
│   ├── geolocation_osint.py   # IP geolocation intelligence
│   ├── google_osint.py        # Google Custom Search
│   ├── link_follower_osint.py # Web content analysis
│   ├── metadata_osint.py      # File metadata extraction
│   ├── phone_osint.py         # Phone number intelligence
│   ├── shodan_osint.py        # IoT/device discovery
│   ├── social_osint.py        # Social media intelligence
│   ├── tiktok_osint.py        # TikTok analysis
│   └── username_osint.py      # Username enumeration
├── PEN-TEST/                  # Penetration testing tools
│   └── nmap_ptest.py          # Network scanning
├── scripts/                   # Setup and utility scripts
│   └── database_init.sh       # Database initialization
├── knowledge_base/            # Documentation and references
├── config.json                # MCP server configuration
├── requirements.txt           # Python dependencies
├── install_hcs.sh             # Automated installer
├── needed_variables.md        # Complete API key guide
└── README.md                  # This file

🤝 Contributing

  1. Fork → hack → pull request
  2. Follow pre-commit standards (black, isort, flake8)
  3. Add tests in tests/ for new functionality
  4. Sign commits: git commit -s
  5. Documentation: Update README for new tools

Bug reports or feature ideas? Open an issue or email cycloarkane@gmail.com


🗺️ Roadmap

Phase 1: Core OSINT (✅ Complete)

  • Email intelligence (Mosint, Holehe, h8mail)
  • Username enumeration (Sherlock)
  • Phone number analysis (PhoneInfoga)
  • Search engines (Google, DuckDuckGo)
  • Database storage (PostgreSQL)

Phase 2: Advanced Intelligence (✅ Complete)

  • Domain reconnaissance and DNS analysis
  • Certificate transparency monitoring
  • IP geolocation and network intelligence
  • Social media analysis and profiling
  • Cryptocurrency address analysis
  • Data breach and password compromise checking
  • File and image metadata extraction

Phase 3: Automation & Integration (🚧 In Progress)

  • Automated investigation workflows
  • Cross-tool data correlation
  • Timeline analysis and visualization
  • Report generation (PDF/HTML)
  • REST API wrapper
  • Web dashboard interface

Phase 4: Advanced Features (📋 Planned)

  • Machine learning for pattern recognition
  • Dark web monitoring capabilities
  • Threat intelligence feed integration
  • Mobile app analysis tools
  • Container-based deployment (Docker)
  • Distributed scanning capabilities

📊 Statistics

  • 15 OSINT Tools across multiple intelligence domains
  • 1 PEN-TEST Tool for network reconnaissance
  • 25+ API Integrations for comprehensive data gathering
  • PostgreSQL Storage for persistent investigation data
  • FastMCP Architecture for modular, scalable design

Weaponise knowledgeethically, of course.

For questions, feature requests, or commercial licensing inquiries, contact cycloarkane@gmail.com

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Tavily Mcp
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
ChatWiseThe second fastest AI chatbot™
Serper MCP ServerA Serper MCP Server
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
DeepChatYour AI Partner on Desktop
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Amap Maps高德地图官方 MCP Server
WindsurfThe new purpose-built IDE to harness magic
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Playwright McpPlaywright MCP server
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
CursorThe AI Code Editor
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.