# Tool shadowing: definition and example

URL: https://mcpservercybersecurity.com/glossary/tool-shadowing/
Updated: 2026-11-16

Tool shadowing is an attack in which a malicious server's tool description manipulates how the agent behaves with tools that belong to other, trusted servers. It works because the model sees the descriptions from every connected server in one context. OWASP also calls it cross-origin escalation.

## Example

OWASP's cheat sheet tells teams to treat each MCP server as an untrusted security domain of its own and to watch for cross-server data flows, such as credentials from server A appearing in calls to server B.

## Sources

- [OWASP MCP Security Cheat Sheet](https://cheatsheetseries.owasp.org/cheatsheets/MCP_Security_Cheat_Sheet.html) (cheatsheetseries.owasp.org), read 2026-11-16

## Related pages

- [Tool description](/glossary/tool-description/)
- [Server pinning](/glossary/server-pinning/)
- [Typosquatted server](/glossary/typosquatted-server/)
- [MCP Security vs API Security: What Changes](/guides/mcp-security-vs-api-security/)
- [MCP Server Scanning and Testing: Tools and Limits](/guides/mcp-server-scanning-and-testing/)
- [All glossary terms](/glossary/)
- [Tool schema](/glossary/tool-schema/)
- [Guides](/guides/)
