File size: 3,422 Bytes
53193f8
 
 
 
 
 
0d62232
53193f8
 
 
 
506b89f
 
 
 
 
 
 
 
 
 
 
53193f8
12ecf9f
0d62232
e711c79
53193f8
e711c79
53193f8
 
e711c79
0d62232
e711c79
53193f8
 
 
 
 
 
e711c79
0d62232
4e2c52c
0d62232
e711c79
53193f8
 
e711c79
0d62232
53193f8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0d62232
53193f8
 
 
 
 
 
 
0d62232
53193f8
 
 
 
 
 
 
e711c79
53193f8
 
 
e711c79
 
0d62232
53193f8
 
0d62232
 
 
 
53193f8
 
0d62232
 
 
53193f8
0d62232
e711c79
53193f8
 
 
 
 
e711c79
53193f8
e711c79
53193f8
e711c79
53193f8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
---
title: ExposureGPT
emoji: 🎯
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 5.33.2
app_file: app.py
pinned: false
license: mit
short_description: Simplified OSINT Intelligence Platform with MCP Support

tags:
  - mcp-server-track
  - Agents-MCP-Hackathon
  - model-context-protocol
  - OSINT
  - cyber security
  - ai-agents
  - hacking
  - intelligence
  - huggingface
---

# ExposureGPT - Simplified OSINT Intelligence

**Single MCP tool for comprehensive security intelligence using Shodan + OpenAI**

[![πŸš€ Live on HuggingFace](https://img.shields.io/badge/πŸš€-Live%20on%20HuggingFace-blue)](https://huggingface.co/spaces/ACloudCenter/ExposureGPT)
[![MCP Server](https://img.shields.io/badge/πŸ€–-MCP%20Server-green)](https://huggingface.co/spaces/ACloudCenter/ExposureGPT)

## Features

- **Single Tool**: One comprehensive OSINT intelligence gathering function
- **Shodan Integration**: Real infrastructure and device discovery
- **AI Analysis**: GPT-4o-mini powered security insights
- **MCP Server**: Built-in Model Context Protocol server for AI assistants
- **Risk Assessment**: Automated security scoring and recommendations
- **Simple Interface**: Single input, comprehensive output

## Configuration

**Required**: Set these environment variables in your Space settings:

- `SHODAN_API_KEY` - Your Shodan API key (get from https://shodan.io)
- `OPENAI_API_KEY` - Your OpenAI API key (get from https://openai.com)

## MCP Integration

This Space automatically serves as an MCP server that AI assistants like Claude can use!

**MCP Endpoint**: `https://acloudcenter-exposuregpt.hf.space/gradio_api/mcp/sse`

**Claude Desktop Configuration**:
```json
{
  "mcpServers": {
    "exposuregpt": {
      "command": "npx",
      "args": ["mcp-remote", "https://acloudcenter-exposuregpt.hf.space/gradio_api/mcp/sse"]
    }
  }
}
```

## Available Tool

**`intelligence_gathering(target: str)`**
- Comprehensive OSINT analysis for any domain, IP address, or organization
- Uses Shodan for infrastructure discovery and vulnerability detection  
- AI-powered analysis with actionable security recommendations
- Returns detailed security report with risk assessment

## Usage Examples

### Web Interface
- **Domain**: `google.com` - Analyze domain infrastructure
- **IP Address**: `8.8.8.8` - Scan specific IP for services  
- **Organization**: `Microsoft Corp` - Corporate intelligence gathering

### Via AI Assistant (Claude)
```
"Analyze the security posture of example.com"
"What are the security risks for tesla.com?"
"Perform OSINT analysis on 1.1.1.1"
```

## Security & Ethics

This tool is designed for:
- Security awareness and education
- Authorized penetration testing
- Risk assessment for your own organization
- Academic research

**Not for:**
- Unauthorized reconnaissance
- Malicious activities
- Privacy violations

## How It Works

1. **Input Analysis**: Automatically detects if target is domain, IP, or organization
2. **Shodan Query**: Searches for exposed infrastructure and services
3. **Risk Assessment**: Analyzes vulnerabilities and calculates risk scores
4. **AI Analysis**: GPT-4o-mini generates security insights and recommendations
5. **Comprehensive Report**: Formatted intelligence report with actionable findings

Perfect for security researchers, penetration testers, and AI assistants needing OSINT capabilities.

---

*Built for the 2025 Gradio Agents & MCP Hackathon*