ENDPOINT BASE // https://api.malwaretracker.com

Document Malware Analysis & Stream Unpacking API

Specialized REST API for unpacking and inspecting document formats (PDFs, Office OLE2/OOXML lures, RTF, VBA/XLM macros, OneNote, MIME, and encrypted archives). Pass your key via X-API-Key: mt_live_... or Authorization: Bearer mt_live_.... Provision a free key (100 scans/mo) in seconds on the API Portal.

01 // SYNCHRONOUS DOCUMENT UPLOAD SCAN

POST /v1/scan

Unpacks PDFs, Office documents (OLE2, OOXML, RTF, VBA stomping, XLM macros, encrypted VelvetSweatshop files), MIME emails, and archives in memory in <100ms—evaluating 259 exploit, payload, and hidden-stream YARA rules. On Startup, Business Pro, and Annual plans, default ?store=false guarantees zero file retention on disk or cloud storage for SOC 2, HIPAA, and ISO 27001 compliance (Community Free tier caches inert .cart samples for threat telemetry).

curl -X POST "https://api.malwaretracker.com/v1/scan?store=false" \
  -H "X-API-Key: mt_live_YOUR_API_KEY" \
  -F "file=@uploaded_invoice.pdf"
02 // SECOPS & PHISHING AUTOMATION

POST /v1/triage — SOAR Tier-0 Pre-Filter

Built for Tines, Shuffle, n8n, and Cortex XSOAR. Evaluates incoming email attachments in milliseconds and outputs escalate_to_sandbox: true|false and recommended_action: "allow" | "detonate_in_sandbox" | "quarantine_and_detonate" so you only detonate suspicious lures in heavy VM sandboxes.

curl -X POST "https://api.malwaretracker.com/v1/triage" \
  -H "X-API-Key: mt_live_YOUR_API_KEY" \
  -F "file=@reported_phish.doc"

Download ready-to-import workflow template: n8n_quicksand_triage_workflow.json.

03 // COMMERCIAL SIGNATURE FEED

GET /v1/rules/pro — Pro Exploit YARA Bundle

Included with Business & Pro Feed ($199/mo) and Pro YARA Feed Annual ($990/yr). Delivers the complete commercial YARA bundle covering 67+ Office & PDF CVEs, transposed/reversed/encoded executable patterns, and hidden document stream signatures.

curl -sSL "https://api.malwaretracker.com/v1/rules/pro" \
  -H "X-API-Key: mt_live_YOUR_PRO_KEY" \
  -o quicksand_pro_rules.yara
04 // CLOUD STORAGE APPLIANCE

AWS S3 & Google Cloud Storage Bucket Guard

Inspect objects uploaded to an untrusted bucket in ~40ms and automatically promote clean files to clean or isolate threats in quarantine—without maintaining 4GB ClamAV containers. Download our reference Terraform module: gcp-bucket-guard.tf.

# Minimal S3 / GCS Event Handler (Python)
import os, requests

def scan_uploaded_blob(blob_bytes: bytes, filename: str) -> bool:
    resp = requests.post(
        "https://api.malwaretracker.com/v1/scan?store=false",
        headers={"X-API-Key": os.environ["MALWARETRACKER_API_KEY"]},
        files={"file": (filename, blob_bytes)},
        timeout=15,
    )
    resp.raise_for_status()
    verdict = resp.json()
    return verdict["verdict"] == "clean"
05 // RAG INGESTION & MCP INTEGRATION (COM.MALWARETRACKER/MCP)

Document Analysis MCP Server (malwaretracker-mcp & Remote /mcp)

Connect our official PyPI MCP package (com.malwaretracker/mcp) or hosted Streamable HTTP endpoint to Claude Desktop, Claude Code, Cursor, VS Code, or RAG ingestion pipelines to scan untrusted documents for maldoc exploits alongside structurally hidden text (PDF 3 Tr invisible render mode, zero-point fonts, OOXML <w:vanish/>).

// Option A: Local stdio via PyPI / uvx (scans local disk files in <100ms)
{
  "mcpServers": {
    "malwaretracker": {
      "command": "uvx",
      "args": ["malwaretracker-mcp"],
      "env": {
        "MALWARETRACKER_API_KEY": "mt_live_YOUR_API_KEY"
      }
    }
  }
}

// Option B: Hosted Streamable HTTP (zero local install, supports OAuth 2.1 or Bearer key)
{
  "mcpServers": {
    "malwaretracker-remote": {
      "type": "streamable-http",
      "url": "https://api.malwaretracker.com/mcp",
      "headers": {
        "Authorization": "Bearer mt_live_YOUR_API_KEY"
      }
    }
  }
}
06 // GOOGLE SSO, GCLOUD CLI OIDC & MULTI-KEY MANAGEMENT

Google Auth (Web OAuth 2.0 + gcloud CLI) & Multi-Key Accounts

Authenticate via Google SSO on the API Portal to manage multiple labeled API keys under one account, or authenticate GCP service accounts / Cloud Run workloads directly using an audience-bound OIDC identity token:

# 1. Scan from a GCP service account / Cloud Run workload (audience-bound OIDC token)
curl -X POST "https://api.malwaretracker.com/v1/scan?store=false" \
  -H "Authorization: Bearer $(gcloud auth print-identity-token --audiences=https://api.malwaretracker.com)" \
  -F "file=@uploaded_invoice.pdf"

# 2. Exchange an audience-bound OIDC token for a persistent mt_live_... API key
curl -sS -X POST "https://api.malwaretracker.com/v1/auth/google/token" \
  -H "Authorization: Bearer $(gcloud auth print-identity-token --audiences=https://api.malwaretracker.com)" \
  -H "Content-Type: application/json" \
  -d '{"create_key": true, "label": "Production CI"}'

# 3. List or revoke keys on your account (GET /v1/keys, POST /v1/keys/create, POST /v1/keys/revoke)
curl -sS "https://api.malwaretracker.com/v1/keys" \
  -H "X-API-Key: mt_live_YOUR_API_KEY"