Intent-Code Divergence
Medium
- Confidence
- 96% confidence
- Finding
- The filesystem server example exposes read_file and write_file operations that directly use caller-supplied paths with no path normalization, allowlist, sandboxing, or permission checks. In an MCP context, this can enable arbitrary file read/write against the host running the server, which may lead to configuration tampering, data loss, secret exposure, or persistence if copied into production.
