65
submitted 7 hours ago by cm0002@europe.pub to c/linux@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] shweddy@lemmy.world 11 points 6 hours ago* (last edited 6 hours ago)

As a new arch user how do I check PKGBUILD and install script changes? And what am I looking for out of the ordinary?

Feel free to point me to a wiki page if possible

Nevermind I just searched pkgbuild

[-] jrgd@lemmy.zip 11 points 4 hours ago

Using the AUR largely expects users to understand the basics of shell/BASH scripts, which is what a PKGBUILD is. The most obvious source to check is what URL(s) the PKGBUILD is pulling in for a package's source(s). Are these URLs sourced from official or otherwise trusted sources for the application or component (such as from the app author's download site or their git forge)? Does the PKGBUILD make any claims of what is being downloaded and does the target URL's contents match that? If either of these checks fail, it's best to avoid that package.

Additionally, does the PKGBUILD attempt to do things like obfuscate data such as URLs or tokens for downloading? Does it attempt to recklessly delete or modify files/directories (rm -rf, other recursive functions)? Does the PKGBUILD make use of any arbitrary execution statements such as exec or spawning subshells? If any of these check true, the package should seriously be revised before attempting to install it. System-level software installs on Linux systems should never be complicated enough to need fancy execution techniques nor reckless file management.

[-] shweddy@lemmy.world 2 points 2 hours ago

Thank you I wasn't expecting such a deep answer the wiki was kinda confusing cuz its dry

[-] wise123@sh.itjust.works 9 points 5 hours ago

If you are concerned with security, you can install postmaster or any other firewall force block all the internet connection and deny all the connections and then manually start allowing apps and process access to internet.

It's an annoying process. It takes a lot of time to set up, but once it gets going, you will be mostly secure from this type of attack.

So, sort of security over convenience.

[-] massive_bereavement@fedia.io 4 points 4 hours ago

I would add using as much as possible flatpak, and only using aur in special circumsrances, also using selinux if possible.

this post was submitted on 14 Jun 2026
65 points (100.0% liked)

Linux

13931 readers
446 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 3 years ago
MODERATORS