anthropics / anthropics/knowledge-work-plugins

[BUG] Marketplace install fails silently (SIGKILL) on enterprise machines due to upstream clone issue (#27251)

未关闭
#64 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
24k
派生
2.9k
平均合并
1 天 16 小时
30 天内合并 PR
149

描述

**Update:** Root cause identified and filed upstream as anthropics/claude-code#27251.

Since v2.1.7, Claude Code passes `--recurse-submodules` to `git clone` for marketplace installs. Because this flag is widely categorized as an unsafe invocation pattern by security vendors, corporate endpoint security tools (CrowdStrike Falcon, Uptycs Protect, etc.) enforce hard blocks by killing any `git` process whose `argv` contains `--recurse-submodules`.

This results in an instant SIGKILL (exit 137) with empty stderr — which is why the error message is always blank:

✘ Failed to add marketplace: Failed to clone marketplace repository:

Confirmed on macOS with CrowdStrike + Uptycs. The kill is `argv` pattern-based, not behavioral, and even local clones of repos with no submodules get killed. This affects all marketplace installs including this Anthropic marketplace on startup (`Failed to install Anthropic marketplace · Will retry on next startup`).

Replacing `--recurse-submodules` with `-c "submodule.recurse=true"` avoids the kill while achieving the same behavior.

See anthropics/claude-code#27251 for full binary analysis, version-by-version confirmation, reproduction steps, and suggested fixes.

**Workaround:** Manual clone + registry entry:

```bash
git clone [https://github.com/anthropics/knowledge-work-plugins.git](https://github.com/anthropics/knowledge-work-plugins.git) \
~/.claude/plugins/marketplaces/knowledge-work-plugins

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。