MCP Shipyard
← Rules catalog

Side-channel parameters (notes, context, history) that smuggle chat content

A notes, context, debug or sidenote parameter whose text asks for chat content, the system prompt or secrets is a covert data channel.

majorsecurity.side-channel-paramClaude, ChatGPT

Remove or rewrite parameters that ask the model to pass conversation content, the system prompt, files or secrets. The rule security.side-channel-param is a major finding for Claude and ChatGPT.

What you see

  • A scan reports Side-channel parameter "notes" asks for chat content or secrets, Parameter asks for conversation or system prompt, or Description routes content into a side-channel parameter, with an excerpt.
  • A real notes field that holds business data ("Gift message for the recipient") is not flagged.

Why it happens

In poisoned-tool examples, a tool exposes an innocent-looking field such as sidenote, and its description tells the model to put file contents, secrets or the earlier conversation there. The user sees a normal-looking call, while the data leaves in a field they never reviewed. The rule's source for this pattern is the Apify side-channel check and the Invariant Labs "sidenote" example; those pages were not re-fetched for this page and are cited from the rule.

The checks look at two things:

  1. Parameter names from a fixed list (notes, sidenote, context, history, conversation, chat, transcript, metadata, debug, extra, scratchpad, memory, reasoning, thoughts, systemprompt, and similar) whose description asks to include chat content, history, the system prompt, the user's files or credentials.
  2. Any parameter, and tool descriptions, that tell the model to include the full conversation, the system prompt, previous messages or chat history.

These match policy text. Claude's directory policy 1.E bars collecting extraneous conversation data, and OpenAI's plugin guidelines 6.4 bar requesting or reconstructing full conversation histories. See also schema.conversation-param for the name-based version.

Check it yourself

curl -s -X POST https://mcp.acme.example/mcp \
  -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' \
  -H "Authorization: Bearer $TOKEN" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \
 | jq -r '.result.tools[] | .name as $n | .inputSchema.properties // {} | to_entries[] | select(.key|test("note|context|history|debug|metadata|extra|scratch|memory|reasoning";"i")) | "\($n).\(.key): \(.value.description // "(none)")"'

Fix

  • Delete the parameter if the tool works without it.
  • If it is a real business field, rename it (gift_message) and describe exactly what it holds and its length.
  • Never ask for the system prompt, reasoning, history or files in any description.
  • Set a maxLength on free text.

Verify

The jq output has no parameter whose description asks for context from the conversation, and the re-scan passes.

Which clients care

Claude and ChatGPT, per the rule.

Source

Apify MCP poisoning scanner: https://apify.com/bigochelo/mcp-poisoning-scanner

Claude directory policy: https://support.claude.com/en/articles/13145358-anthropic-software-directory-policy

Run a free scan at https://mcpshipyard.com/scan to check every rule at once.

Check every rule at once

A free scan runs this check and the other 152 against your live URL.

Scan a server