Vulnerability library
Security checkJuly 21, 2026

Chrome DevTools for agents: daemon.pid write follows symlinks in /tmp fallback runtime directory

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmchrome-devtools-mcp

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

The chrome-devtools-mcp daemon writes its PID file with fs.writeFileSync() to a deterministic runtime path. On typical macOS environments, and on Linux sessions where $XDG_RUNTIME_DIR is unset, that runtime path falls back to /tmp/chrome-devtools-mcp-<uid>/daemon.pid.

Recommendation

Update the chrome-devtools-mcp package to the latest compatible version. Followings are version details:

  • Affected version(s): >= 0.20.0, <= 1.0.1
  • Patched version(s): 1.1.0

References

Could your website be exposed too?

SmartScanner can check your website for Chrome DevTools for agents: daemon.pid write follows symlinks in /tmp fallback runtime directory and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated July 21, 2026