this post was submitted on 16 Jun 2026
588 points (97.9% liked)

linuxmemes

31807 readers
1174 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • Don't come looking for advice, this is not the right community.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 3 years ago
    MODERATORS
     
    top 50 comments
    sorted by: hot top controversial new old
    [–] punkcoder@lemmy.world 155 points 4 days ago (1 children)

    Real talk for a moment, there isn’t a system alive that currently solves the supply chain attack issue. there’s a trade-off between usability, and security. You can be a secure as you want to be, all it takes is a small accident by one developer in a package that you’re using, even if they’re using gpg signing to accidentally upload A package that’s been tampered. It stinks, but that’s the reality. What I think should be applauded is the thoroughness that the arch developers are going through the repo right now trying to find these packages. I don’t know the specifics, but if they’re like other open source developers, they’re unpaid people doing this out of their love for the software and community. and more than likely, this is a headache on top of headaches that they already have that they’re doing for the love of the community.

    [–] RustyNova@lemmy.world 8 points 3 days ago (2 children)

    Idk how the AUR works but I like that nix fetch the source from the repo and also check its hash from a maintainer provided one. Prevents repo hijacking.

    Although it's still pretty much vulnerable if the attacker controls both the nix file and the repo

    [–] bitfucker@programming.dev 15 points 3 days ago

    Every *-git package also fetch it from the repo. The apt analogy is someone haven't been maintaining the nixpkg and then it gets adopted by someone else. Now that someone else change the build script to be malware. So it is no fault of the upstream

    [–] sudo@programming.dev 4 points 2 days ago

    That wouldn't have fixed the AUR incident because the attacker updated the PKGBUILD which is roughly the same as the nixfile. And there are no packages provided by the AUR, just PKGBUILDs. You always build the package yourself locally.

    [–] basxto@discuss.tchncs.de 15 points 3 days ago

    Did somebody get infected by installing https://aur.archlinux.org/packages/sex ?

    [–] adhdsergio@lemmy.world 53 points 4 days ago (13 children)

    Meanwhile, Windows users: btw, first time? 💀🪢

    load more comments (13 replies)
    [–] locahosr443@lemmy.world 10 points 3 days ago

    I have like 4 things installed from aur, investigated each one first, and I'm still paranoid about all of them.

    [–] mrbutterscotch@feddit.org 8 points 3 days ago (5 children)

    Relatively new Linux user here.

    I've seen a few posts about malware on Linux mentioning things called AUR and NPM.

    I understand they are package managers? Is that something I have to worry about as a Bazzite user?

    [–] TheMadBeagle@lemmy.ml 3 points 2 days ago

    As other people have stated, you do not need to worry about the AUR issue specifically since Bazzite is not based on Arch Linux. Also, unless you are building Node based application (node being a JavaScript based runtime environment), you shouldn't have to worry about that one.

    That said, these platforms are just the latest targets because they have huge enterprise user bases. Any centralized repository has the potential for vulnerability, especially ones with unvetted user submissions.

    [–] M0oP0o@mander.xyz 15 points 3 days ago (1 children)

    Not likely. Just know that AUR is user driven and not checked or vetted.

    [–] mrbutterscotch@feddit.org 4 points 2 days ago (1 children)

    Yeah, I try to stick to the native flatpak manager for bazzite. Are there any other vetted software managers out there that you would recommend?

    [–] M0oP0o@mander.xyz 2 points 2 days ago

    Not really, almost any method (that is managed) is fine. Just read about where its coming from before downloading. Even user based is fine, if you trust it.

    [–] sudo@programming.dev 10 points 3 days ago (1 children)

    npm: Node Package Manager.
    AUR: Arch User Repository.

    Bazzite is based on fedora not Arch so you don't need to worry.

    [–] mrbutterscotch@feddit.org 2 points 2 days ago

    Ah alright, thanks for the info!

    [–] CeeBee_Eh@lemmy.world 2 points 2 days ago

    Arch is a bleeding edge distro. Basically if you hear about some new feature coming to Linux, Arch probably had for about a week already. This obviously has its downsides like stability.

    The AUR (Arch User Repository) is basically a list of scripts that anyone can put together. In the scripts are various commands to download a program and how to build/install it. Where it pulls from and how it does it is completely up the uploader. Which makes it extremely dangerous.

    This is not representative of the rest of Linux systems and how they function. Arch's AUR is as close to downloading random installers from a website and running it on your Windows computer you can get.

    As for NPM, it's basically the same thing for JavaScript libraries, but worse.

    [–] JackbyDev@programming.dev 1 points 2 days ago

    AUR is something related only to Arch Linux. Bazzite is not related to Arch, so you're good.

    NPM is the Node Package Manager. Unless you're doing something like installing Node JS stuff then you don't need to worry about this. I feel fairly confident that this is one of those things where you'd know if you were using it.

    [–] carmo55@lemmy.zip 16 points 3 days ago (2 children)

    Why is adoption a thing in this way though? People compare AUR to github which seems very apt, but on Github no-one can come and take over the URL of an abandoned repo for rhemselves, if someone wants to start maintaining and the old owner is MIA, they have to make a fork. Why doesn't AUR work the same way but instead allows anyone to take over any abandoned project with no checks?

    [–] communism@lemmy.ml 7 points 3 days ago (2 children)

    The forking option wouldn't work as well as it does on github because AUR packages are not namespaced like GitHub repos, e.g. communism/mypackage; instead it's just mypackage. So if adoption required a new name you'd have mypackage-cont, mypackage-cont-cont, or whatever. And it wouldn't really be possible to introduce username namespacing because AUR packages are just Pacman packages that are community-contributed rather than official, and Pacman, like most package managers, doesn't namespace their package names; firefox is just firefox rather than, say, mozilla/firefox. Some AUR packages get added to the official repos so when you do, e.g. yay -Syu, you'll then install the official package if you previously had the AUR package installed as it has the same name.

    There isn't a perfect solution. Even if package adoptions were moderated, someone could take over a package and initially push a genuine commit, and then their next commit is malicious. Reviewing every single AUR commit would be incredibly labour-intensive. Possibly you could add automated checks for commits that suddenly add an npm install or other suspicious command with regex, but attackers could just get cleverer about avoiding those regex checks. Imo the best solution is just more widespread warnings about the fact that AUR packages are community-contributed with no guarantees of safety (e.g. on the Arch wiki where it sometimes suggests users install AUR packages), and AUR helpers forcing users to read PKGBUILDs before installation.

    load more comments (2 replies)
    load more comments (1 replies)
    [–] muusemuuse@sh.itjust.works 17 points 3 days ago

    Back when I was learning arch they made sure you understood AUR is an option, it was never a good option. Even then the risks were just not worth it.

    My understanding the AUR was it was supposed to be a “here’s how I made this work.” But it gets treated as a generic repo all the time so…this.

    [–] agentTeiko@piefed.social 21 points 4 days ago (5 children)

    I'm not going to lie the aur never made sense to me. If you are going to go to all that trouble why not just package it. Source packages are a thing.

    [–] rtxn@lemmy.world 32 points 4 days ago* (last edited 4 days ago)

    The developers themselves are often not the package maintainers. Before a package is published or updated in one of the official Arch repos, it has to be built, tested, and sometimes patched (which is why you see a -1, -2, etc. appended to the package version), in order to work correctly not just on its own but in an Arch system with Arch packages that it is likely to encounter. The process is not as thorough as Debian for example, but it's still the responsibility of the package maintainer. If the package is still in early development, deprecated (e.g. wine32), an out-of-tree kernel module (e.g. xpadneo-dkms), or is meant to be built from the latest available commit (any number of *-git packages), the AUR is a convenient way to share PKGBUILD files rather than have the user build the software manually based on a readme, if it even includes build instructions. The PKGBUILD is then ingested by makepkg, which both configures the environment and builds the software, and outputs a package that can then be installed and managed by Pacman.

    The caveat is that packages built from the AUR are not vetted by any package maintainers. They can have bugs, they might depend on outdated or no-longer-existent packages, or might contain malware.

    [–] stepan@lemmy.cafe 22 points 4 days ago (7 children)

    it makes sense to me. remove as much friction from the publishing process as possible, so you get a huge amount of packages. this incident just shows they removed a little too much.

    there are so many niche packages on the aur useful to so few people that nobody would go through the official process to properly package, test, and maintain them.

    for example: vscodium is a fork of vscode, but microsoft disables the marketplace for it. the vscodium-marketplace package from the aur adds it anyway. i don't think any regular repos have these kind of hacks and patches available.

    load more comments (7 replies)
    [–] Shatur@discuss.tchncs.de 15 points 4 days ago* (last edited 3 days ago)

    Source packages are a thing.

    AUR is a repository for source packages (in Arch it's called PKGBUILD) from users. You can write PKGBUILD yourself or just download it from AUR if someone already made it.

    load more comments (2 replies)
    [–] CubitOom@infosec.pub 13 points 3 days ago (1 children)

    I use aur, extensively, wasn't impacted by the supply chain attack cause I read the diffs.

    [–] ReginaPhalange@lemmy.world 13 points 3 days ago (2 children)

    Be real for a second,
    Did you, or did you not, manage to review a diff, and say "no, that looks fishy".

    Do you really think you are immune from compromised binary AUR packages thats being downloaded straight from GitHub? Sure, now it's not only the AUR that's bad, but in the end of the day, a malicious binary did arrive at your computer.

    Let's say that you don't use *-bin packages, and only download from compilable source, are you immune from the strategy that the state actor who caused CVE-2024-3094 used to compromise packages?

    load more comments (2 replies)
    [–] Gork@sopuli.xyz 13 points 4 days ago (3 children)

    It bothers me that the movie this meme is based on removed the head rests. Smh my head.

    [–] chaotic_disorganizer@lemmy.world 10 points 4 days ago (3 children)

    Every movie does that. Just how they remove helmets from bikers and armor. Gotta see the actors beautiful face after all.

    load more comments (3 replies)
    load more comments (2 replies)
    load more comments
    view more: next ›