29
you are viewing a single comment's thread
view the rest of the comments
[-] Kazel@lemmy.dbzer0.com 6 points 4 months ago* (last edited 4 months ago)

don't use the aur if you can't read a PKGBUILD

Edit: And Kids remember to always check the diff when updating

[-] delcaran@feddit.it 3 points 4 months ago

Reading PKGBUILD won't save you if you don't read the code or if the PKGBUILD installs a prebuilt bin. Same as Slackbuild or a third-party APT repository: you need to understand what a supply-chain attack is and do your duly work to prevent it, or stick with the consequences.

[-] Strit@lemmy.linuxuserspace.show 6 points 4 months ago

But if you read the PKGBUILD, you would see that it downloads and runs a black-box binary and should therefore not install it. It's a little harder with PPAs I think. The build files are not so easily found.

[-] victorz@lemmy.world 2 points 4 months ago

You never ever install a -bin package from the AUR?

[-] Strit@lemmy.linuxuserspace.show 4 points 4 months ago

Rarely, but I check the PKGBUILD to see if the binary is what I expect it to be.

[-] victorz@lemmy.world 1 points 4 months ago* (last edited 4 months ago)

Yet, to quote:

But if you read the PKGBUILD, you would see that it downloads and runs a black-box binary and should therefore not install it.

[-] Strit@lemmy.linuxuserspace.show 4 points 4 months ago

And you can check the shasum of the binary to see if it actually matches that provided by the developers of the application.

A malicious PKGBUILD, which is what is being talked about, you would see that it downloads a binary that does not come from the developers and so you should not install that.

If the attack happens on the developers repo, not even Linux repository packages would be safe at that point (eg, the xz heist).

[-] victorz@lemmy.world 2 points 4 months ago

If the attack happens on the developers repo, not even Linux repository packages would be safe at that point

I figured this is the type of attack you were referring to, but then you say you yourself don't really live by that safety measure.

I don't either. I don't have enough time, patience, or knowledge to check the source of everything I install to see if it suddenly has malware. That's where I draw my line in the security sand. ๐Ÿ˜…

this post was submitted on 03 Aug 2026
29 points (100.0% liked)

Arch Linux

10065 readers
1 users here now

The beloved lightweight distro

founded 6 years ago
MODERATORS