Exposes the LitterBox payload-analysis sandbox to MCP clients (Claude Desktop, Cursor, etc.) so an LLM can drive uploads, analysis, result retrieval, and report generation, plus a small set of OPSEC-review prompts.
LitterBox has 32 tools with mostly complete input schemas and descriptions. However, there are critical gaps in output schema documentation, parameter validation constraints, error handling guidance, and security considerations. Tool naming follows verb_noun patterns consistently. Descriptions range from adequate to detailed (mostly 50-200 chars, good for LLM understanding). Parameters generally have type definitions and brief descriptions, but many lack constraints (enums, ranges, format hints) that would help LLMs avoid invalid inputs. The server lacks any explicit error recovery patterns, confirmation mechanisms for destructive operations, and security annotations. No tool annotations (readOnlyHint, destructiveHint, idempotentHint) are declared despite many tools being clearly irreversible or write-only.
Run dynamic analysis (in-memory YARA, PE-Sieve, Moneta, Patriot, HSB, RedEdr). Note: dynamic analysis EXECUTES the payload. Confirm with the user first.
Dispatch a payload to a registered EDR profile (Whiskers agent + Elastic Defend). Note: this EXECUTES the payload on the EDR VM. Confirm with the user first. Two-phase: Phase-1 (synchronous) handles agent dispatch + lock + execution; Phase-2 (server-side daemon) correlates Elastic alerts. With wait=True, the server returns once Phase-2 settles or `timeout` elapses.
Run HolyGrail BYOVD analysis on a kernel driver.
Run static analysis on an uploaded file (YARA / CheckPlz / Stringnalyzer).
Clean up analysis artifacts: optionally delete uploads, results, or both.
Doppelganger: compare a file against the Blender reference set (pre-indexed benign PE similarity cohort).
No tool annotations (readOnlyHint, destructiveHint, idempotentHint) declared. Tools like delete_file, cleanup_artifacts, analyze_dynamic, analyze_edr (which execute/modify state) are not explicitly marked. LLMs cannot distinguish safe read-only calls from irreversible operations without annotations.
Output schemas not documented. While input schemas are visible, tool responses are not formally described. LLMs cannot predict what fields get_file_info, get_dynamic_results, get_edr_results, etc. will return, forcing them to guess downstream tool chaining.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | C | 62 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 33 | - | v1 |
Build a new doppelganger fuzzy database from a folder of samples.
Delete a file and all its associated analysis results.
Download the HTML report to disk and return the saved path.
Doppelganger: fuzzy-match a file against the database and return similar samples with scores.
All available results in one parallel call (file_info + static + dynamic + holygrail).
Index of all doppelganger (fuzzy-match malware similarity) runs for a target.
Dynamic analysis output (memory scanners, behavioral telemetry, process output).
Live probe of every EDR profile (Whiskers agent + Elastic stack reachability, hostname, agent version, lock state, cluster info).
Index of every saved EDR run for a target (one entry per profile that has data).
Read saved EDR findings (alerts + execution logs + summary) for one profile.
File metadata: type, size, hashes, entropy, PE structure, sensitive imports.
Aggregate summary of all analyzed files: total count, size breakdown, upload/analysis timestamps.
HolyGrail BYOVD output for a driver (LOLDrivers / block status / critical imports).
Render the full HTML analysis report and return it inline as a string.
Computed detection assessment: numerical score, level (Low / Medium / High / Critical), triggering indicators.
Static analysis output (YARA matches, CheckPlz findings, Stringnalyzer indicators).
Extended system status: full health check, storage, version, configuration summary.
List EDR profiles registered under Config/edr_profiles/.
OPSEC prompt: analyze dynamic findings for operational security implications.
OPSEC prompt: analyze EDR telemetry findings for operational security implications.
OPSEC prompt: analyze static findings for operational security implications.
Trigger a doppelganger scan (re-index the fuzzy database from the configured folder).
Check LitterBox service health: HTTP connectivity, Redis availability, scanner inventory, EDR profile availability.
Upload a kernel driver and (by default) immediately run BYOVD analysis.
Upload a payload (.exe / .dll / .bin / .lnk / .docx / .xlsx) for later analysis. Returns the file's MD5 hash and basic metadata. Use the hash with the `analyze_*` and `get_*` tools.
Confirm a PID exists and is accessible before targeting it for dynamic analysis.
Destructive/irreversible operations lack confirmation or dry-run patterns. delete_file, cleanup_artifacts, analyze_dynamic (executes payload), analyze_edr (executes payload on EDR), and upload_driver (with default run_holygrail=true) can cause immediate data loss or unintended execution without LLM confirmation.
No error recovery guidance. Tools lack descriptions of failure modes, retryability, and next steps. analyze_dynamic, analyze_edr, and run_doppelganger_scan may fail due to network, timeout, or misconfiguration, but error responses won't tell the LLM whether to retry, ask the user, or abort.
Missing parameter constraints and validation hints. file_hash appears in many tools but is never described as 'MD5 format', numeric parameters (cmd_args array, threshold 0-100, timeout 10-600, xor_key 0-255) have ranges defined but many lack min/max in descriptions for LLM clarity. timeout description says 'seconds' but 'minimum 10, maximum 600' is in schema only.
No pagination or result limiting. list_edr_profiles, get_files_summary, get_edr_index, get_doppelganger_index, and fuzzy_match return unbounded lists. Large result sets will blow context windows and degrade LLM reasoning. Descriptions should state max result count and offer pagination.
Security: file_hash is passed as a raw string in many tools. No format validation hint (e.g. 'MD5 hex string, 32 chars') is in descriptions, inviting LLM hallucination of invalid hashes. No input sanitization visible in parameter descriptions.
Mixed responsibilities in analyze_edr and upload_driver. analyze_edr includes optional payload encoding (xor_key), execution, and alert correlation in a single call. upload_driver defaults run_holygrail=true, combining upload and analysis. These should be decomposed so agents can invoke each step independently.
analyze_dynamic and analyze_edr execute payloads but descriptions only mention 'Confirm with the user first', no formal confirmation mechanism (e.g., dry-run param, two-phase confirmation) is offered. LLM could invoke them without user awareness.