Cursor 市场 Claude Code VS Code 扩展被指存在后门
Backdoor in Claude Code for VS Code extension on the Cursor Marketplace
有用户发帖称 Cursor Marketplace 上的 Claude Code for VS Code 扩展存在后门,疑似供应链攻击,并猜测 Claude Code 本体或 Cursor 是否受影响。
作者结合自身容器隔离实践,讨论了 VS Code 扩展供应链攻击的波及范围与缓解思路。
VS Code extensions have always been terrible from a security perspective. This seems like it's a supply chain attack? Makes me think of Solar Winds from a few years ago.
It doesn't appear that the Claude Code harness itself was compromised, was it? or Cursor if you use Anthropic models via Cursor's API itself?
Lately I've been using a script that mounts my current working directory in a container and I put all my build tools in a Dockerfile. I also map the harness config (~/.config/opencode or whatever) to a named volume to minimize the chance a harness could grab other things off my host. I can't use it if I ask the LLMs for docker work since they need the docker socket and then all bets are off (it could just mount your root volume somewhere). I sure I could use a full QEMU VM or some other type of isolation for such devops tasks, but I haven't really looked into it yet. Guess I should.
来源:Hacker News · 首页 · news.ycombinator.com