Critical

build-git-clone command injection in clone() (fixed in 1.0.4)

An attacker who controls a repository URL can craft it so the clone() function runs operating system commands, because the URL is concatenated into a shell command without any filtering. This executes arbitrary code with the full privileges of the Node.js process.

Product
build-git-clone
Systems
macOSWindowsLinux
Fixed in
1.0.4
CVSS
9.8
Weakness
CWE-78
Source
Get the fix in Telegram

Am I affected?

You are affected if the installed version is older than 1.0.4. Check the version you have and update to 1.0.4 or later. The fixed version is verified against a vendor or advisory source.

Affected software and versions

PackageEcosystemAffectedFixed in
build-git-cloneother<1.0.41.0.4

A fixed version is shown only when it is verified against a vendor or advisory source.

Who should check

Anyone using the build-git-clone npm-style package in versions below 1.0.4, on macOS, Windows or Linux.

Expected outcome after remediation

Report which projects use build-git-clone and the version found, whether each has been updated to 1.0.4 or later or removed, and any leftovers that still need attention.

Get the fix

FixLane has a reviewed fix procedure for this incident: a read-only check first, then the fix. Ask the Telegram bot, or connect an AI agent to the FixLane MCP server and call get_fix_prompt with incident id 5061 and your operating system.