Spot the bug in the Dev Container config

from Dev Containers
Dev Container CLI 0.89.0 / Node 24 advanced 4 min 3 issues to find

Find the host-access and credential risks in this generated configuration.

jsonc
{
  "name": "agent-workspace",
  "image": "node:24-bookworm-slim",
  "mounts": [
    "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind",
    "source=${localEnv:HOME},target=/host-home,type=bind"
  ],
  "containerEnv": {
    "NPM_TOKEN": "token-copied-from-ticket"
  }
}
Open in playground
Report an error