paste_search
Search public paste sites for specific text to identify exposed credentials, code snippets, or sensitive information using open-source intelligence.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Query to search for in public pastes |
Implementation Reference
- src/index.ts:663-672 (handler)The tool 'paste_search' is registered and implemented directly in src/index.ts. It takes a 'query' string as input and calls 'threatClient.searchPastes(query)' to perform the search.
server.tool( "paste_search", { query: z.string().describe("Query to search for in public pastes") }, async ({ query }) => { const result = await threatClient.searchPastes(query); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }], }; } );