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 scanInstalled the standalone CLI package instead of the app? The command is bulwarkctl.
References
Related checks
- Project-supplied agent hooks run shell commands automatically ·
BLWK-AI-002 - An agent permission allowlist permits arbitrary command execution ·
BLWK-AI-006 - An agent is configured to bypass all permission prompts ·
BLWK-AI-007 - Project MCP servers are set to auto-enable without prompting ·
BLWK-AI-008 - VS Code chat auto-approve (“YOLO mode”) is enabled ·
BLWK-AI-009 - VS Code Workspace Trust is disabled ·
BLWK-AI-010