Skip to main content
Run any Skill in Manus
with one click

detect-mcp-unbounded-tool-output

Stars3
Forks0
UpdatedJuly 9, 2026 at 16:16

Detect MCP tools whose response payloads systematically exceed operator-set output ceilings — the OWASP LLM10 Unbounded Resource Consumption pattern applied to the tool-output side of the loop. Reads OCSF 1.8 Application Activity (class 6002) records produced by ingest-mcp-proxy-ocsf and tracks per-(session_uid, tool_name) cumulative breaches where unmapped.mcp.response_size_bytes crosses MCP_TOOL_OUTPUT_BYTES_THRESHOLD (default 10 MiB) OR unmapped.mcp.response_line_count crosses MCP_TOOL_OUTPUT_LINES_THRESHOLD (default 50000). Fires one Detection Finding when MCP_TOOL_OUTPUT_REPEATED_BREACH_THRESHOLD (default 5) breaches accumulate in the same session for the same tool. Use when the user mentions tool-output exhaustion, MCP RLIMITs, unbounded LLM consumption, or OWASP LLM10. Do NOT use on raw MCP proxy logs — feed them through ingest-mcp-proxy-ocsf first. Do NOT use as a per-call rate limiter; this is a cumulative pattern detector that complements wrapper RLIMITs.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
7 files
SKILL.md
readonly