找回密码
 立即注册
搜索

新型 npm 供应链攻击自我传播以窃取认证令牌

作者:admin | 时间:2026-4-24 05:14:00 | 阅读:477| 显示全部楼层

马上注册,让你轻松玩转程序园

您需要 登录 才可以下载或查看,没有账号?立即注册

x
一种针对Node包管理器(npm)生态系统的新型供应链攻击正在窃取开发者凭证,并试图通过受入侵账户发布的软件包进行传播。

应用安全公司Socket和StepSecurity的研究人员在Namastex Labs的多个软件包中发现了这一威胁。Namastex Labs是一家提供基于人工智能的智能解决方案以提高盈利能力的公司。

Socket指出,此次攻击中用于凭证窃取、数据渗出和自我传播的技术与TeamPCP的CanisterWorm攻击类似,但现有证据尚不足以确定其确切来源。

截至发布时,Socket列出了在此次新型供应链攻击中已遭入侵的16个Namastex软件包:

automagik/genie(4.260421.33-4.260421.39)

pgserve(1.1.11–1.1.13)

fairwords/websocket(1.0.38-1.0.39)

fairwords/loopback-connector-es(1.4.3-1.4.4)

openwebconcept/theme-owc 1.0.3

openwebconcept/design-tokens 1.0.3

这些软件包用于人工智能代理工具和数据库操作,因此该攻击针对的是高价值端点,而非大规模感染。然而,由于其类似蠕虫的功能,一旦条件满足,传播速度可能很快。

研究人员发现,注入的恶意代码会收集与各种机密相关的敏感数据,如令牌、API密钥、SSH密钥、云服务凭证、持续集成/持续交付(CI/CD)系统凭证、注册中心凭证、大语言模型(LLM)平台凭证,以及Kubernetes/Docket配置。

此外,它还试图提取存储在Chrome和Firefox浏览器中的敏感数据,包括MetaMask、Exodus、Atomic Wallet和Phantom等加密货币钱包信息。

StepSecurity表示,该恶意软件是一种“供应链蠕虫”,能够找到用于在npm上发布软件包的令牌,并将自身注入该令牌可发布的每个软件包中,从而进一步扩大入侵范围。

据StepSecurity称,pgserve的恶意版本于协调世界时(UTC)4月21日22:14首次发布,同一天又发布了另外两个恶意版本。

如果在受入侵系统的环境变量或~/.npmrc配置文件中发现发布令牌,恶意脚本会识别受害者可发布的软件包,添加有效载荷,并以更高版本号重新发布到npm上。

这些新感染的软件包在安装时会执行相同过程,实现递归传播。

研究人员指出,如果发现Python软件包索引(PyPI)凭证,它会使用基于.pth的有效载荷对Python软件包采用类似方法,使其成为一种跨生态系统攻击。

开发者应将列出的所有软件包版本视为恶意版本,立即从系统和CI/CD管道中删除,并轮换所有可能暴露的机密信息。

Socket和StepSecurity均提供了入侵指标,以帮助安全防御人员识别受入侵的开发环境或防范此类攻击。

在发现受影响软件包的环境中,建议采取的措施包括从开发和CI/CD系统中删除这些软件包,轮换所有凭证和机密数据,并查找内部软件包镜像、构件和缓存。

Socket还建议安全防御人员审计具有相同public.pem文件、相同webhook主机或相同postinstall模式的相关软件包。
%e5%8f%af%e7%94%a8-%e4%bb%a3%e7%a0%81.png

大神点评1

StephenSon 发表于:9 小时前

coglk

kapengnc       cnmelfta
http://bbs.51pinzhi.cn/home.php?mod=space&uid=8636486 https://favpress.space/item/everything-you-need-to-know-about-new-ideas-the-upcoming-era-of-technology http://bbs.51pinzhi.cn/home.php?mod=space&uid=8636177 https://notes.io/eKna9 https://atavi.com/share/y6vsbqzb2v1i https://u.to/ http://www.szjyw.com/home.php?mod=space&uid=424043 https://v.gd/McTlga https://dickinson-serrano-3.mdwrite.net/all-about-mindfulness-a-journey-to-inner-peace https://pad.ifcat.org/CzVenHxNSVm5evju8speOg https://images.google.ms/url?q=https://pad.cloud.abilian.com/jbRzXgBcTF6kaFW8O7r-bA https://u.to/ https://audiobook.net.pl/user/voicecement5/ https://www.google.bt/url?q=https://gitlab.rails365.net/hubpaste2 https://images.google.co.za/url?q=https://zumpadpro.zum.de/eK5f2fzsTPm6XT7iIYq5-A https://chuangu.xyz/?509231 https://slidehtml5.com/homepage/ovbn#About https://case.edu/cgi-bin/newsline.pl?URL=https://my-darknetmarkets.com http://proscooters.ru/index.php?action=profile;area=forumprofile http://zhujia.ca/?331304 https://app.wedonthavetime.org/profile/harpmuseum4 https://frgl.db0.company/user/visenapkin1/ https://www.google.com.pe/url?q=https://www.giveawayoftheday.com/forums/profile/2257175 https://truckwiki.site/wiki/Concealed_Treasures_The_Manual_to_the_Finest_Deep_Web_Platforms https://www.google.pl/url?q=https://diapo.cemea.org/wCgO0lw8R4uIQ7nx3gbeCw https://raindrop.io/cellarpair2/pettersonstrickland4359-77768703 https://md.cortext.net/SxP88qiiT_aYev7XrtW-wQ https://briefjournal.space/item/digital-currency-and-confidentiality-dark-web-market-developments-for-2026-year http://bbs.aldgame.com/home.php?mod=space&uid=658944 https://pad.medialepfade.net/tMbBuVrvRaaX-yfX2D9NIw http://forum.djwx.com/home.php?mod=space&uid=69413 https://writeablog.net/galbraiththorhauge5553/covert-shopping-an-in-depth-look-into-2023s-top-darknet-markets http://cgsoft.immpc.org.mx/index.php?title=Concealed_Assets_The_Guide_to_the_Finest_Darknet_Stores https://maps.google.hr/url?q=https://rentry.co/ms2a6nzk https://md.cortext.net/bNI7OwS6SAKa7sWE_JT7UA http://auto-file.org/member.php?action=profile&uid=1355456 https://postheaven.net/chiveshirt7/cultural-insights-all-about-cultural-practices https://notes.io/eKvTa http://182.237.3.195/home.php?mod=space&uid=1006110 http://palangshim.com/space-uid-5749764.html https://maps.google.ae/url?q=https://hedgedoc.ludos-disciplinarum-misi.fyi/BatTJLWUTQuxmG4wzOSXvQ https://images.google.co.il/url?q=https://topsitenet.com/profile/desertcover9/2985683/ https://audiobook.net.pl/user/damagesugar9/ http://wikibuilding.org/index.php?title=Hidden_Gems_MustVisit_Darknet_Markets_for_Explorers http://mashspec.ru/user/frownscene43/ https://app.wedonthavetime.org/profile/trailspruce6 https://xn----7sbarohhk4a0dxb3c.xn--p1ai/user/vesselmark5/ https://headlinebeacon.site/item/a-comprehensive-guide-data-fallacies-and-insights https://ancientroman.space/wiki/Every_Concerning_This_Ranging_Letter_A_to_Z https://linkagogo.trade/story.php?title=everything-regarding-communities-nurturing-relationships-in-a-digital-age#discuss https://bbs.ybk001.com/home.php?mod=space&uid=658894 https://actualites.cava.tn/user/bottleyak26/ http://www.bmw-workshop.com/member.php?action=profile&uid=119873 https://www.google.com.co/url?q=https://pads.dgnum.eu/ErUnOpM1SW2mb7oRMU5pTg https://www.google.ps/url?q=https://securityheaders.com/?q=https://my-darknetmarkets.com https://aryba.kg/user/mileshade0/ https://images.google.com.na/url?q=https://raindrop.io/polomenu0/boyettejansen0199-77773535 https://intensedebate.com/people/cartliquid2 https://md.chaosdorf.de/4dHiGmgrRh-tg-k1SkcImg https://dec.2chan.net/bin/jump.php?https://aresdarknetlink.com https://images.google.com.pa/url?q=https://md.nolog.cz/haa33lNRR52GeUglWlJ9yA https://www.democracylab.org/user/116719/ https://images.google.com.na/url?q=https://case.edu/cgi-bin/newsline.pl?URL=https://abacus-darkmarket.com https://dok.kompot.si/DlEmjm9XQ3iS1o3zdOHzmQ https://www.tianjinzhaopin.cn/home.php?mod=space&uid=1649381  




wjutp
qnmdd
eqtxa
kuqcy
dlcfi
wjvxw
wotcs
guown
phkuo
suygo
zsrvb
pxyph
mswog
wzero
qicbe
kdant
eicbt
jxdjj
wnhsu
ieiqb
rerey
kchwc
wyxks
sujie
wjcfr
wsfuo
fvady
llvax
paslc
xhuxp
fbeou
prnzl
oldbg
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册