High-risk tools in Docker
4 of the 16 tools in Docker are classified as high risk. This page profiles those tools specifically, with recommended policy actions and the attack patterns that target them.
Every operation listed below is an action PolicyLayer recommends controlling at the transport layer. Open any tool to see the full profile, risk score, and YAML policy snippet.
Tools at high risk
-
buildExecute 4/5Builds a Docker image and returns structured build results including image ID, duration, and errors.
-
compose-buildExecute 4/5Builds Docker Compose service images and returns structured per-service build status.
-
execExecute 5/5Executes arbitrary commands inside a running Docker container and returns structured output. WARNING: may execute untrusted code.
-
runExecute 5/5Runs a Docker container from an image and returns structured container ID and status.
Attacks that target this class
High-risk tools in any server share these documented attack patterns. Each links to the full case and the defensive policy.
More on Docker
Enforce policy on Docker
One command generates a policy scaffold for every server in your MCP config.
npx -y @policylayer/intercept init