this post was submitted on 12 Jun 2026
197 points (99.0% liked)

Linux

65758 readers
667 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS
 

Arch Linux’s AUR is experiencing a malware incident involving user-contributed packages with malicious commits that attempt to download npm-based payloads during installation. (...)

Arch users should not update AUR packages without review. Examine PKGBUILD diffs, check any new .install files, and be cautious if updates introduce npm commands or dependencies unrelated to the software.

Users who recently updated affected AUR packages should review package history, examine executed suspicious install scripts, and treat any unexpected npm-based installation behavior as a possible compromise.

you are viewing a single comment's thread
view the rest of the comments
[–] vapeloki@lemmy.world -5 points 2 days ago (3 children)

Maybe, just maybe, and nearly unmoderated repository where everybody can create packages, is not so secure after all? /s

And AUR is the reason I keep arch miles away from any of my systems.

[–] Strit@lemmy.linuxuserspace.show 21 points 2 days ago (2 children)

You do have the choice to simply not use the AUR. Has nothing to do with using Arch or not.

And no one has ever claimed the AUR to be safe.

[–] gary_host_laptop@lemmy.ml 4 points 2 days ago

yeah, it's essentially, you want software that's no the official repo go there.

[–] vapeloki@lemmy.world -2 points 2 days ago

True, I also have a choice to use a distro that delivers the software I need in the main repo.

[–] Adderbox76@lemmy.ca 10 points 2 days ago

Nobody ever says the AUR is safe. In fact they say specifically that it's not; for exactly the reasons you mention.

That's why it's the Arch USER Repository. You take your fate in your own hands when you choose to use it.

As for your comment about using a distro that has everything in the main repo? How so? Every flavour has software that isn't included in the main repos. For Arch based systems, that means either the AUR or Flatpaks. For Debian based systems, that means adding new repos to your sources, which is exactly as unsafe as the AUR in most cases, or using Flatpaks.

If you've ever added a repo on Ubuntu, than you've essentially used their version of an AUR. The end result is no different.

[–] KRAW@linux.community 7 points 2 days ago (1 children)

Or you coukd just use Arch without installing an AUR helper?

[–] vapeloki@lemmy.world -5 points 2 days ago (4 children)

And then, where get I 70% of my packages I need? For example a useful browser like brave? Yeah ...

[–] aichan@piefed.blahaj.zone 3 points 1 day ago

Ew, crypto-pilled adware Brendan Eich browser mentioned 🤮

[–] anyhow2503@lemmy.world 1 points 22 hours ago (1 children)

What the fuck kinda shitshow could you be running that you'd have to get 70% of your packages from the AUR?

[–] vapeloki@lemmy.world 1 points 18 hours ago

Security Research, software developer, strange hardware configurations.

And of course Software I need is not including their deps

[–] SystemQ@lemmy.world 5 points 2 days ago* (last edited 2 days ago)
[–] naught@sh.itjust.works 3 points 2 days ago* (last edited 2 days ago) (1 children)
[–] vapeloki@lemmy.world 0 points 2 days ago (1 children)

Anywhere else, I just need the package from the brave project or their repo. I trust the brave project, I do not trust the AUR for reasons.

[–] naught@sh.itjust.works 6 points 2 days ago (2 children)

There is an install script for linux front and center on the page (classic curl into sh). For other distros, they're having you add their own repository and install from that. Just as sketchy.

It's unwise to trust Brave, anyway.

[–] Cyber@feddit.uk 3 points 2 days ago (1 children)

curl | sh is the worst security front door I've seen

At least check the script first so it's understood

[–] naught@sh.itjust.works 2 points 1 day ago (1 children)

On one hand I agree, but how different is it really from running an opaque executable or installer.

[–] Cyber@feddit.uk 2 points 1 day ago

Well, with the script at least you can follow the actions first, so it's better...just don't run it blindly because 2 minutes ago the attacker just put an additonal line of code in...

The executable / installer is more of a Windows thing and we've seen how that arms race is going... even Microsoft are trying to create a Linux-style repo called Windows Store.

[–] vapeloki@lemmy.world 3 points 2 days ago

That was an example. And as someone who works in sec, I know the benefits of a package manager.

"I only need to trust brave".

I don't get it, static linking, curl to bash pipes and userepace install and everybody thinks that is fine. But as someone who needs to write a security concept for Linux in the office so I can finally use it at work, no that is not ok. That is shit.

Rust on desktop is also a nightmare for example.

No I do not hate arch, I hate concepts and mindsets creeping into the Linux world