Clearfront

sh.clearfront由 clearfront.sh 發布v2.7.3更新於 Oct 24, 2026

OSINT sweep of a digital footprint: breaches, accounts, data brokers, domains and IPs

概覽

AI 產生的概覽

Clearfront 是本地 OSINT 代理,向助理開放 30 個偵察工具,用來調查電子郵件、使用者名稱、網域、IP、電話與加密貨幣地址。

可以做什麼
調查電子郵件與使用者名稱:帳號列舉、外洩與 Paste 曝光、信譽、Gravatar 與資訊竊取軟體曝露檢查、跨數千網站的使用者名稱探索、以搜尋為基礎的數位足跡探索、電話情報,以及本機檔案的 EXIF/GPS 中繼資料。調查網域與 IP:WHOIS、含 SPF/DMARC/DKIM 分析的 DNS 紀錄、子網域列舉、憑證透明度、Wayback 歷史、地理位置、Shodan、Censys、VirusTotal、AbuseIPDB、IP2Location、GreyNoise,以及綜合自我曝露報告。調查 GitHub 個人檔案與公開程式碼、產生 Google dork 連結、執行即時 dork 搜尋、將網頁擷取為 Markdown,並彙整比特幣或以太坊地址。
適用情境
當你希望助理對自己或獲授權的目標進行合規的曝露檢查或被動偵察,並把發現串成報告時使用。它適合安全研究與自我稽核,而非一般網頁瀏覽。
執行需求
以 Python 套件(uvx 或 pip)在桌面本機執行;部分工具需要 PATH 中有外部程式(holehe、sherlock、sublist3r、phoneinfoga、theHarvester)。代理需要 AI 後端:ANTHROPIC_API_KEY、本機 Ollama 模型或 OpenAI 相容端點。選用金鑰包括 HIBP_API_KEY、IPINFO_TOKEN、SHODAN_API_KEY、VIRUSTOTAL_API_KEY 及 README 列出的其他金鑰。需要網路存取。
安裝前請注意
它會蒐集個人與帳號資料;README 限定僅供合法且獲授權的用途,責任由使用者承擔。許多選用金鑰屬於機密(ANTHROPIC_API_KEY、HIBP_API_KEY、IPINFO_TOKEN、SHODAN_API_KEY、VIRUSTOTAL_API_KEY,以及 Censys、AbuseIPDB、GitHub、Serper、Bright Data 憑證),從 .env 檔案讀取。查詢會送往 Shodan、VirusTotal、HIBP 與 SERP 服務等第三方。部分工具會擷取即時網頁並執行外部程式。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Clearfront,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Clearfront

Open-source AI intelligence on your digital footprint.

Clearfront, also known as Clearfront OSINT, is a free and open-source OSINT agent. Give it an email, username, domain, IP, or name, and its AI security analyst scans 3,400+ public data sources in one sweep, then returns a calibrated report and an interactive evidence graph. Check your own exposure, or investigate an authorized target. It runs locally with your own API keys and sends nothing to us.

Interactive REPL · CLI · local web console · MCP server · agent skill. Powered by Anthropic Claude, a local Ollama model, or any OpenAI-compatible endpoint.

  • 30 modular tools, email, username (sherlock + WhatsMyName), broad username discovery across 3,400+ sites (maigret), search-based footprint discovery, IP, IP self-exposure report, domain, WHOIS, breach, Gravatar profile, EmailRep reputation, phone, paste, EXIF/GPS metadata, Shodan, VirusTotal, Censys, IP2Location, AbuseIPDB, GitHub (profile + public code/secret exposure), DNS, subdomain discovery via certificate transparency (crt.sh), historical URL recovery via the Wayback Machine (Internet Archive), mass-scan visibility (GreyNoise Community), infostealer-exposure check (Hudson Rock, free tier, no plaintext credentials), dork generation, live dork search, URL scraping, BTC/ETH address lookup, and passive domain recon (theHarvester)
  • MCP server built in, expose all 30 tools natively to Claude Code, Claude Desktop, and any MCP-compatible client
  • Three AI backends, Anthropic Claude (default), local Ollama, or any OpenAI-compatible endpoint; tool results come from real subprocess calls, never hallucinated
  • Fully async, parallel tool execution via asyncio.gather() with hard subprocess timeouts
  • MIT licensed, no embedded LLM; bring your own API key or run fully offline

Legal Disclaimer: Clearfront is intended for legal and authorized use only. Users are solely responsible for ensuring their use complies with all applicable laws and regulations. The authors accept no liability for misuse. See DISCLAIMER.md.

What is Clearfront?

Clearfront is an AI agent for Open Source Intelligence with five interfaces: an interactive terminal REPL, a direct CLI, a browser-based web console, an MCP server exposable to Claude Code, Claude Desktop or any MCP-compatible client, and an agent skill for any client following the Agent Skills standard. The AI layer uses Anthropic's native tool use API (or a local Ollama model, or any OpenAI-compatible endpoint): the model issues hard stops when it needs a tool, your code executes the real binary, the actual output goes back, hallucination in tool results is structurally impossible.

Installation

bash
pip install clearfront

Or from source, if you want to modify it:

bash
git clone https://github.com/scottmartinanderson/clearfrontcd clearfrontpip install -e .

External binaries (must be in PATH):

BinaryPurposeInstall
holeheEmail account enumerationpip install holehe
sherlockUsername enumeration (300+ platforms)pip install sherlock-project
sublist3rSubdomain enumerationpip install sublist3r
phoneinfogaPhone number intelligenceDownload binary
theHarvesterPassive domain recon (emails/subdomains)pip install git+https://github.com/laramies/theHarvester.git

If a binary is absent, the corresponding tool returns a descriptive error string. All other tools remain operational.

Quick Start

bash
# Interactive AI REPL (default)clearfront
# Web interfaceclearfront web
# Direct tool (no AI)clearfront email [email protected]

Configuration

Store all keys in a .env file at the project root (copy .env.example). python-dotenv loads it automatically at startup.

VariableToolRequiredPurpose
ANTHROPIC_API_KEYAI agentYes (or use Ollama / OpenAI)Anthropic API key
OPENAI_BASE_URLAI agentOptionalBase URL of an OpenAI-compatible endpoint (e.g. http://localhost:4000/v1). When set and ANTHROPIC_API_KEY is absent, it is used as the AI backend (takes precedence over Ollama). The model must support tool/function calling.
OPENAI_API_KEYAI agentOptionalAPI key for the OpenAI-compatible endpoint (local servers may ignore it)
OPENAI_MODELAI agentOptionalModel name to request from the endpoint (default: gpt-4o-mini)
HIBP_API_KEYsearch_breachOptionalHaveIBeenPwned v3, get one
IPINFO_TOKENsearch_ipOptionalipinfo.io higher rate limits
SHODAN_API_KEYsearch_shodanOptionalShodan API, get one
VIRUSTOTAL_API_KEYsearch_virustotalOptionalVirusTotal API v3, get one
IP2LOCATION_API_KEYsearch_ip2locationOptionalIP2Location.io enhanced IP intelligence, get one
CENSYS_PAT + CENSYS_ORG_IDsearch_censysOptionalCensys Platform API: Personal Access Token + Organization ID, get one
ABUSEIPDB_API_KEYsearch_abuseipdbOptionalAbuseIPDB v2, get one
GITHUB_TOKENsearch_githubOptionalGitHub API, raises rate limit from 60 to 5000 req/h, get one
SERPER_API_KEYsearch_dorks_live, search_footprintOptionalSerper.dev Google SERP API, the preferred SERP backend (~$1/1k, 2,500 free), get one.
BRIGHTDATA_API_KEYsearch_dorks_live, scrape_urlOptionalBright Data API key, get one (free tier: 5,000 req/month).
BRIGHTDATA_SERP_ZONEsearch_dorks_liveOptionalYour Bright Data SERP API zone name (e.g. serp_api1).
BRIGHTDATA_UNLOCKER_ZONEscrape_urlOptionalYour Bright Data Web Unlocker zone name (e.g. web_unlocker1).

The Bright Data link above is a referral link; signing up through it supports Clearfront at no extra cost to you.

Optional Python packages:

PackagePurposeInstall
ollamaLocal LLM backend (no API key)pip install ollama (also install the Ollama runtime)
openaiOpenAI-compatible backend for the REPL/CLI (--provider openai)pip install "clearfront[openai]"
shodanShodan API clientpip install shodan
reportlabPDF report exportpip install reportlab
censysCensys API clientpip install censys

Tools

ToolPowered byWhat it investigates
search_emailholeheSocial accounts linked to an email address
search_usernamesherlockUsername presence across 300+ platforms
search_breachHaveIBeenPwned v3 APIData breach exposure
search_whoispython-whoisDomain registrant and DNS info
search_ipipinfo.ioGeolocation, ASN, hostname
search_domainsublist3rSubdomain enumeration
search_crtcrt.shSubdomains from certificate transparency (keyless, passive)
search_waybackInternet ArchiveHistorical/deleted URLs archived under a domain (keyless, passive)
search_greynoiseGreyNoise CommunityMass-scanner noise vs. targeted actor for an IP (free, 50/week)
generate_dorksbuilt-in12 targeted Google dork URLs (no network calls)
search_pastepsbdmp.wsPastebin dump mentions
search_phonephoneinfogaCarrier, country, line type
search_shodanShodan APIOpen ports, banners, CVEs
search_virustotalVirusTotal API v3Verdict from 70+ antivirus engines
search_ip2locationIP2Location.io APIEnhanced IP intel: VPN/Proxy/Tor/datacenter flags
search_censysCensys Search APIInternet-facing infrastructure, certificates
search_abuseipdbAbuseIPDB v2 APIIP abuse reputation: confidence score, reports, country, ISP
search_githubGitHub REST APIProfile, repos, commit-discovered emails, username/keyword search
search_dnsdnspython (built-in)A/AAAA/MX/NS/TXT/CNAME/SOA records; SPF, DMARC, DKIM analysis
search_dorks_liveBright Data SERP APILive Google search results for dork queries (title, URL, snippet)
scrape_urlBright Data Web UnlockerFetch any URL bypassing Cloudflare/CAPTCHA, returns clean Markdown
search_maigretmaigretUsername presence across 3,400+ sites
search_footprintSERP (Serper / Bright Data / DuckDuckGo)Search-based footprint discovery for a name or handle
search_gravatarGravatar APIPublic Gravatar profile for an email: avatar, display name, linked accounts
search_emailrepEmailRep.ioEmail reputation and footprint summary
search_hudsonrockHudson Rock Cavalier (free)Infostealer-exposure check for an email or username (no plaintext credentials)
search_exifexiftoolEXIF / IPTC / XMP metadata and embedded GPS from a local file
search_cryptopublic chain APIsBitcoin / Ethereum address summary: balance, transaction count
search_harvestertheHarvesterPassive domain recon: emails, subdomains, hosts
search_exposurebuilt-in (composite)Self-exposure report for an IP across the infrastructure tools

Interfaces

Interactive REPL

Run clearfront with no arguments to start the AI-powered REPL. Type a target (email, username, domain, IP, name) or a question; the agent decides which tools to run, chains them on findings, and compiles a report.

REPL commands: <target>, clear, save, tools, config, history, help, exit / Ctrl-D.

All sessions are auto-saved to ~/.clearfront/history/. Browse with clearfront history.

Web UI

bash
pip install "clearfront[web]"clearfront web# Opens http://localhost:8080 automatically

Browser-based AI chat with streaming tool output, inline result cards, and a light/dark theme toggle. Supports fully local inference via Ollama or any OpenAI-compatible endpoint (no Anthropic API key required when using a local backend).

The console runs entirely locally and binds to 127.0.0.1 by default. Choose your backend and paste your own key in Settings; your keys and the targets you investigate never touch our servers. Screenshots are in media/.

MCP Server

Expose all 30 tools to any MCP-compatible AI client.

Claude Code:

bash
claude mcp add clearfront python /absolute/path/to/clearfront/mcp_server.pyclaude mcp list

Claude Desktop, add to ~/Library/Application Support/Claude/claude_desktop_config.json:

json
{  "mcpServers": {    "clearfront": {      "command": "python",      "args": ["/absolute/path/to/clearfront/mcp_server.py"]    }  }}

Agent Skill

skills/clearfront-osint teaches an agent how to drive Clearfront: which approach fits a given request, the direct subcommands, how to read the confidence ratings, and the authorized-use rules. It follows the Agent Skills open standard, so it works in Claude Code, Cursor, Codex, Copilot, VS Code, Gemini, Windsurf, Zed and the other skills-compatible clients.

bash
npx skills add scottmartinanderson/clearfront

Install Clearfront itself as well (pip install clearfront); the skill is the instructions, not the tool. Use the skill when you want the agent to decide how to run a sweep, and the MCP server above when you want it calling the 30 tools directly.

Docker

bash
docker compose up --builddocker compose run --rm clearfront email [email protected] --json

Set ANTHROPIC_API_KEY (and optionally HIBP_API_KEY, IPINFO_TOKEN) in a .env file or export them before running. Reports persist to ./reports/ via a volume mount.

CLI Reference

Flag / SubcommandDescription
clearfrontInteractive AI REPL (default)
clearfront web [--port N] [--no-browser]Launch browser UI
clearfront email ADDRESS [-t N]Direct email scan
clearfront username HANDLE [-t N]Direct username scan
clearfront shodan QUERY [-t N]Shodan lookup
clearfront virustotal TARGET [-t N]VirusTotal lookup
clearfront censys TARGET [-t N]Censys lookup
clearfront ip2location IP [-t N]IP2Location lookup
clearfront abuseipdb IP [-t N]AbuseIPDB reputation check
clearfront github QUERY [-t N]GitHub profile/repo/email discovery
clearfront dns DOMAIN [-t N]DNS records + email security analysis
clearfront multi TARGETSParallel multi-target investigation (max 10)
clearfront graph TARGET [-o PATH] [--format graphml|json|mermaid|all]Auto-pivot and export the entity correlation graph (GraphML/JSON/Mermaid)
clearfront history [--all] [open N] [clear]View/manage REPL session history
-v, --verboseEnable debug logging to stderr
-t, --timeout NOverride subprocess timeout (seconds)
--api-key KEYAnthropic API key (overrides env var)
--parallelRun complementary tools concurrently
--jsonOutput results as structured JSON
-o, --output FILEWrite results to FILE instead of stdout (raw; combine with --json for a JSON file)
--provider {anthropic,ollama,openai}AI provider (default: anthropic)
--ollama-model MODELOllama model name (default: llama3.2)
--ollama-host URLOllama server URL (default: http://localhost:11434)
--openai-base-url URLOpenAI-compatible endpoint base URL (env: OPENAI_BASE_URL)
--openai-model MODELModel to request from the endpoint (env: OPENAI_MODEL)
--openai-api-key KEYAPI key for the endpoint (env: OPENAI_API_KEY)
--no-pdfDisable automatic PDF generation

Contributing

Issues and pull requests are welcome. See CONTRIBUTING.md for the development workflow and coding conventions. Please read DISCLAIMER.md before contributing.

License

Clearfront is open source under the MIT License.

The bundled username dataset clearfront/tools/data/wmn-data-unique.json is a filtered adaptation of the WhatsMyName project by Micah Hoffman, used under the CC BY-SA 4.0 license; that file (and adaptations of it) remains under CC BY-SA 4.0. See clearfront/tools/data/NOTICE.


For authorized security research only. See DISCLAIMER.md.

來源:README.md,提交 4fa5032

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v2.7.3最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分