paperbot · PL 论文追踪

全部论文 待读 收藏

P2 ConfuGuard: Using Metadata to Detect Active and Stealthy Package Confusion Attacks Accurately and at Scale

ConfuGuard:利用元数据准确且大规模地检测活跃与隐蔽的包混淆攻击
ICSE Proceedings of the 2026 IEEE/ACM 48th International Conference on Software Engineering2026匹配度 1/10 · 该论文研究软件包混淆攻击检测,属于软件供应链安全方向,使用包元数据而非程序静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析,与用户当前研究方向几乎无交集。虽然论文有工业部署和误报率降低的工程价值,但不匹配用户研究画像中的核心问题。引用 3 inbox
Wenxin Jiang, Berk Çakar, Mikola Lysenko, James C Davis
crossref: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:提出 ConfuGuard,利用包元数据区分良性包,将包混淆攻击检测误报率从80%降至28%,并扩展至7个包注册表。

包混淆攻击(如域名抢注式 typosquatting)通过名称在语法或语义上模仿合法包,诱使工程师安装恶意软件,威胁软件供应链。已有防御主要针对 NPM、PyPI 和 RubyGems,仍存在误报率高、难以泛化到更多生态以及缺乏真实部署经验等问题。本文提出 ConfuGuard,首先对已有包混淆数据中的良性信号进行首次实证分析,揭示其威胁模式、工程实践与可度量属性;进而利用包元数据区分良性包,将检测支持从3个扩展到7个软件包注册表。评估表明,该方法将误报率从80%显著降至28%,代价是平均增加14秒延迟以通过元数据分析过滤良性包。ConfuGuard 已在工业合作方的生产环境中使用,其分析师已确认由 ConfuGuard 检测出的630个真实攻击。

问题
现有包混淆攻击检测器误报率高、难以泛化到更多软件包生态系统,且缺乏真实部署经验与对良性信号的实证理解。
方法
对已有包混淆数据进行首次实证分析,提取良性包的可度量属性,并利用包元数据分析来区分良性包,构建可跨注册表的检测器。
评估
在多个包注册表上评估误报率从80%降至28%,平均增加14秒延迟;并在工业伙伴生产环境部署,分析师确认了630个真实攻击。
原文摘要(Abstract)

Package confusion attacks, such as typosquatting, threaten software supply chains. Attackers make packages with names that syntactically or semantically resemble legitimate ones, tricking engineers into installing malware. While prior work has developed defenses against package confusions in some software package registries, notably NPM, PyPI, and RubyGems, gaps remain: high false-positive rates, generalization to more software package ecosystems, and insights from real-world deployment. In this work, we introduce ConfuGuard, a state-of-the-art detector for package confusion threats. We begin by presenting the first empirical analysis of benign signals derived from prior package confusion data, uncovering their threat patterns, engineering practices, and measurable attributes. Advancing existing detectors, we leverage package metadata to distinguish benign packages, and extend support from three up to seven software package registries. Our approach significantly reduces false positive rates (from 80% to 28%), at the cost of an additional 14s average latency to filter out benign packages by analyzing the package metadata. ConfuGuard is used in production at our industry partner, whose analysts have already confirmed 630 real attacks detected by ConfuGuard.

链接与引用

DOI 原文 · arXiv ·

BibTeX
@inproceedings{paperbot11504,
  title = {ConfuGuard: Using Metadata to Detect Active and Stealthy Package Confusion Attacks Accurately and at Scale},
  author = {Wenxin Jiang and Berk Çakar and Mikola Lysenko and James C Davis},
  booktitle = {ICSE},
  year = {2026},
  doi = {10.1145/3744916.3773229}
}