AI Security AI安全 3h ago Updated 1h ago 更新于 1小时前 35

Open VSX Removes 77 Malicious Evil Twin Extensions Exfiltrating Developer Data Open VSX 移除 77 个窃取开发者数据的恶意“邪恶双生子”扩展

77 malicious "evil twin" extensions on Open VSX impersonated legitimate developer tools to exfiltrate system and environment data, all routing to mangorbit[.]com Two tiers of malware: 58 lightweight variants stole hostnames and workspace info, while 19 reconnaissance variants collected detailed machine profiles, Git metadata, CI environment variables, and installed extension lists Attackers reused real extension names, namespaces, and descriptions but published through unrelated accounts at vers Open VSX市场发现77个恶意"邪恶双胞胎"扩展,伪装成合法开发工具窃取开发者系统信息 恶意扩展于2026年7月26日至8月1日上传,8月3日被移除,数据发送至mangorbit[.]com域名 攻击者复用真实扩展的名称、命名空间和描述,但通过无关账户发布并分配低版本号 19个侦察变体扩展收集更详细信息,包括Git远程主机、CI系统标识、开发者邮箱域名等 该事件与ChainDrop供应链攻击相关,涉及450个npm包和2244个工件被劫持传播Mini Shai-Hulud变种

50
Hot 热度
50
Quality 质量
50
Impact 影响力

Analysis 深度分析

TL;DR

  • 77 malicious "evil twin" extensions on Open VSX impersonated legitimate developer tools to exfiltrate system and environment data, all routing to mangorbit[.]com
  • Two tiers of malware: 58 lightweight variants stole hostnames and workspace info, while 19 reconnaissance variants collected detailed machine profiles, Git metadata, CI environment variables, and installed extension lists
  • Attackers reused real extension names, namespaces, and descriptions but published through unrelated accounts at version 0.0.1, swapping the bundled extension.js with data-exfiltration code disguised as "anonymous usage metrics"
  • The recon variant featured sophisticated persistence: DNS TXT-based fallback URLs, retry mechanisms at 15-minute/50-minute/3.5-hour intervals then every 7-8 hours for up to 7 days, and detection of whether installs were config-driven or manual
  • This campaign coincides with the ChainDrop supply chain attack compromising 450 npm packages and 2,244 artifacts, delivering a Mini Shai-Hulud self-propagating worm that steals credentials and injects malicious VS Code/Claude configs into repositories

Why It Matters

This incident highlights the growing threat of marketplace impersonation attacks against developer tooling ecosystems, where attackers exploit the trust developers place in extension names and namespaces. It also underscores the interconnected nature of modern supply chain attacks, where compromise of package registries like npm and extension marketplaces like Open VSX can create cascading infection paths through both human developers and AI coding agents.

Technical Details

  • Attack vector: 77 extensions published between July 26 and August 1, 2026, on Open VSX, all sharing the same exfiltration domain (mangorbit[.]com, registered July 15, 2026) and similar code structure
  • Data exfiltration scope: Lightweight variants sent hostnames, workspace folder names, and editor versions; recon variants collected OS usernames, machine IDs, platform/architecture, locale/timezone, full filesystem paths, Git remote hosts/organizations/branches/commit SHAs, up to 60 installed extension IDs, proxy hostnames, and CI environment variables (GitHub, Azure DevOps, Buildkite, CircleCI, Codespaces, Gitpod)
  • Persistence and evasion: DNS TXT record queries for fallback exfiltration URLs, aggressive retry scheduling (15 min → 50 min → 3.5 hrs → every 7-8 hrs for 7 days), resumption on editor restart, and detection of devcontainer.json/.vscode/extensions.json to flag config-driven vs. manual installs
  • ChainDrop npm attack: 450 unique npm packages with 2,244 artifacts compromised, delivering a Mini Shai-Hulud variant—a self-propagating credential-stealing worm using a Bun-based JavaScript payload executed via npm preinstall lifecycle hooks, with new techniques including standalone Bun runtime downloads, modular GitHub/domain delivery channels, and autostart hooks in .claude and .vscode directories
  • AI agent targeting: The ChainDrop malware specifically plants hooks to reach AI coding agents (Claude, VS Code) that clone infected repositories, creating a developer-to-developer and developer-to-agent infection path

Industry Insight

  • Extension marketplace governance requires stricter verification of namespace ownership and publisher identity; the fact that attackers could publish under real extension names through unrelated accounts reveals a critical authentication gap that platforms must address
  • The integration of AI coding agents into development workflows introduces new attack surfaces—malware that targets .claude and .vscode configs can now infect not just human developers but the AI tools they use, potentially amplifying the blast radius of supply chain compromises
  • Organizations should enforce strict extension installation policies, audit devcontainer and workspace configuration files for unauthorized references, and monitor for anomalous outbound network traffic from development environments, particularly to newly registered domains

TL;DR

  • Open VSX市场发现77个恶意"邪恶双胞胎"扩展,伪装成合法开发工具窃取开发者系统信息
  • 恶意扩展于2026年7月26日至8月1日上传,8月3日被移除,数据发送至mangorbit[.]com域名
  • 攻击者复用真实扩展的名称、命名空间和描述,但通过无关账户发布并分配低版本号
  • 19个侦察变体扩展收集更详细信息,包括Git远程主机、CI系统标识、开发者邮箱域名等
  • 该事件与ChainDrop供应链攻击相关,涉及450个npm包和2244个工件被劫持传播Mini Shai-Hulud变种

为什么值得看

此次事件揭示了VS Code生态系统中扩展市场的供应链安全风险,攻击者通过伪装成合法工具窃取开发者敏感信息,反映了开源软件分发渠道的安全隐患。同时,该攻击与npm生态的ChainDrop供应链攻击形成呼应,展示了跨平台、跨生态的恶意软件传播模式,对AI开发者和企业安全团队具有重要警示意义。

技术解析

  • 攻击手法:恶意扩展复用真实扩展的名称、命名空间和描述,但通过无关账户发布,版本号设为0.0.1等低版本,主要修改bundled "extension.js"文件,将数据收集功能伪装成"匿名使用指标"
  • 数据收集范围:58个轻量级扩展主要窃取主机名、工作区文件夹名和编辑器版本;19个侦察变体扩展收集更详细信息,包括本地主机名、操作系统用户名、编辑器名称/版本/主机类型/机器ID、平台架构、区域设置/时区、工作区文件夹名和完整文件系统路径
  • 高级技术特征:侦察变体还会检查工作区.git目录获取Git远程主机、组织、开发者邮箱域名、当前分支和HEAD提交SHA;枚举最多60个已安装扩展ID;收集CI环境标识(GITHUB_REPOSITORY、CI_PROJECT_PATH、Azure DevOps URI等);读取编辑器遥测禁用设置
  • 持久化与容错机制:所有扩展使用同一数据外泄域名mangorbit[.]com(2026年7月15日注册);恶意代码包含DNS TXT记录查询以获取备用外泄URL;侦察变体采用重试机制(约15分钟、50分钟、3.5小时后,然后每7-8小时,每次编辑器重启时恢复,持续7天)
  • 与ChainDrop攻击关联:该披露与ChainDrop供应链攻击同时发生,涉及450个npm包和2244个工件被劫持,传播Mini Shai-Hulud变种——一种自传播凭据窃取蠕虫,通过npm preinstall生命周期钩子自动执行,可利用被盗GitHub凭据注入Claude和VS Code配置文件到仓库中

行业启示

  • 扩展市场审核机制亟需加强:Open VSX等开源扩展平台应建立更严格的发布审核和版本验证机制,防止攻击者通过复用真实扩展元数据发布恶意版本
  • 开发者安全意识提升:建议开发者仅从官方渠道安装扩展,验证发布者账户与官方账户的一致性,定期检查已安装扩展的权限和数据收集行为
  • 供应链安全防御升级:企业应建立多层防御体系,包括网络层监控异常外联、主机层检测可疑进程行为、代码层审查依赖包来源,并关注类似ChainDrop的跨平台供应链攻击趋势

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。