You are not logged in.

#1 Yesterday 13:02:47

dev-cyw
Member
From: UK
Registered: 2026-10-27
Posts: 3

Previously Malicious AUR PKGBUILDS

Hello,
apologies if this is the wrong place to ask

I am a university student doing my dissertation on analysis of AUR packages that have been compromised
is there anywhere that i can find a list these builds and have a look at them  and see specifically what they have done
ideally they would be several different ways of attacking the system

Offline

#2 Yesterday 14:03:02

GerBra
Forum Fellow
From: Bingen/Germany
Registered: 2007-05-10
Posts: 301

Re: Previously Malicious AUR PKGBUILDS

university student doing my dissertation on analysis of AUR packages

Seriously ?
The whole question sounds more to me you're looking for some cookbook...


My avatar: "It's not just a toilet... a FERGUSON. The King of bowls. Sit down and give me your best shot." Al Bundy

Offline

#3 Yesterday 14:10:03

dev-cyw
Member
From: UK
Registered: 2026-10-27
Posts: 3

Re: Previously Malicious AUR PKGBUILDS

GerBra wrote:

university student doing my dissertation on analysis of AUR packages

Seriously ?
The whole question sounds more to me you're looking for some cookbook...

fair enough if you think that way, i apologise if it comes across like im trying to be malicious
im sure i could find the attacks via blog posts etc like with atomic-lockfile etc i just thought it would be easier
to come from the forums. but how else would i get this information without sounding like this

again apologies that it looks malicious

Offline

#4 Yesterday 14:25:23

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,442

Re: Previously Malicious AUR PKGBUILDS

Most revs of those have been intentionally purged from the git history your "best" bet would be to maybe ask on the mailing list to maybe get a hold of the devops people, but this feels like a weird topic to make a dissertation about to be frank, but if it's accepted w/e.  I'd assume you'll have to hunt around on the aforementioned blog posts.

Offline

#5 Yesterday 14:30:08

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,730
Website

Re: Previously Malicious AUR PKGBUILDS

All known affected AUR packages have been cleaned up, having their git history rewritten so that the offending commits are no longer accessible. There may be some information about what the malicious users incorporated into the packages on the AUR General mailing list archives, or third-party websites that recorded details about them.

EDIT: too slow.

Last edited by WorMzy (Yesterday 14:31:15)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#6 Yesterday 15:04:35

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,037

Re: Previously Malicious AUR PKGBUILDS

tl;dr they were all brazen, silly, dumb, obvious and impossible to miss on even the most cursory inspection of the PKGBUILD - either changing the sources or trying to leverage some npm installation via node.js through install scripts.

Do I get a degree from your university now? And in what field? Gender-troll studies?

Offline

#7 Yesterday 16:39:51

mithrial
Member
Registered: 2017-03-05
Posts: 179

Re: Previously Malicious AUR PKGBUILDS

That's unnecessary, seth.

There could be a pattern analysis for a Bachelor's thesis regarding malicious PKGBUILDs. However, I also believe that the sources were so clearly malicious that the scientific contribution is non-existent. Additionally, they install from npm, so any static analysis must also follow that code. Instead of the PKGBUILDs, maybe a network/graph analysis of involved accounts might give a better training signal.

Offline

#8 Yesterday 17:37:15

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,559
Website

Re: Previously Malicious AUR PKGBUILDS

mithrial wrote:

There could be a pattern analysis for a Bachelor's thesis...

The OP said dissertation, which means a doctoral level degree.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#9 Yesterday 17:41:31

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,442

Re: Previously Malicious AUR PKGBUILDS

I'm strongly assuming they are just making some small presentation, aren't a native speaker and misused the word accidentally or so I cannot fathom any of this having enough content for either an actual dissertation or a bachelors thesis

Offline

#10 Yesterday 17:49:38

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,037

Re: Previously Malicious AUR PKGBUILDS

… on a very specific topic they're currently looking entrance level information for (to figure that the "scientific contribution is non-existent")
Even for a lower academic degree I don't buy this.

Some highschool or college level self-tasked homework I might have believed but the OP is clearly disingenuous or non-serious about their motives.

Edit: F5…

Last edited by seth (Yesterday 17:50:15)

Offline

#11 Yesterday 18:08:40

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,559
Website

Re: Previously Malicious AUR PKGBUILDS

More likely use-case:

Hey chatbot, here are examples of a dozen malicious PKGBUILDs for your training.  Now make me some more for the following packages ...


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#12 Yesterday 20:26:03

dev-cyw
Member
From: UK
Registered: 2026-10-27
Posts: 3

Re: Previously Malicious AUR PKGBUILDS

What a kind and understanding response to my question could've just told me no sorry it looks suspicious and i would've accepted that
and i'm in the UK so dissertation is used for a bachelors thesis and this is just one part of the supply chain attacks it i understand it looks malicious.'
i'm not great at typing my thoughts but fuck me could you be more of a knob about it.

Offline

#13 Yesterday 21:03:06

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,037

Re: Previously Malicious AUR PKGBUILDS

doing my dissertation on analysis of AUR packages that have been compromised

is not the same as "doing my dissertation on analysis on supply chain attacks and trying to figure whether and how the AUR incidents fit into this at all but struggle to find public records of them" and you could have perhaps clarified that after GerBra's initial objection.
What probably will have ticked everyone off is

ideally they would be several different ways of attacking the system

because academic analysis generally does not start w/ pre-filtering the data.

However, if your inquiry was legit there's also nothing lost since

seth wrote:

tl;dr they were all brazen, silly, dumb, obvious and impossible to miss on even the most cursory inspection of the PKGBUILD - either changing the sources or trying to leverage some npm installation via node.js through install scripts.

and

mithrial wrote:

the scientific contribution is non-existent

- it was more about spreading FUD on the AUR than serious supply-chain attacks.

Still
https://bbs.archlinux.org/viewtopic.php?id=313892
https://www.google.com/search?q=atomic-lockfile+aur

Offline

#14 Yesterday 21:07:53

loqs
Member
Registered: 2014-03-06
Posts: 19,135

Re: Previously Malicious AUR PKGBUILDS

As has already been suggested you should contact dev-ops using an email address tied to the institution provide details of the research including how the samples will be stored, used, distributed, published and project supervisor or sponsor that Arch can verify.

Offline

#15 Today 05:55:12

ismailarilik
Member
From: Turkey
Registered: 2023-04-10
Posts: 29
Website

Re: Previously Malicious AUR PKGBUILDS

I am against to purge history on vulnerabilities; attackers already know the attack vectors which were tried several times before and researchers may benefit from them. This is why CVE databases are open so everyone can be informed by the modern ways of attacks. Another point here is I suspect directly assuming bad faith is not against CoC...

Offline

#16 Today 08:44:49

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,037

Re: Previously Malicious AUR PKGBUILDS

I'm pretty sure the force pushed git hard reset had technical reasons (just restore status quo ante) and also assured users that their HEAD predated the attack cycle (so any reference to later commits being malicious was void)
Also, as suggested, there wasn't much to see or learn - the "CVE" is that any asshole can post any malicious shit to any open platform (what the AUR used to be and as far as users w/ active accounts still is) - ie. "CVE" wrt the AUR stands for "CaVeat Emptor"

Offline

Board footer

Powered by FluxBB