get_sample_info
Pack: malwarebazaar · Endpoint: https://gateway.pipeworx.io/malwarebazaar/mcp
Metadata for a malware sample by hash (md5/sha1/sha256). Returns file type, signature, file_name, first/last seen, tags, family, intel sources.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
hash | string | yes | md5 / sha1 / sha256 |
Example call
Arguments
{
"hash": "d41d8cd98f00b204e9800998ecf8427e"
}
curl
curl -X POST https://gateway.pipeworx.io/malwarebazaar/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_sample_info","arguments":{"hash":"d41d8cd98f00b204e9800998ecf8427e"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_sample_info', {
"hash": "d41d8cd98f00b204e9800998ecf8427e"
});
More examples
{
"hash": "356a192b7913b04c54574d18c28d46e6395428ab"
}
Response shape
Always returns: query, status, count, samples
| Field | Type | Description |
|---|---|---|
query | string | Query type used (get_info) |
status | string | null | Query status (ok, no_results, or null) |
count | number | Number of samples returned |
samples | array | Array of sample metadata objects |
Full JSON Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Query type used (get_info)"
},
"status": {
"type": [
"string",
"null"
],
"description": "Query status (ok, no_results, or null)",
"enum": [
"ok",
"no_results",
null
]
},
"count": {
"type": "number",
"description": "Number of samples returned"
},
"samples": {
"type": "array",
"description": "Array of sample metadata objects",
"items": {
"type": "object"
}
}
},
"required": [
"query",
"status",
"count",
"samples"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"malwarebazaar": {
"url": "https://gateway.pipeworx.io/malwarebazaar/mcp"
}
}
}
See Getting Started for client-specific install steps.