Domain intelligence CLI and MCP server — tech stack, email security, and signal intelligence from DNS.
Project description
recon
Passive domain intelligence from public sources. Queries DNS records, Microsoft/Google identity endpoints, and certificate transparency logs to build a picture of an organization's technology stack — no credentials, no API keys, no active scanning.
Defensive use only. recon is designed for legitimate security posture assessment, IT architecture review, vendor due diligence, and defensive hardening. It performs zero active scanning and zero credentialed access. See docs/legal.md for the full intended-use policy.
recon contoso.com
Contoso Ltd
contoso.com
──────────────────────────────────────────────────────────────────────────────
Provider Microsoft 365 (primary) via Proofpoint gateway + Google Workspace (secondary)
Tenant a1b2c3d4-e5f6-7890-abcd-ef1234567890 • NA
Auth Federated (Entra ID + Google Workspace)
Confidence ●●● High (4 sources)
Services
Email Microsoft 365, Google Workspace, Proofpoint, DMARC, DKIM,
SPF: strict (-all), BIMI
Identity Okta, Google Workspace (managed identity)
Cloud Cloudflare (CDN), AWS Route 53 (DNS)
Security Wiz, CAA: 3 issuers restricted
Collaboration Slack, Atlassian (Jira/Confluence)
High-signal related domains
api.contoso.com, login.contoso.com, portal.contoso.com, sso.contoso.com,
admin.contoso.com, status.contoso.com, support.contoso.com
(57 total — 50 more, use --full to see all)
Insights
Federated identity indicators observed (likely Okta — enterprise SSO)
Email security 4/5 strong (DMARC reject, DKIM, SPF strict, BIMI)
Email gateway: Proofpoint in front of Exchange
Dual provider: Google + Microsoft coexistence
Examples use Microsoft's fictional company names (Contoso, Northwind Traders, Fabrikam). Tenant IDs, services, and domains are fabricated. No real company is depicted.
Works for Microsoft 365, Google Workspace, or any provider. Also runs as an MCP server for AI agents (pip install recon-tool[mcp]).
Install
Requires Python 3.10+.
pip install recon-tool # from PyPI (CLI only)
pip install recon-tool[mcp] # with MCP server support
pip install -U recon-tool # upgrade an existing install
recon doctor # verify connectivity
Usage
recon contoso.com # default panel
recon contoso.com --explain # full reasoning + provenance DAG
recon contoso.com --full # everything (services + domains + posture)
recon contoso.com --profile fintech # apply a posture lens
recon contoso.com --confidence-mode strict # drop hedging on dense-evidence targets (v0.11)
recon contoso.com --json # structured JSON for piping
recon batch domains.txt --json # batch (cross-domain token clustering)
recon delta contoso.com # diff against last cached snapshot
recon mcp # start MCP server (stdio)
Built-in profiles: fintech, healthcare, saas-b2b, high-value-target, public-sector, higher-ed. Custom profiles live in ~/.recon/profiles/*.yaml.
See docs/ for the full CLI reference, fingerprint and signal documentation, and MCP setup.
MCP Server
recon runs as an MCP server for Claude, Cursor, VS Code, ChatGPT, or any MCP client. The Model Context Protocol lets AI agents call tools like recon directly from your chat.
{
"mcpServers": {
"recon": {
"command": "recon",
"args": ["mcp"],
"autoApprove": ["lookup_tenant", "analyze_posture"]
}
}
}
Then ask your AI: "Run a recon lookup on contoso.com and tell me what's running."
See docs/mcp.md for the full tool list, advanced agentic workflows, and per-client config locations.
Limitations
- Coverage depends on public DNS. Organizations behind heavy proxies, with minimal DNS records, or that don't publish SaaS verification tokens will return sparse results. This is fundamental to passive-only collection. When sources transiently fail, the CLI tells you which one and why so you can retry or accept the partial answer.
- Heuristic, not ground truth. The fingerprint database and signal rules are rule-based and solo-maintained. Confident-looking output can still be wrong. Treat results as indicators for investigation, not as definitive assessments. Don't make business decisions based solely on this output.
Development
pip install -e ".[dev]" # or: uv sync --extra dev
pytest tests/ # 1553 tests, 87% coverage
ruff check recon_tool/ # lint
pyright recon_tool/ # type check
pre-commit install # activate pre-commit hooks
License
MIT — see LICENSE for details.
This tool queries only public DNS records and unauthenticated endpoints. See docs/legal.md for full disclaimer.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file recon_tool-1.0.0.tar.gz.
File metadata
- Download URL: recon_tool-1.0.0.tar.gz
- Upload date:
- Size: 522.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a56dddc4033012f5825a548a24489019e8f7f1526de046ca9317d327736199e8
|
|
| MD5 |
dce33125c6fdc8a02a724c046c9f9bf4
|
|
| BLAKE2b-256 |
60a3a212b0ee05c456be7240e953904cbd6249c6cc42661ae9dc1a9281e21e15
|
Provenance
The following attestation bundles were made for recon_tool-1.0.0.tar.gz:
Publisher:
release.yml on blisspixel/recon
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
recon_tool-1.0.0.tar.gz -
Subject digest:
a56dddc4033012f5825a548a24489019e8f7f1526de046ca9317d327736199e8 - Sigstore transparency entry: 1330092031
- Sigstore integration time:
-
Permalink:
blisspixel/recon@4eab6306f3b98ee733b917daedcae7a263d8d98e -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/blisspixel
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@4eab6306f3b98ee733b917daedcae7a263d8d98e -
Trigger Event:
push
-
Statement type:
File details
Details for the file recon_tool-1.0.0-py3-none-any.whl.
File metadata
- Download URL: recon_tool-1.0.0-py3-none-any.whl
- Upload date:
- Size: 222.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55f3fbaaf47a3514708162f989a521408be999d8479232e76931479d0658129e
|
|
| MD5 |
eb736ae4eec51fdf847770baa8fdacc8
|
|
| BLAKE2b-256 |
3d63987a237249d8ab0c3d1c25e93d90a5aa3e0bf05524d34eeafa38f726b2d6
|
Provenance
The following attestation bundles were made for recon_tool-1.0.0-py3-none-any.whl:
Publisher:
release.yml on blisspixel/recon
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
recon_tool-1.0.0-py3-none-any.whl -
Subject digest:
55f3fbaaf47a3514708162f989a521408be999d8479232e76931479d0658129e - Sigstore transparency entry: 1330092156
- Sigstore integration time:
-
Permalink:
blisspixel/recon@4eab6306f3b98ee733b917daedcae7a263d8d98e -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/blisspixel
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@4eab6306f3b98ee733b917daedcae7a263d8d98e -
Trigger Event:
push
-
Statement type: