News · DiggingBeagle record

claw-code advisory traces project MCP configuration to process startup

The reported path runs before provider validation; the advisory lists a workaround rather than a confirmed fixed release.

Published
Dec 2, 2026

The report

Fluid Attacks says claw-code versions 0.1.11 through 0.1.16 can launch a project-defined MCP program during tool discovery when a user starts the CLI in an attacker-controlled repository. The reported launch occurs under the user's operating-system privileges before provider credential validation or a model prompt.

The advisory, published November 30, says the loader stripped untrusted project hooks but passed MCP server definitions without an equivalent source restriction. A stdio transport could then start the configured executable. Merely viewing a repository is not the trigger described in the advisory; starting the affected CLI there is.

Fluid Attacks credits Juan García and proposes blocking project-sourced commands or adding a workspace-trust decision. The available advisory does not identify a shipped fixed release or establish production exploitation. The affected project is claw-code, not a finding about similarly named clients.

Research behind this