lookup_payload
Pack: urlhaus · Endpoint: https://gateway.pipeworx.io/urlhaus/mcp
Look up a malware payload file by its MD5 or SHA256 hash in the URLhaus database. Returns file type, size, first/last seen dates, and associated delivery URLs.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
md5_hash | string | no | MD5 hash of the payload to look up (32 hex characters). |
sha256_hash | string | no | SHA256 hash of the payload to look up (64 hex characters). |
Example call
Arguments
{
"md5_hash": "d41d8cd98f00b204e9800998ecf8427e"
}
curl
curl -X POST https://gateway.pipeworx.io/urlhaus/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"lookup_payload","arguments":{"md5_hash":"d41d8cd98f00b204e9800998ecf8427e"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('lookup_payload', {
"md5_hash": "d41d8cd98f00b204e9800998ecf8427e"
});
More examples
{
"sha256_hash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
}
Response shape
Always returns: query_status, md5_hash, sha256_hash, file_type, file_size_bytes, signature, first_seen, last_seen, url_count, delivery_urls
| Field | Type | Description |
|---|---|---|
query_status | string | Status of the query |
md5_hash | string | null | MD5 hash of the payload |
sha256_hash | string | null | SHA256 hash of the payload |
file_type | string | null | File type of the payload |
file_size_bytes | number | null | Size of the payload file in bytes |
signature | string | null | Malware signature name if available |
first_seen | string | null | Date when payload was first seen |
last_seen | string | null | Date when payload was last seen |
url_count | number | null | Number of URLs serving this payload |
delivery_urls | array | URLs associated with this payload delivery |
Full JSON Schema
{
"type": "object",
"properties": {
"query_status": {
"type": "string",
"description": "Status of the query"
},
"md5_hash": {
"type": [
"string",
"null"
],
"description": "MD5 hash of the payload"
},
"sha256_hash": {
"type": [
"string",
"null"
],
"description": "SHA256 hash of the payload"
},
"file_type": {
"type": [
"string",
"null"
],
"description": "File type of the payload"
},
"file_size_bytes": {
"type": [
"number",
"null"
],
"description": "Size of the payload file in bytes"
},
"signature": {
"type": [
"string",
"null"
],
"description": "Malware signature name if available"
},
"first_seen": {
"type": [
"string",
"null"
],
"description": "Date when payload was first seen"
},
"last_seen": {
"type": [
"string",
"null"
],
"description": "Date when payload was last seen"
},
"url_count": {
"type": [
"number",
"null"
],
"description": "Number of URLs serving this payload"
},
"delivery_urls": {
"type": "array",
"description": "URLs associated with this payload delivery"
}
},
"required": [
"query_status",
"md5_hash",
"sha256_hash",
"file_type",
"file_size_bytes",
"signature",
"first_seen",
"last_seen",
"url_count",
"delivery_urls"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"urlhaus": {
"url": "https://gateway.pipeworx.io/urlhaus/mcp"
}
}
}
See Getting Started for client-specific install steps.