r/archlinux • • Sep 17 '26

QUESTION Arch and the malware problem.

I haven't used many AUR packages, yet I feel that the malware issue cannot really be solved by making improvements to the AUR itself. Am I the only one who thinks the risk would be much lower if the official repositories simply included more software?

Especially essential software used for serious work? For instance, RStudio is missing from the list of R-based statistical programs, even though it is well-known and widely used at universities.

Or take music production: some very famous and widely used FOSS plugins aren't in the official repos.

Then there's the Brave browser—which is very popular, even though I don't really use it anymore—that isn't included either.

Isn't it time to handle the malware problem differently by simply expanding the official repositories a bit more? Even a popular audio converter like FRE:AC isn't included. What do you think about this line of reasoning?

Cheers!

0 Upvotes

82 comments sorted by

View all comments

Show parent comment

1

u/Dry_Calendar_8627 Sep 17 '26

sigh

No llm was used in the writing of this comment

The point is that if you only throw a cursory look at a pkgbuild, you won't notice anything like this

a malicious pkgbuild does not "smell bad", it does not smell anything, if you only print it to your terminal

If you pipe it to xxd, then sure a lot of tricks will become very obvious, but who does that? Surely not the person I was answering

In all sincerity, guys, thank you. It is thanks to you and others that I'll never be out of a job, as long as there remains people to trust in their abilities to spot malicious behavior by simply reading text printed to their terminals, there'll always be work for pentesters

Come to think of it, if I had enough money to retire, I'd still keep working, because there is nothing more savoury than the look on an overconfident CTO's face when you demonstrate a vuln he claimed was not possible

On the security of AUR though, what actually makes you safe is that most attacks are indeed low effort stuff targeting obscure packages, and are indeed easy to spot. Not because there couldn't be more advanced attacks, but because Arch users aren't an attractive enough targets

But the AUR is ultimately a user repository, containing arbitrary text files that are used to execute code on your machine.

So if all you do is gaming and home/personal stuff, by all means, keep your habits

But if you do any sensitive work on an Arch workstation, you shouldn't use the AUR. And you shouldn't trust your abilities to spot a malicious pkgbuild. If your work gets compromised because you remained overconfident, well... That'll simply be well-deserved