mirror of
https://github.com/xlionjuan/wastebin-mcp-go.git
synced 2026-11-17 04:17:54 +00:00
Issue #126 flagged that DefaultConfig() enables file reads without an explicit allowlist. Decision: close without changes — the built-in blocklist, existing ALLOWED_PATHS protection, and layered defences are proportionate for self-hosted MCP deployments.
9 lines
584 B
Markdown
9 lines
584 B
Markdown
# File-read allowlist is optional in default configuration
|
|
|
|
Issue #126 reported that `DefaultConfig()` enables file reads without an explicit
|
|
allowlist. We reviewed and decided not to change the behaviour: the built-in
|
|
blocklist already covers credential and system paths, users who configure
|
|
`ALLOWED_PATHS` are fully protected, and adding a mandatory opt-in override
|
|
would add configuration friction disproportionate to the residual risk. The
|
|
existing layered defence (blocklist + binary detection + content limits +
|
|
TOCTOU guards) is proportionate for self-hosted MCP deployments.
|