News for hackers. Stuff that matters.
Re:Arch Linux AUR Repository Found to Contain Malware by lerax on Tuesday July 10, 2018 @03:51PM (#17501469)
Not a surprise.
Re:Arch Linux AUR Repository Found to Contain Malware by craftyguy on Tuesday July 10, 2018 @04:22PM (#17501772)
Yes, but this may be a good reminder for fellow Arch users who have grown complacent reviewing things they install from AUR.

I've gotten to the point where I do not install any AUR helpers on my systems, and manually download PKGBUILDs and install with makepkg. These extra steps force me to 1) review the PKGBUILD + *.install files, and 2) make me reconsider whether or not I want to go through the effort for a package (i.e. "do I really want this thing")

If you want to see all software installed from outside repos defined in /etc/pacman.conf, you can use this pacman option:

    pacman -Qm
It's always a good idea to periodically review this list as well.
Re:Arch Linux AUR Repository Found to Contain Malware by jolmg on Tuesday July 10, 2018 @04:41PM (#17501948)
I've seen the advice of not installing AUR helpers multiple times before. I guess it works for many, but I feel it takes more discipline to review the files when not using AUR helpers since you can just download them and makepkg them immediately, while all AUR helpers I've seen explicitly ask you if you'd like to first review the files in an editor with a default answer of [Y]es.
Re:Arch Linux AUR Repository Found to Contain Malware by cakes on Tuesday July 10, 2018 @05:17PM (#17502270)
One of the problem I see with helpers is that a lot of them start to wrap the whole user's package handling experience (pacman wrapping) where it seems like it would be easy to ignore the prompts and "just download the package already". You can tell users the AUR is unsafe and to review PKGBUILDs but that doesn't mean they are going to listen or do it.

I did write a helper, mainly for myself and a few other arch users I know, and if not for having completed it enough to use it, I wouldn't do it again (I don't support pacman wrapping). I use like 5-10 packages from the AUR and I either maintain them or they _never_ change and I would know something is wrong.

The other point to this is how is this sort of compromise best communicated? It's important enough to hit [0] and obviously this news site, the mailinglist[1], but not the frontpage of arch itself.

[0] planet.archlinux.org [1] https://lists.archlinux.org/pipermail/aur-general/2018-July/...

Re:Arch Linux AUR Repository Found to Contain Malware by Foxboron on Tuesday July 10, 2018 @05:38PM (#17502422)
> The other point to this is how is this sort of compromise best communicated? It's important enough to hit [0] and obviously this news site, the mailinglist[1], but not the frontpage of arch itself.

I brought it up partially, and the simple explanation is; We don't. It's unsupported and compromised packages happens. There is no system in place to warn about it and the frontpage is reserved for news about issues regarding official packages.

Re:Arch Linux AUR Repository Found to Contain Malware by craftyguy on Tuesday July 10, 2018 @04:44PM (#17501979)
> while all AUR helpers I've seen explicitly ask you if you'd like to first review the files in an editor

The good ones do, yes.

> with a default answer of [Y]es.

And therein lies the problem. You may review a handful up front, but then convince yourself that all is good since it's much easier to just press 'enter' and move on. It's MUCH easier to ignore a PKGBUILD when you have to hit one key to skip it than it is if you have to manually download it, put it somewhere, and 'makepkg' on it.

Re:Arch Linux AUR Repository Found to Contain Malware by jolmg on Tuesday July 10, 2018 @05:07PM (#17502171)
I think you misread. Pressing 'enter' opens up the editor to review the files. To ignore them, you'd have to answer [n]o.
Re:Arch Linux AUR Repository Found to Contain Malware by craftyguy on Tuesday July 10, 2018 @05:17PM (#17502265)
Ah, in that case, most I've come across do not default to 'edit', but rather to accept. Notice that many default to automatic building: https://wiki.archlinux.org/index.php/AUR_helpers#Active
Re:Arch Linux AUR Repository Found to Contain Malware by jolmg on Tuesday July 10, 2018 @05:53PM (#17502538)
Huh. Thanks for the link; I hadn't realized that pacaur was announced unmaintained last December. I'll have to look for a replacement.
Re:Arch Linux AUR Repository Found to Contain Malware by bscphil on Tuesday July 10, 2018 @08:36PM (#17503474)
The developer of pacaur now works on auracle.
Re:Arch Linux AUR Repository Found to Contain Malware by Foxboron on Tuesday July 10, 2018 @08:44PM (#17503518)
Falconindy is not the developer of pacaur.
Re:Arch Linux AUR Repository Found to Contain Malware by bscphil on Tuesday July 10, 2018 @09:17PM (#17503688)
That's right, I was thinking of Cower. My mistake.
Re:Arch Linux AUR Repository Found to Contain Malware by jolmg on Tuesday July 10, 2018 @09:43PM (#17503803)
Oh man, I'm feeling uninformed. So cower is being deprecated and Falconindy is rewriting it as auracle. I guess that's 2 programs I'll have to replace. At least I know this one's replacement.
Re:Arch Linux AUR Repository Found to Contain Malware by imtringued on Tuesday July 10, 2018 @07:10PM (#17502992)
aurman is the best replacement