
PEACH
Uma estrutura de isolamento de inquilino
TaskGraph spawns git, gh, claude and docker by bare name with the project directory as the working directory: packages/tm-core/src/common/utils/git-utils.ts (shell strings through exec/execSync), the claude --version probe in packages/tm-core/src/modules/ai/providers/claude-code.ts, and the Claude Code SDK's own spawn of claude. On Windows, cmd.exe and libuv's CreateProcess path search both look in the current directory before PATH unless the NoDefaultCurrentDirectoryInExePath environment variable is set. A repository that commits git.exe, git.cmd, claude.cmd or docker.cmd at its root therefore gets that file executed with the user's privileges the first time they run almost any taskgraph command (taskgraph list runs git for the branch name) or MCP tool in the clone. packages/tm-core/src/modules/setup/doctor.ts already sets the variable for its own spawns, so the hazard was only covered there.
Windows only. All versions through 0.62.10.
The taskgraph binary and the MCP server set NoDefaultCurrentDirectoryInExePath=1 in their own environment at startup, which every spawn in the process and in the Claude Code SDK inherits, so bare-name spawns resolve through PATH only.
Set NoDefaultCurrentDirectoryInExePath=1 in your user environment, or check a clone's root for executables before running TaskGraph in it.
Origem: NVD
Avaliação Gratuita de Vulnerabilidades
Avalie suas práticas de segurança em nuvem em 9 domínios de segurança para avaliar seu nível de risco e identificar lacunas em suas defesas.
Marque uma demonstração personalizada
"A melhor experiência do usuário que eu já vi, fornece visibilidade total para cargas de trabalho na nuvem."
"A Wiz fornece um único painel de vidro para ver o que está acontecendo em nossos ambientes de nuvem."
"Sabemos que se a Wiz identifica algo como crítico, na verdade é."