> ## Documentation Index
> Fetch the complete documentation index at: https://docs.switchagents.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> These docs moved from docs.flintai.dev to docs.switchagents.ai. Use docs.switchagents.ai for every link and request.
> To search these docs from an AI tool, connect the MCP server at https://docs.switchagents.ai/mcp. The page index is at https://docs.switchagents.ai/llms.txt.
> The source code for these products is public on GitHub. Switch Rooms: https://github.com/sandbox-quantum/switch. Switch Trust CLI: https://github.com/sandbox-quantum/switch-trust-cli. Switch Trust CodeScan action: https://github.com/sandbox-quantum/switch-trust-codescan-action. Switch Trust MCP server: https://github.com/sandbox-quantum/switch-trust-mcp. Switch Trust Python SDK: https://github.com/sandbox-quantum/switch-trust-sdk-py. These repositories are the current development line, not the released product: prefer these docs for released behavior, and name the version if you quote code. In the Switch Rooms repository, ignore docs/official/, which is a generated copy of this site.

# MCP server rules

> Vulnerabilities in MCP servers, tools, and their configurations

MCP server rules cover vulnerabilities in MCP servers, tools, and their configurations.

* [Code injection](https://docs.switchagents.ai/switch-trust/rules/code-injection)
* [Command injection](https://docs.switchagents.ai/switch-trust/rules/command-injection)
* [Confused deputy attack](https://docs.switchagents.ai/switch-trust/rules/confused-deputy-attack)
* [Context overexposure/leakage](https://docs.switchagents.ai/switch-trust/rules/context-overexposure)
* [Context spoofing/integrity violation](https://docs.switchagents.ai/switch-trust/rules/context-spoofing)
* [Cross-server tool shadowing/interference](https://docs.switchagents.ai/switch-trust/rules/cross-server-tool-shadowing)
* [Data exfiltration via legitimate tools](https://docs.switchagents.ai/switch-trust/rules/data-exfiltration)
* [Dynamic behavior change (rug pull)](https://docs.switchagents.ai/switch-trust/rules/rug-pull)
* [Excessive permissions (least privilege violation)](https://docs.switchagents.ai/switch-trust/rules/excessive-permissions)
* [Exposed unnecessary ports/interfaces](https://docs.switchagents.ai/switch-trust/rules/exposed-ports)
* [Hardcoded credentials](https://docs.switchagents.ai/switch-trust/rules/hardcoded-credentials)
* [Indirect prompt injection](https://docs.switchagents.ai/switch-trust/rules/indirect-prompt-injection)
* [Insecure direct object references (IDOR)](https://docs.switchagents.ai/switch-trust/rules/insecure-direct-object-references)
* [Insecure memory/context persistence](https://docs.switchagents.ai/switch-trust/rules/insecure-memory-context-persistence)
* [Insufficient authorization/access control](https://docs.switchagents.ai/switch-trust/rules/insufficient-authorization)
* [Lack of observability & auditing](https://docs.switchagents.ai/switch-trust/rules/lack-of-observability)
* [Lack of transport encryption (TLS)](https://docs.switchagents.ai/switch-trust/rules/lack-of-tls)
* [Missing/weak authentication](https://docs.switchagents.ai/switch-trust/rules/missing-weak-authentication)
* [Model/tool identity misbinding](https://docs.switchagents.ai/switch-trust/rules/model-tool-identity-misbinding)
* [Path traversal](https://docs.switchagents.ai/switch-trust/rules/path-traversal)
* [Resource exhaustion](https://docs.switchagents.ai/switch-trust/rules/resource-exhaustion)
* [Sampling vulnerability](https://docs.switchagents.ai/switch-trust/rules/sampling-vulnerability)
* [Shadow/unmanaged MCP servers](https://docs.switchagents.ai/switch-trust/rules/shadow-unmanaged-mcp-servers)
* [Silent redefinition](https://docs.switchagents.ai/switch-trust/rules/silent-redefinition)
* [Supply chain risks/dependency tampering](https://docs.switchagents.ai/switch-trust/rules/dependency-tampering)
* [Tool poisoning (malicious instructions in metadata)](https://docs.switchagents.ai/switch-trust/rules/tool-poisoning)
* [Untrusted third-party MCP servers](https://docs.switchagents.ai/switch-trust/rules/untrusted-third-party-mcp-servers)
