this post was submitted on 14 Aug 2026
391 points (97.6% liked)

linuxmemes

32556 readers
1102 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 of any kind will not be tolerated. This is an LGBTQ+-friendly community -- if that is a problem for you, you should leave.
  • 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
     

    TranscriptImage of a man pointing a gun at his own foot.

    Caption: Installing an AUR package without reading it's PKGBUILD.

    top 50 comments
    sorted by: hot top controversial new old
    [–] Digit@lemmy.today 3 points 6 days ago

    I realised...

    I wasn't going to do that.

    And I was only using Artix for the AUR.

    So I stopped using Artix.

    Not responsible enough.

    Responsible enough to stop.

    [–] NaibofTabr@infosec.pub 133 points 1 week ago (3 children)
    [–] Jesus_666@lemmy.world 30 points 1 week ago (2 children)

    If you want a bunch of stuff that's not in core or extra and you don't want to intensely babysit the AUR, you could try Chaotic-AUR. It hosts prebuilt packages for a bunch of AUR packages which are actively maintained by the Chaotic team.

    I consider it to be more secure than the AUR proper since they actually care for their packages and review nontrivial changes. For instance, the recent takeover attacks didn't hit Chaotic-AUR builds since the changed packages didn't make it past the review.

    It's still an unofficial third-party repository and closer to the AUR than to extra but I consider it a major step up.

    [–] Zachariah@lemmy.world 15 points 1 week ago (5 children)

    Yes, but is it good, neutral, or evil?

    [–] basxto@discuss.tchncs.de 9 points 1 week ago
    [–] muusemuuse@sh.itjust.works 4 points 1 week ago

    It is colorful socks

    load more comments (2 replies)
    [–] NotSteve_@lemmy.ca 5 points 1 week ago

    I just recently reinstalled since I didn't feel comfortable with how many AUR packages I had and ive been using ChaoticAUR exclusively now. Can confirm that its a great repo

    [–] Azzu@leminal.space 17 points 1 week ago* (last edited 1 week ago) (3 children)

    I mean how often do you install AUR packages? Usually takes like a minute or so to skim through PKGbuild and the pkg comments and look for obvious issues. And most updates are just a sha hash and version change, taking like 5s to check.

    [–] HereIAm@lemmy.world 12 points 1 week ago

    But wasn't the latest AUR attack from a dependancy in the pkgbuild? Going out of your way to review all the dependencies as well is not really possible by just skimming through the script.

    [–] basxto@discuss.tchncs.de 6 points 1 week ago* (last edited 1 week ago) (1 children)

    I need a better wrapper that shows me diffs since last build. I’m too lazy for this

    Also pulling in release messages from git etc would be nice

    load more comments (1 replies)
    [–] ElectroLisa@piefed.blahaj.zone 79 points 1 week ago (2 children)

    STABLE IS FOR HORSES I LOVE GAMBLING

    /s

    [–] xthexder@l.sw0.com 10 points 1 week ago

    I wish I could give you a second upvote, that's hilarious πŸ˜‚

    [–] deathmetal27@lemmy.world 4 points 1 week ago

    Well earned upvote, sir/ma'am.

    [–] call_me_xale@lemmy.zip 36 points 1 week ago (9 children)

    I usually do, but I don't really know what I should be looking for. What are some red flags?

    [–] akunohana@piefed.blahaj.zone 46 points 1 week ago* (last edited 1 week ago) (1 children)

    This video taught me a lot.

    Check the list of dependencies. If you really want to vet the package, look through all of the dependencies listed and read their package descriptions on their source page (github, gitlab, codeberg, whathaveyou). Check also the URL, from which makepkg (or yay or whatever) is going to pull some of the data. Is the URL legit?

    PKGBUILD of localsend

    # Maintainer: NourEddineX  
    # Contributor: Nixuge  
    # Contributor: Noah Vogt <noah@noahvogt.com>  
    # Contributor: SpieringsAE (aarch64 addition)  
    
    # Note: 
    # using the .deb instead of the .tar.gz as it already contains the icons as well as the .desktop file.  
    
    pkgname=localsend-bin  
    pkgver=1.18.0  
    pkgrel=1  
    pkgdesc='An open source cross-platform alternative to AirDrop'  
    
    LOOK HERE  
    url=https://github.com/localsend/LOCALSEND  
    LOOK HERE  
    
    arch=('x86_64' 'aarch64')  
    license=(Apache-2.0)  
    
    LOOK HERE  
    depends=(fuse2 xdg-user-dirs libayatana-appindicator)  
    LOOK HERE  
    
    conflicts=('localsend')  
    provides=('localsend')  
    options=(!debug)  
    source_x86_64=("${url}/releases/download/v${pkgver}/LocalSend-${pkgver}-linux-x86-64.deb")  
    source_aarch64=("${url}/releases/download/v${pkgver}/LocalSend-${pkgver}-linux-arm-64.deb")  
    sha256sums_x86_64=('dae68192ad43a59a68df06454eb5fa4e9a9f86a343fe430165efd8b18863d0f4')  
    sha256sums_aarch64=('eb24e724fbdf830c8fb07dfc66b76b8a649923d083278305a63d5d539db4b606')  
    _pkgdesktop="localsend_app.desktop"  
    
    
    prepare() {  
    	tar -xf data.tar.zst  
    }  
    
    build() {  
    	sed -i -E \  
    		"s|Exec=localsend_app|Exec=localsend|" \  
    		"${srcdir}/usr/share/applications/${_pkgdesktop}"  
    
    	# Adjust .desktop to have it point to the correct icon  
    	sed -i -E 's/^Icon=.+/Icon=localsend/' "${srcdir}/usr/share/applications/${_pkgdesktop}"  
    }  
    
    package() {  
    	# Desktop  
    	install -Dm644 "${srcdir}/usr/share/applications/${_pkgdesktop}" "${pkgdir}/usr/share/applications/${pkgname%-*}.desktop" 
    	
    
    	# Icons  
    	install -dm644 "${pkgdir}/usr/share/icons/"  
    	cp -a "${srcdir}/usr/share/icons" "${pkgdir}/usr/share"  
    	# Dirty - rename icons to localsend  
    	for res in "128x128" "256x256"; do  
    		mv "${pkgdir}/usr/share/icons/hicolor/${res}/apps/localsend_app.png" "${pkgdir}/usr/share/icons/hicolor/${res}/apps/localsend.png"  
    	done  
    
    
    	# Executable  
    	install -dm755 "${pkgdir}/opt/${pkgname%-*}/"  
    	cp -a "${srcdir}/opt/localsend_app/." "${pkgdir}/opt/${pkgname%-*}"  
    	# Same as icons - rename to localsend  
    	mv "${pkgdir}/opt/${pkgname%-*}/localsend_app" "${pkgdir}/opt/${pkgname%-*}/localsend"  
    
    	# Symlink executable  
    	install -dm755 "${pkgdir}/usr/bin"  
    	ln -s \  
    		"/opt/${pkgname%-*}/${pkgname%-*}" \  
    		"${pkgdir}/usr/bin/${pkgname%-*}"  
    }  
    

    load more comments (1 replies)
    [–] Malix@sopuli.xyz 26 points 1 week ago* (last edited 1 week ago)

    as the other commenter said, but worth echoing:

    • is it suddenly using npm to install/run something? (iirc this was the attack vector for most packages that were infected)
    • suddenly added some weird extra wget/curl/whatever to packaging methods to fetch something weird?
    • are the package's sources (eg. github urls) legit?

    Generally you should be aware of who'se software you're installing -> check if it's downloading the stuff from right place, and nothing extra. The PKGBUILD changes in the aur website are pretty good indicator if something has changed and how.

    edit: npm itself, or it's usage isn't bad - but it is quite suspicious if the AUR package isn't for some webapp or so.

    [–] First_Thunder@lemmy.zip 13 points 1 week ago

    Suddenly an npm command to some random package appearing in an update

    [–] dwt@feddit.org 12 points 1 week ago

    I think that the whole concept of sharing user repos to install packages is sadly not really good anymore. Because now it suddenly exposes that there is usually neither a trust anchor to that repo, nor an established review and fix process for such things.

    Iβ€˜d say, just use the community maintained official package sources for now.

    load more comments (5 replies)
    [–] merc@sh.itjust.works 21 points 1 week ago (1 children)
    [–] Nalivai@lemmy.world 15 points 1 week ago (7 children)

    I'm running Arch daily since 2015, was on Debian before. I install and try a lot of stuff. Never had anything bad happened to me once. Worst case scenario the shit I just installed didn't work so I have to debug it.
    Not endorsing this apparently dangerous lifestyle, but also a little bit maybe

    [–] Funkt4st1c@lemmy.world 5 points 1 week ago

    Yeah same. Aur has been significantly less virus prone than the windows norm (inb4 wut abut winget >;ppp) of "Googling some shit you want and clicking the first website to roll the dice on predatory ads or malware or maybe the thing you wanted"

    ...not to mention if you have btrfs you can just rollback a month or two and call it a day.

    [–] deathmetal27@lemmy.world 4 points 1 week ago

    This is more important after the recent news of malware on AUR

    [–] basxto@discuss.tchncs.de 3 points 1 week ago

    Not updating AUR packages saved me from the last incedent πŸ™ƒI had 6 or sth packages installed who were in the list

    load more comments (4 replies)
    [–] richardisaguy@lemmy.world 11 points 1 week ago* (last edited 1 week ago)

    Nah, if you really want to live on the bleeding edge you gotta make blindly installing vibecoded junk from shady parts of the AUR part of your workflow

    [–] zitrone@europe.pub 10 points 1 week ago (4 children)

    just use nix instead

    we have super secure mechanisms in place to prevent supply chain attacks

    /s (nix just hasn't been targeted yet (as far as we know πŸ’€πŸ’€))

    [–] corsicanguppy@lemmy.ca 5 points 1 week ago

    just use nix instead

    Maslow, is this your hammer?

    [–] Euphoma@lemmy.ml 5 points 1 week ago

    Yeah, I just update all 20 flakes that I sourced from github and pray that none of them were hacked

    load more comments (2 replies)
    [–] MonkderVierte@lemmy.zip 9 points 1 week ago (1 children)

    All pointing with fingers to AUR, but the issue was (yet again) with NPM.

    [–] chortle_tortle@mander.xyz 4 points 1 week ago* (last edited 1 week ago) (1 children)

    Sorry I missed something, how so?

    [–] MonkderVierte@lemmy.zip 6 points 1 week ago

    The compromised packages load a script from thr net that runs a compromised npm package ("atomic-lockfile" 1.4.2).

    Ok, also a AUR issue. But more so a NPM one, since they have all full moon two supply-chain attacks.

    [–] MalReynolds@slrpnk.net 8 points 1 week ago (2 children)

    If possible do it in a distrobox and down networking before running, yes that won't stop the curl | sh in the install, but at least you can blow it away without hurting your main install and it will likely infect only the distrobox. Bonus points for an immutable main OS.

    As the whole supply chain attack vector gets more sophisticated, and probably subtler in effect, these are going to be harder and harder to spot and likely start making it into main repos. Keep sharp people.

    Not real fun for a linuxmemes post, but I think it needs saying.

    [–] Neptr@lemmy.blahaj.zone 6 points 1 week ago (4 children)

    Distrobox is not an isolated environment, it is quite the opposite. They say so themselves on their page:

    Security implications

    Isolation and sandboxing are not the main aims of the project, on the contrary it aims to tightly integrate the container with the host. The container will have complete access to your home, pen drive, and so on, so do not expect it to be highly sandboxed like a plain docker/podman container or a Flatpak.

    I would argue that Docker isn't a good way to stop malware either, since it is highly vulnerable to sandbox escape leveraging the shared host-guest kernel, like the many of LPEs that have been found in the last few months (example using copy-fail).

    Docker is not a secure sandbox, Podman is not a secure sandbox, Flatpak is not a secure sandbox. Use a VM, or better yet, don't use the AUR.

    load more comments (4 replies)
    load more comments (1 replies)
    [–] Sivecano@lemmy.dbzer0.com 7 points 1 week ago

    Someone put my WM on the AUR. I am thus proud to be authoring malware :)

    [–] RustyNova@lemmy.world 6 points 1 week ago

    I don't even read the nix files I install from lol

    [–] KernelTale@programming.dev 6 points 1 week ago

    If it's endorsed by the project team I might as well. At that point it's the same as downloading from GitHub and if I am in AUR I've probably not found it in standard repos nor flathub.

    [–] OR3X@lemmy.world 5 points 1 week ago

    AUR Arch UrGettingMalware Repository

    [–] wilmo@programming.dev 4 points 1 week ago (1 children)

    I use Arch without touching this AUR in my latest install. Just use what's in the main package repos or flathub

    [–] unknownman@lemmy.zip 4 points 1 week ago (2 children)

    I use arch just to be able to use AUR lol

    load more comments (2 replies)
    load more comments
    view more: next β€Ί