MalwareBazaar_MCP
An AI-driven MCP server that autonomously interfaces with Malware Bazaar, delivering real-time threat intel and sample metadata for authorized cybersecurity research workflows.
MCP Tools
get_recent: Get up to 10 most recent samples from MalwareBazaar.
get_info: Get detailed metadata about a specific malware sample.
get_file: Download a malware sample from MalwareBazaar.
get_taginfo: Get malware samples associated with a specific tag.
Step 1: Create a MalwareBazaar APIKEY
Step 2: Create .env
MALWAREBAZAAR_API_KEY=<APIKEY>
Step 3a: Create Virtual Env & Install Requirements - MAC/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
cd MalwareBazaar_MCP
uv init .
uv venv
source .venv/bin/activate
uv pip install -r requirements.txt
Step 3b: Create Virtual Env & Install Requirements - Windows
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
cd MalwareBazaar_MCP
uv init .
uv venv
.venv\Scripts\activate
uv pip install -r requirements.txt
Step 4a: Add Config to the MCP Client - MAC/Linux
{
"mcpServers": {
"malwarebazaar": {
"description": "Malware Bazaar MCP Server",
"command": "/Users/XXX/.local/bin/uv",
"args": [
"--directory",
"/Users/XXX/Documents/MalwareBazaar_MCP",
"run",
"malwarebazaar_mcp.py"
]
}
}
}
Step 4b: Add Config to the MCP Client - Windows
{
"mcpServers": {
"malwarebazaar": {
"description": "Malware Bazaar MCP Server",
"command": "uv",
"args": [
"--directory",
"C:\Users\XXX\Document\MalwareBazaar_MCP",
"run",
"malwarebazaar_mcp.py"
]
}
}
}
Step 5: Run MCP Server
uv run malwarebazaar_mcp.py
Step 6: Run MCP Client & Query
Help me understnad the latest hash from Malware Bazaar.
Step 7: Run Tests
python -m unittest discover -s tests
uv pip install coverage==7.8.0
coverage run --branch -m unittest discover -s tests
coverage report -m
coverage html
open htmlcov/index.html # MAC
xdg-open htmlcov/index.html # Linux
start htmlcov\index.html # Windows
coverage erase
License
Metadata
Release files for iflow-mcp_mytechnotalent-malwarebazaar_mcp 1.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| iflow_mcp_mytechnotalent_malwarebazaar_mcp-1.5.1.tar.gz | 10.6 kB | Without provenance | Details for iflow_mcp_mytechnotalent_malwarebazaar_mcp-1.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| iflow_mcp_mytechnotalent_malwarebazaar_mcp-1.5.1-py3-none-any.whl | Python 3 | none | any | Details for iflow_mcp_mytechnotalent_malwarebazaar_mcp-1.5.1-py3-none-any.whl |
Total release size: 21.2 kB
Release files / iflow_mcp_mytechnotalent_malwarebazaar_mcp-1.5.1.tar.gz
| Download URL | iflow_mcp_mytechnotalent_malwarebazaar_mcp-1.5.1.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f5994f833cc439f5b012a4573fe527899eb696f996c27bccf93bb75da617e4b
|
|
BLAKE2b-256 checksum How to use checksums |
0e6bdb15afd4a21289e079555b9b3440b5370beb668b0429611bc2993ccc7ffd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.8
|
Release files / iflow_mcp_mytechnotalent_malwarebazaar_mcp-1.5.1-py3-none-any.whl
| Download URL | iflow_mcp_mytechnotalent_malwarebazaar_mcp-1.5.1-py3-none-any.whl |
|---|---|
| Size | 10.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f9c16688fe357cf9b5ce509a0ff8a0505db9b2a4bdf6d520f5dc481f3a5c0027
|
|
BLAKE2b-256 checksum How to use checksums |
ddf4bd630358efbeadf9eea02e0430f52895b890eb3e39142d1021031fd6ec26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.8
|
Security for iflow-mcp_mytechnotalent-malwarebazaar_mcp 1.5.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.