惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
Docker
B
Blog RSS Feed
Microsoft Security Blog
Microsoft Security Blog
Y
Y Combinator Blog
N
Netflix TechBlog - Medium
M
MIT News - Artificial intelligence
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
B
Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
C
Check Point Blog
The GitHub Blog
The GitHub Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
P
Proofpoint News Feed
Martin Fowler
Martin Fowler
大猫的无限游戏
大猫的无限游戏
GbyAI
GbyAI
博客园_首页
A
About on SuperTechFans
Blog — PlanetScale
Blog — PlanetScale
人人都是产品经理
人人都是产品经理
T
Tailwind CSS Blog
aimingoo的专栏
aimingoo的专栏
T
The Blog of Author Tim Ferriss
The Cloudflare Blog

LWN.net comments

tcmalloc's weird hack [LWN.net] Fixed? [LWN.net] mpd [LWN.net] Userspace AX.25 [LWN.net] RIP [LWN.net] My two cents... [LWN.net] pipx [LWN.net] Tragedy [LWN.net] A young man destined for glory [LWN.net] And 'less' won't let you search [LWN.net] A great loss [LWN.net] Sad and shocking news [LWN.net] Easy migration from Clementine [LWN.net] Sad coincidence [LWN.net] GNOME is actually usable thanks to Seth et al [LWN.net] Sad news :( [LWN.net] armhf supports preempt_rt [LWN.net] MusicBrainz accurracy [LWN.net] On open source maintainership [LWN.net] Let's stop here [LWN.net] Not a new thing [LWN.net] uv is indeed great pgmoneta Some comments on this on a Postgres blog feed [LWN.net] uv [LWN.net] going to Debian [LWN.net] Upgrading 64-bit-capable systems to 64-bit kernels? [LWN.net] Free Software foundations Maintainers can wait for code review but not for publish review? A reasonably extreme point of view [LWN.net]
Chrootbuild [LWN.net]
callegar · 2026-06-13 · via LWN.net comments

Chrootbuild

Posted Jun 12, 2026 21:23 UTC (Fri) by callegar (guest, #16148)
Parent article: Hundreds of AUR packages compromised

If I understand correctly the malicious payload acts during package build. Now I wonder: would using chrootbuild have saved the day in this case? I cannot find any comment about the effect on this issue of building in a chroot jail.


to post comments

Chrootbuild

Posted Jun 13, 2026 0:10 UTC (Sat) by heftig (subscriber, #73632) [Link] (2 responses)

No; the malicious payload acts during package installation (post_install function running npm as root). So any system installing a compromised package will be compromised, but just building it does nothing.

Chrootbuild

Posted Jun 13, 2026 6:11 UTC (Sat) by callegar (guest, #16148) [Link] (1 responses)

Thanks for this important clarification.

Chrootbuild

Posted Jun 13, 2026 9:05 UTC (Sat) by mote (guest, #173576) [Link]

Thinking about this, as an AUR user I'm used to watching the build process abstractly flow by as you run updates. Adding the malware injection during build would probably get noticed a lot more/quicker as they were adding calls to run npm - builds would either fail (no npm installed, me) or they'd start sucking down unexpected artifacts (why is this python module doing npm things). Injecting it in the post-install logic hides it, where failures can be ignored.