夜雨聆风学习资料网

ARTICLE · 1288478

Cursor 插件商城曝 Claude Code 供应链后门

Cursor 插件商城曝 Claude Code 供应链后门
微软安全博客披露,10 月 29 日约 02:27–13:35(美西时间)Cursor 扩展市场出现被篡改的 anthropic.claude-code 2.1.312/2.1.313 扩展,在 extension.js 开头植入恶意加载器以安装持久 SSH 后门——采集主机名、用户名、Git 邮箱与公网 IP 并回传、向 authorized_keys 注入攻击者公钥、建立反向隧道,用 macOS LaunchAgent 或 Windows 计划任务做持久化。影响约 5,000 名开发者、持续约 11 小时;微软确认该包从未发布到 VS Marketplace 与 npm、Anthropic 系统未被攻破,Cursor 已下架扩展并临时关闭整个扩展市场轮换密钥。
  1. Module loading and reconnaissance collection.
     The injected function executes before normal extension initialization and collects host and user information.
  2. SSH access preparation.
     The loader appends an embedded public key and attempts to enable the local SSH service.
  3. Reverse forwarding.
     An embedded tunnel identity authenticates an outbound connection that requests forwarding to the workstation’s SSH port.
  4. Platform-specific persistence.
     Scripts and startup configuration are written to relaunch the connection.
  5. Host reconnaissance reporting.
     After the access and persistence setup attempts, a delayed callback attempts to transmit the previously collected host details and selected environment-variable names.
来源: https://www.microsoft.com/en-us/security/blog/2026/10/30/inside-malicious-claude-code-branded-cursor-extension-persistent-ssh-backdoor/

回首页,搜索你想要的文档

在首页搜索框输入关键词,快速定位资料

文库首页搜索指引 立即搜索

相关学习资料