osint_list_sources
List all configured OSINT data sources, their availability, API key requirements, and tool counts to verify source configuration.
Instructions
List all OSINT data sources, their availability, API key requirements, and tool counts. Use this to check which sources are configured.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/protocol/tools.ts:461-466 (handler)Tool definition for 'osint_list_sources'. The execute function calls checkSources(ctx) and returns JSON. No input schema required.
const osintListSourcesTool: ToolDef = { name: "osint_list_sources", description: "List all OSINT data sources, their availability, API key requirements, and tool counts. Use this to check which sources are configured.", schema: {}, execute: async (_args, ctx) => json(await checkSources(ctx)), }; - src/meta/sources.ts:1-55 (helper)The checkSources function that produces the list of OSINT sources with their names, URLs, auth requirements, configuration status (based on env vars), and tool counts.
import type { ToolContext } from "../types/index.js"; interface SourceInfo { name: string; url: string; authRequired: boolean; configured: boolean; envVar?: string; toolCount: number; } export async function checkSources(ctx: ToolContext): Promise<SourceInfo[]> { return [ { name: "DNS", url: "native (dns/promises)", authRequired: false, configured: true, toolCount: 6 }, { name: "WHOIS (RDAP)", url: "rdap.org", authRequired: false, configured: true, toolCount: 2 }, { name: "crt.sh", url: "crt.sh", authRequired: false, configured: true, toolCount: 1 }, { name: "GeoIP", url: "ip-api.com", authRequired: false, configured: true, toolCount: 2 }, { name: "BGP/ASN", url: "bgpview.io", authRequired: false, configured: true, toolCount: 3 }, { name: "HackerTarget", url: "hackertarget.com", authRequired: false, configured: true, toolCount: 3 }, { name: "Wayback Machine", url: "web.archive.org", authRequired: false, configured: true, toolCount: 2 }, { name: "Microsoft 365", url: "login.microsoftonline.com", authRequired: false, configured: true, toolCount: 2 }, { name: "Shodan", url: "api.shodan.io", authRequired: true, configured: !!ctx.config.shodanApiKey, envVar: "SHODAN_API_KEY", toolCount: 4, }, { name: "VirusTotal", url: "virustotal.com/api/v3", authRequired: true, configured: !!ctx.config.vtApiKey, envVar: "VT_API_KEY", toolCount: 4, }, { name: "SecurityTrails", url: "api.securitytrails.com", authRequired: true, configured: !!ctx.config.stApiKey, envVar: "ST_API_KEY", toolCount: 3, }, { name: "Censys", url: "search.censys.io", authRequired: true, configured: !!(ctx.config.censysApiId && ctx.config.censysApiSecret), envVar: "CENSYS_API_ID + CENSYS_API_SECRET", toolCount: 3, }, ]; } - src/protocol/tools.ts:530-532 (registration)The tool is registered in the allTools array at index position with the rest of the Meta tools.
osintListSourcesTool, osintDomainReconTool, ]; - src/index.ts:35-35 (registration)Tool listed under the 'Meta' category in the TOOL_CATEGORIES array used for --list display.
{ label: "Meta", env: null, tools: ["osint_list_sources", "osint_domain_recon"] },