502
submitted 3 weeks ago* (last edited 3 weeks ago) by maduncle@lemmy.world to c/linuxmemes@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] 30p87@feddit.org 32 points 3 weeks ago

yay

There is a 99% chance it's in there, and there is an 80% chance it uses the latest version/git HEAD

[-] RustyNova@lemmy.world 7 points 3 weeks ago
[-] rtxn@lemmy.world 29 points 3 weeks ago

yay, a utility to access the AUR, where users share build scripts instead of binaries. It's just one step above curl | sudo sh in terms of security.

[-] 30p87@feddit.org 9 points 3 weeks ago

Except it automates the steps you'd have to take to inspect and edit the script, if needed. Also, PKGBUILDs are much nicer to read than just plain install scripts. And, of course, it actually builds a package, which is then installed, so it's not only tracked but can be updated like the rest of the system.

[-] copygirl 7 points 3 weeks ago

To be fair, that's why they said

in terms of security.

[-] 30p87@feddit.org 3 points 3 weeks ago

I'd say that yay encourages checking the PKGBUILD or its diff more than the average "curl xy | sudo sh" instruction, but considering most people see yay just as yet another package manager, instead of an AUR helper, that's probably true for most people

[-] copygirl 2 points 3 weeks ago

That's probably the "just one step above" part. You do have the option to inspect the script you're executing before you do so with curl | sh too, if you know what you're doing. If you don't, then you'd be pretty likely to just skip the prompt from yay as well. (Automatic diffs are nice tho.) Note: I use paru instead so I don't know what yay does.

[-] rtxn@lemmy.world 2 points 2 weeks ago

That's why it's one step above. The user is given an option to read the PKGBUILD (or a diff with the cached copy if it exists), but beyond that, it's still unverified arbitrary code from an external source (the project's actual source, binaries, or packages from another repository). Packages in the official Arch repos are verified by the downstream packagers. For AUR packages, it's up to the community to moderate itself, and the user to determine whether the package is trustworthy, and I'm willing to bet that not many people do it. I certainly don't vet everything I install.

[-] Flipper@feddit.org 3 points 3 weeks ago

I don't think the aur can switch the delivered script whether you are piping it into sh or not.

this post was submitted on 05 Apr 2025
502 points (100.0% liked)

linuxmemes

24633 readers
840 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.
  • 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 2 years ago
    MODERATORS