Skip to content
HighAI coding agentsBLWK-AI-020

A filesystem MCP server is granted an over-broad root ​

What this means ​

A filesystem MCP server granted an over-broad root (/ or your whole home directory).

How to fix it ​

Scope the filesystem MCP server to the specific project directory it needs instead of / or your whole home directory. A broad root lets a prompt-injected agent read or write anything under it — including SSH keys, browser profiles, and other projects' secrets.

Check it yourself ​

Run a scan and look for BLWK-AI-020 in the results:

sh
bulwark scan
bulwark ai scan

Installed the standalone CLI package instead of the app? The command is bulwarkctl.

References ​

Released under the Apache License 2.0.