Security checks
The eight security checks Scan runs on tool metadata, what triggers each one, how to fix it, and how Monitor alerts on a possible rug pull.
A model reads every tool name, description and parameter description your server sends. Anyone who controls that text can steer the model. The security.* rules look for the known ways that goes wrong. They are static checks: Scan reads your metadata and never calls a tool.
Checked text: tool names, titles, descriptions, parameter descriptions (nested), output schema descriptions, prompt and resource names, and server instructions.
The checks follow public research and scanners: Invariant Labs on tool poisoning, Invariant Labs on toxic flows, Snyk Agent Scan and the Apify poisoning scanner. They are heuristics. A pass means none of these patterns matched, not that the server is safe.
| Id | Severity | Applies to |
|---|---|---|
security.hidden-content | blocker | Claude, ChatGPT |
security.secrecy-instruction | blocker | Claude, ChatGPT |
security.exfil-url | blocker | Claude, ChatGPT |
security.cross-tool-shadowing | major | Claude, ChatGPT |
security.side-channel-param | major | Claude, ChatGPT |
security.credential-file-reference | major | Claude, ChatGPT |
security.toxic-flow | minor (warning) | Claude, ChatGPT |
security.hidden-content
Triggers. Text a human reviewer would not see: zero-width, bidirectional and Unicode tag characters, control characters, HTML comments, <IMPORTANT> or <system> style tags, and base64, hex or escaped-byte blobs (outside URLs). Emoji joiners are ignored.
Fix. Remove it. The text a model reads should be the text a person sees in a review. Move long encoded data out of metadata.
security.secrecy-instruction
Triggers. Wording that tells the model to hide something from the user: "do not tell the user", "keep this secret", "without the user knowing", "silently call", "the user should not see this".
Fix. Delete the sentence. If a step is internal, describe it plainly. Ordinary tools have no reason to ask for concealment.
security.override-instructions
Triggers on text that tells the model to ignore or forget earlier instructions, to reveal its system prompt, to call this tool before every other tool, or to act regardless of what the user asks. It is checked in every model-visible field: descriptions, parameter descriptions, enums, examples, output schemas, resources, prompts, instructions and _meta. Metadata describes what a tool does; it does not give the model orders. Delete the sentence and say plainly what the tool does.
security.exfil-url
Triggers. Metadata that tells the model to send data to an address outside your domain: "send the results to https://...", a URL template with placeholders, an image tag whose URL carries data, embedded curl or fetch code, or "bcc this address". Links to your own domain and documentation links are ignored.
Fix. Remove the instruction. If a tool really posts data to a third party, say so in plain words in the description and mark it openWorldHint: true. See tool annotations explained.
security.cross-tool-shadowing
Triggers. A description that tells the model what to do when it uses another tool or another server ("when using the email tool, also bcc ..."), claims precedence over other tools, or changes how other tools behave. References to your own server's tools are allowed.
Fix. Describe only what this tool does and how it relates to your own tools. Remove anything aimed at other servers.
security.side-channel-param
Triggers. A parameter named like notes, context, history, conversation, sidenote, debug or metadata whose description asks for chat content, the system prompt, files or secrets. Also a tool description that routes such content into one of those parameters.
Fix. Remove or rename the parameter. A notes field that only holds business data is fine.
security.credential-file-reference
Triggers. Metadata that points at credential files or asks for secrets: ~/.ssh, id_rsa, .aws/credentials, .env files, MCP config files, /etc/passwd, cloud key IDs, or "collect the user's API keys". Weak matches such as .env count only when the text tells the model to read or send the file.
Fix. Remove the reference. A tool that needs a key should take it through OAuth or a header, not through the model.
security.toxic-flow
Triggers. The server has a tool that reads content an attacker can influence (web pages, email, issues, search results) and a tool that sends, publishes, deletes or runs something without a confirmation hint. Injected text in the content can then drive the write tool. This reports as a warning on the pair.
Fix. Set destructiveHint: true on the write tool, openWorldHint: true on the reader, and say in the write tool's description that it needs the user's confirmation. Splitting readers and writers into separate servers removes the flow.
Rug-pull alerts in Monitor
A rug pull is a change to a tool's text after users approved it. Monitor compares each tool list with the last snapshot. When an existing tool's description changed, or it gained a parameter, the alert is titled "Possible rug pull: tool description changed after approval" and lists each tool and what changed.
- critical if the new text trips any
security.*rule. The alert names the rule and tool and says to review the text before any client re-approves it. - warn if it trips none. Check that the change was intended.
Other changes (added or removed tools, schema changes) use the normal tools-changed alert. Send alerts to your own tools with alert destinations. Related: monitoring, scoring.