frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Arch Linux Now Believes Malware Incident Under Control: More Than 1,500 Packages

https://www.phoronix.com/news/Arch-Linux-AUR-More-Than-1500
82•qwertox•1h ago

Comments

embedding-shape•1h ago
As always a fair reminder to not install random 3rd party packages/libraries/applications without reviewing them, especially when there is zero vetting. Luckily this was constrained to AUR, which basically is a free-for-all package repository, with users being warned multiple times that it's vital to review anything before you install it, compared to the official repositories.

`rua` and other similar CLIs make it really easy to review the packages before installing them from AUR too, and if you are doing banking on the same computer, you really have no excuse not to review the software you depend on. Keeping the amount of packages low, only use what you need, also makes this a whole lot simpler when it's time to upgrade.

dbgobrrr•20m ago
> users being warned multiple times that it's vital to review anything before you install it, compared to the official repositories.

I think this stance should be re-evaluated. Arch Linux developers are doing a fantastic job and I am personally thankful to them - this is not in any way critical of them. And while I don't see an easy solution here, I just feel that the time of "warning users" is long gone with how much supply-chain attacks are ramping up these days.

Some other controls could at least alleviate the problem. Perhaps some form of peer-review and grace period before publishing could help here?

embedding-shape•15m ago
Personally, what you suggest would defeat the purpose of the AUR, and what you describe is already applied to the official packages. If you want only the safe and stable stuff, don't use random packages from AUR :)
cge•9m ago
>`rua` and other similar CLIs make it really easy to review the packages before installing them from AUR too, and if you are doing banking on the same computer, you really have no excuse not to review the software you depend on.

What review should users do?

It appears that, in some cases, these were adding npm as a dependency and installing atomic-lockfile, and in others, were adding bun and installing js-digest. /This was a mass attack against mostly low-use/orphaned/etc packages where maintainership was taken over or a different user uploaded a new version (itself a very simple, low-notice, low-oversight process), and many of the packages clearly had no connection to Node.js at all, so a user who knew enough about each package, and knew what npm was, might notice the oddity in the package, if they reviewed every line of the PKGBUILD, then reviewed the install scripts.

But legitimate AUR packages for packages connected to Node.js also use npm, for example, and at times, use npm install. A user would have to be familiar enough with Archlinux's build system to understand the difference between each part (eg, build() vs install scripts). They'd have to review every PKGBUILD, every install script, and every patch of every AUR package they install. For packages that actually do use npm/bun, they'd have to be familiar enough to know what uses were legitimate and what uses were not, and might have to be up to date on compromised dependencies. And this is still considering a mass attack that was not particularly hidden. Attacks could be made much harder to find.

Asking a user to safely review an AUR package essentially seems like it is asking them to fully understand not just the build process, and programming language, of the upstream package, but also all details of Archlinux's build system. At that point, what is AUR actually offering that installing the upstream package isn't?

There is perhaps some room for LLM analysis here: Opus 4.8, Kimi latest, and even Qwen3.6 27B quickly catch at least the current round of malicious packages in my tests. But a motivated attacker could make that more difficult, or dangerous. And a user could also just have those models install the upstream package as well, with less risk.

tryauuum•1h ago
How bad was it?
graemep•1h ago
1,500 packages out of 107,000 so pretty bad, ameliorated by only affecting installs of those in a window of a few days.

AUR comes with a warning that its up to you to check what you install from there.

maxerickson•33m ago
I wonder what typical AUR usage looks like. I apparently have 27 packages installed and last updated one in November.
TomK32•21m ago
There's more than one way but this lists packages not installed by pacman itself:

    pacman -Qm
Only 237 on my 12 year old system but I rarely update AUR packages and usually try to remove unused ones before updating.
__s•27m ago
I was concerned at headline, then saw "oh just AUR"

Next up, "millions of malicious packages still not taken down on internet"

anthonj•1h ago
I cringed hard when some people started to make pacman wrappers that could install from AUR directly.

I've installed stuff from the aur before but most of the times I prefer to skip the middleman and just navigate to the project website. A premade pkgbuild is not convenient enough to take the risk of typoquatting or the tactical npm or pip dependency.

Grombobulous•39m ago
For me, this tradeoff isn’t worth it. I didn’t switch to Linux so that I can waste time going to websites and clicking “download” to update my programs like a Windows user.

The pacman wrappers you mention are crazy, though.

anthonj•17m ago
I get it, but you only need to do that for the odd cases of packages not present in the official repo (not that common at all for me at least).

Also if the software is downloaded in the form of a git repo, you only needed to checkout the new tag and rebuild, don't need your browser at all.

bitmasher9•8m ago
I think the existence of the AUR puts less pressure on the official repository to have all popular software.
pixelpoet•34m ago
> typoquatting

Perfect demonstration!

OJFord•32m ago
Havoc•46m ago
As I undertood it this was mostly orphaned packages?
Shank•34m ago
That's correct, orphaned packages could be adopted seemingly automatically, so someone did and then published malware in bulk.
gbin•24m ago
Yes and honestly super kudos to paru's creator for the nagging warning about installed orphan packages that made me remove them immediately.

So with a dozen of various systems running arch/cachyos for various purposes, 0 impact.

We seriously dodged a bullet though, should we have some kind of AI spotting shady activity before it hits the userbase?

ajross•9m ago
Not even "packages" in the distro sense. You can't use software installed with Arch to install this stuff via any path that isn't isomorphic to rebuilding the package yourself.

This was the AUR repository, which is the community-maintained soup of non-distro packages. They're packaged using the same tools and technology, with the intent that they can be easily validated and promoted to core stuff in the future. But they aren't really "Arch Linux". You need to deliberately enable and install tools to pull stuff from it.

Think of this as Steam or Chrome. You can install those on Arch, and people do, but if Chrome extensions or Steam games suffer an incident like this you don't blame the distro.

robby_w_g•35m ago
I’ve made a point of not installing any AUR packages. It’s really tempting when there’s a package that’s not available via pacman, but at the end of the day I’d rather build from source myself or use a docker image.
bitmasher9•4m ago
I’m not on Arch Linux, but I am on NodeJS a lot, which frequently suffers from similar types of attacks.

Who is doing package management right these days? Who is doing it securely?

w4yai•4m ago
"linux has no malware, windows bad boooh"
`yay` (one such wrapper) shows me the PKGBUILD diff on every update. The first time I install something I verify the URL, and check any install script etc. seems sensible; the vast majority of subsequent updates are changes to just version number & checksum. A typosquat attack would be very obvious.

(It's a bit vulnerable to it on first install, but so is 'just navigate to the project website [and click download]'.)

anthonj•12m ago
But it's one middle man less.

Git repo have been attacked other times in the past, but a 500/1000 stars project still sounds more trustworthy than a user repository managed by randos with a couple of upvotes. I still use the aur for simple cases, but when I see aur packages depending on multiple other aur packages I immediately leave.

mqus•7m ago
This sounds like your update process is quite involved then. Or do you just not do it?

Show HN: Wmux – a native Windows terminal multiplexer for AI agents

https://github.com/openwong2kim/wmux
1•wong2kim•1m ago•0 comments

Reuse Less Software

https://wiki.alopex.li/ReuseLessSoftware
1•birdculture•3m ago•0 comments

Show HN: Mesmereyes – classic HN demos, mashed up and remade for multitouch

https://kmewhort.github.io/vizlib/
1•kmewhort•4m ago•0 comments

AI Breaks the Monopoly of Elegant Software

https://tselai.com/ai-elegant-software-monopoly
1•fforflo•4m ago•0 comments

Chili Peppers of the World: Cultivars, Species, and Heat

https://www.notesfromtheroad.com/desertmexico/chili-peppers.html
2•Tomte•8m ago•0 comments

Pelican, or pelican't? A hint at Claude evals

https://noperator.dev/posts/pelicant/
1•noperator•9m ago•0 comments

70th Anniversary of the first hurricane seeding experiment (2017)

https://www.aoml.noaa.gov/hurricane_blog/70th-anniversary-of-the-first-hurricane-seeding-experiment/
1•thunderbong•12m ago•0 comments

Show HN: Whim-proxy, a vibe-coded tool to reverse-tunnel webhooks to your laptop

https://github.com/kakwa/whim-proxy
1•kakwa_•12m ago•0 comments

Show HN: Portfolio simulator using trend-following indicators and rebalance API

https://algorithmicfire.com/user/alerts
1•paulfdunn•13m ago•0 comments

Treating pancreatic tumours may have revealed cancer's master switch

https://economist.com/science-and-technology/2026/06/12/treating-pancreatic-tumours-may-have-reve...
2•andsoitis•13m ago•0 comments

Has AI Killed How-To Nonfiction?

https://tim.blog/2026/06/12/has-ai-already-killed-nonfiction/
2•Michelangelo11•16m ago•0 comments

Making our AI coding agent the only way we build our product

https://anyframe.dev/blog/we-hired-an-intern-named-gilfoyle
1•nurdtechie98•17m ago•0 comments

Sam Bankman-Fried loses bid to overturn crypto fraud conviction

https://www.reuters.com/legal/government/sam-bankman-fried-loses-bid-overturn-crypto-fraud-convic...
3•1vuio0pswjnm7•23m ago•0 comments

When Washington switched off Fable/Mython 5: What happened, hour by hour

https://twitter.com/kimmonismus/status/2065774154968711429
2•s-macke•23m ago•0 comments

AI can control your Desktop

https://clawdcursor.com
2•AmDab•26m ago•0 comments

Show HN: IssunDB – a new embedded graph database with vector and text search

https://github.com/IssunDB/issun-db
2•habedi0•27m ago•0 comments

How we made continuous trace intelligence possible at scale

https://twitter.com/ankrgyl/status/2062635408182427859
3•gmays•29m ago•1 comments

Show HN: NixOS on Hetzner with OpenClaw in 15 Minutes

https://iraklijani.com/blog/installing-nixos-on-hetzner-metal/
3•ika•34m ago•2 comments

Operation Costs in CPU Clock Cycles (2016)

https://6it.dev/blog/infographics-operation-costs-in-cpu-clock-cycles-741
3•tosh•35m ago•0 comments

An O(x)Caml book that runs

https://kcsrk.info/ocaml/oxcaml/teaching/nptel/llm/2026/06/13/an-oxcaml-book-that-runs/
4•anirudh24seven•36m ago•0 comments

Rust reflection and a multi-array list

https://fnordig.de/2026/03/25/rust-reflection-and-a-multi-array-list/
1•tosh•36m ago•1 comments

Dangerous Technology for Americans Only

https://lucumr.pocoo.org/2026/6/13/americans-only/
5•Tomte•41m ago•4 comments

The only policy tool that cannot be gamed

https://julienreszka.com/blog/the-only-policy-tool-that-cannot-be-gamed/
1•julienreszka•41m ago•0 comments

How iPhones Became Birth Control

https://spectator.com/article/iphones-became-birth-control/
3•pseudolus•45m ago•1 comments

U.S. Military Helping Move 7M Bpd Out of Persian Gulf, Wright Says

https://oilprice.com/Latest-Energy-News/World-News/US-Military-Helping-Move-7-Million-Bpd-Out-of-...
3•netfortius•47m ago•1 comments

Elon Musk Becomes the First Trillionaire. Is That Such a Bad Thing?

https://reason.com/2026/06/12/elon-musk-becomes-the-worlds-first-trillionaire-is-that-such-a-bad-...
4•abc42•48m ago•1 comments

Pentagon forbids export of Apple computers

https://www.youtube.com/watch?v=OoxvLq0dFvw
5•Ecco•49m ago•1 comments

Zig: Extend @Vector for SPIR-V

https://codeberg.org/ziglang/zig/issues/35376
2•tosh•49m ago•0 comments

Wifärt Gallery

https://wifartgallery.com/
3•jasoncartwright•52m ago•0 comments

Good Design Disappears

https://hari.computer/good-design-disappears
2•andytratt•53m ago•0 comments