Alphacode opening a repository can start MCP processes without confirmation
Start here
The alphacode security advisory (GHSA-w6gj-x54x-7vhg) disclosed that Alphacode 1.0.93 and earlier versions automatically start an MCP process upon opening a cloned repository, without confirmation: the command, args and env in the repository configuration are passed directly to spawn, and the child process inherits the full environment variables; the author measured that the command was executed after about two seconds, and this was fixed in 1.0.94.
Generated by AI from reports · Updated 6 days ago
Progress timeline
- dragonked2/alphacodeSelectedAlphacode 1.0.93 and earlier can start MCP processes without confirmation when opening a repository; fixed in 1.0.94
A security advisory for alphacode (GHSA-w6gj-x54x-7vhg) disclosed that opening a cloned repository automatically starts MCP server processes defined in repository files without any confirmation; affected versions are 1.0.93 and earlier, and 1.0.94 has fixed it. The program reads .alphacode/mcp.json, .mcp.json and .claude/mcp.json in the repository directory, passes their command, args and env directly to spawn, and the child process inherits the full environment variables of the alphacode process and uses the repository directory as its working directory. The configuration item shared defaults to true, and such entries are counted and then discarded; explicitly writing shared: false takes the per-session branch and is actually started. The author verified on the v1.0.93 release that the command was executed about two seconds after the session subscribed to that directory.