{"id":504117,"date":"2026-06-17T09:52:17","date_gmt":"2026-06-17T09:52:17","guid":{"rendered":"https:\/\/www.newsbeep.com\/ie\/504117\/"},"modified":"2026-06-17T09:52:17","modified_gmt":"2026-06-17T09:52:17","slug":"malicious-apps-got-into-the-arch-user-repository-how-to-protect-yourself","status":"publish","type":"post","link":"https:\/\/www.newsbeep.com\/ie\/504117\/","title":{"rendered":"Malicious apps got into the Arch User Repository &#8211; how to protect yourself"},"content":{"rendered":"<p> <img decoding=\"async\" src=\"https:\/\/www.newsbeep.com\/ie\/wp-content\/uploads\/2026\/06\/arch-linux.jpg\" alt=\"arch-linux\" width=\"1280\" height=\"737.28\" fetchpriority=\"low\"\/>   Elyse Betters Picaro\/ZDNET<\/p>\n<p>Follow ZDNET:\u00a0<a href=\"https:\/\/cc.zdnet.com\/v1\/otc\/00hQi47eqnEWQ6T9d4QLBUc?element=BODY&amp;element_label=Add+us+as+a+preferred+Google+source&amp;module=LINK&amp;object_type=text-link&amp;object_uuid=5e5d2e64-4b30-43e6-8555-26eac7e449f3&amp;position=1&amp;template=article&amp;track_code=__COM_CLICK_ID__&amp;url=https%3A%2F%2Fwww.google.com%2Fpreferences%2Fsource%3Fq%3Dzdnet.com&amp;view_instance_uuid=379e95d2-6b56-476b-a90b-043a8dd63bd3\" rel=\"noopener nofollow sponsored\" target=\"_blank\">Add us as a preferred source<\/a>\u00a0on Google.<\/p>\n<p>ZDNET&#8217;s key takeawaysThe Arch User Repository was found to contain malicious apps.Twice in a week&#8217;s span was this discovered.Users are warned to be vigilant, but there are other, easier ways.<\/p>\n<p>Researchers at software supply chain management company Sonatype found that the Arch User Repository contained about <a href=\"https:\/\/www.sonatype.com\/blog\/atomic-arch-npm-campaign-adds-malicious-dependency\" target=\"_blank\" rel=\"noopener nofollow\" class=\"c-regularLink\">1,500 malicious packages<\/a>, the company said in a blog post updated June 12.<\/p>\n<p>&#8220;We continue to encourage all users of AUR packages to review\u00a0all\u00a0PKGBUILD and install script changes when updating, especially during this time. If you notice suspicious commits to a package that you use, please reach out to Arch staff via the aur-general mailing list with more information,&#8221; The Arch team said in a\u00a0<a href=\"https:\/\/archlinux.org\/news\/active-aur-malicious-packages-incident\/\" target=\"_blank\" rel=\"noopener nofollow\" class=\"c-regularLink\">brief statement<\/a>.<\/p>\n<p>This does not bode well for a repository that was created to dramatically increase the amount of software available to Arch (and Arch derivative) users. <\/p>\n<p>Also:\u00a0<a href=\"https:\/\/www.zdnet.com\/article\/archcraft-is-a-solid-super-fast-distro-for-anyone-ready-to-move-beyond-beginner-linux\/\" rel=\"nofollow noopener\" target=\"_blank\">Archcraft is a solid, super fast distro for anyone ready to move beyond beginner Linux<\/a><\/p>\n<p>The AUR is essentially a way for developers to make new software available to users of Arch Linux before it is officially added to the Arch repositories. It&#8217;s a collection of package descriptions (named PDKGUILDs) that make it possible to compile a package from source code using the makepkg tool and then install the package via the Arch Linux package manager, pacman.<\/p>\n<p>The thing about the AUR is that anyone can upload packages to it, and a group of Trusted Users is charged with keeping tabs on what goes in.<\/p>\n<p>You can see where this is going, right?<\/p>\n<p>Imagine you&#8217;re one of those volunteer Trusted Users charged with checking every app that is submitted to a repository. Now, imagine you&#8217;re a bad actor wanting to inject malware into that repository. You obfuscate the malware, submit the app as legit, and assume the Trusted Users won&#8217;t have time to dig through every line of your code. The Trusted User does a quick scan of your code and doesn&#8217;t see the obfuscation.<\/p>\n<p>Blamo! You&#8217;ve just added a malicious app to the AUR.<\/p>\n<p>Within the span of one week, roughly 1,500 malicious apps made their way into the repository, which means something has to change; otherwise, Arch (and Arch-based) users aren&#8217;t going to be able to trust the AUR. There have been no reports on what these malicious apps do, nor who submitted them.<\/p>\n<p>Also:\u00a0<a href=\"https:\/\/www.zdnet.com\/article\/after-30-years-using-linux-i-have-few-complaints\/\" rel=\"nofollow noopener\" target=\"_blank\">I&#8217;ve used Linux for 30 years &#8211; 4 frustrations remain, including 2 that push me back to MacOS<\/a><\/p>\n<p>In the meantime, I have a few recommendations for Arch users.<\/p>\n<p>Uninstall, uninstall, uninstall<\/p>\n<p>First, you need to uninstall anything you&#8217;ve installed from the AUR, and hope that it&#8217;s not too late. At the moment, I have no idea how bad the malicious code is that made it into the AUR, so there&#8217;s no telling the damage it could have or did do to your system(s).<\/p>\n<p>Fortunately, to remove the package, you can use pacman like so:<\/p>\n<p>sudo pacman -R PACKAGENAME<\/p>\n<p>Where PACKAGENAME is the package to be removed.<\/p>\n<p>Once you&#8217;ve done that, check to ensure the package has been removed with the command:<\/p>\n<p>pacman -Q<\/p>\n<p>The above command will list every package installed on your system.\u00a0<\/p>\n<p>Stop using the AUR<\/p>\n<p>Next, stop using the AUR, at least until the developers and Trusted Users can come up with a solution to avoid this problem. After taking care of that, consider the AUR off-limits until the developers have found a way to make it safe.<\/p>\n<p>After you&#8217;ve removed all of the packages and stopped using the AUR, do yourself a favor and use a tool like Wireshark to test for any suspicious outgoing traffic. If you spot something you don&#8217;t recognize, look it up. If it&#8217;s unknown or known to be related to malicious code, either block the outgoing traffic or reinstall your OS.\u00a0<\/p>\n<p>Do not take any chances.<\/p>\n<p>Adopt a universal package manager<\/p>\n<p>In place of the AUR, install Flatpak and install apps from there. With Flatpak, you&#8217;ll have tons of applications to install, so you won&#8217;t miss the AUR nearly as much as you think. You can install Flatpak with the command:<\/p>\n<p>sudo pacman -S flatpak<\/p>\n<p>After installation, add the <a href=\"https:\/\/flathub.org\/en\" target=\"_blank\" rel=\"noopener nofollow\" class=\"c-regularLink\">Flathub<\/a> repository with:<\/p>\n<p>flatpak remote-add &#8211;if-not-exists &#8211;user flathub <a href=\"https:\/\/dl.flathub.org\/repo\/flathub.flatpakrepo\" target=\"_blank\" rel=\"noopener nofollow\" class=\"c-regularLink\">https:\/\/dl.flathub.org\/repo\/flathub.flatpakrepo<\/a><\/p>\n<p>You can then install anything you need, like so:<\/p>\n<p>flatpak install PACKAGENAME<\/p>\n<p>Where PACKAGENAME is the name of a package found on Flathub. You&#8217;ll find that there are apps on Flathub that weren&#8217;t available in the AUR (even proprietary apps like Spotify and Slack).<\/p>\n<p>Also:\u00a0<a href=\"https:\/\/www.zdnet.com\/article\/i-ditched-linux-for-windows-11-9-big-problems\/\" rel=\"nofollow noopener\" target=\"_blank\">After 30 years with Linux, I gave Windows 11 a chance &#8211; and found 9 clear problems<\/a><\/p>\n<p>It&#8217;s a shame that bad actors can ruin something for everyone. While Arch Linux is a remarkably secure OS, the AUR is a different story. I&#8217;ve never been one to depend on the AUR (in fact, I rarely use it), so this doesn&#8217;t affect me nearly as much as it might affect those who do.<\/p>\n<p>To fix this issue, I would suggest that the AUR needs a much better system for verifying the integrity of submitted software. I realize that some would consider that an affront to what the AUR has been for years, but if issues like this continue, the AUR will wind up becoming a barren wasteland.\u00a0<\/p>\n<p>Nearly 2,000 malicious apps within a week is nothing to look away from. And even if the devs can issue an all-clear every time malicious apps are discovered, at some point, no one is going to trust the AUR, so something dramatic has to change.<\/p>\n<p>Even <a href=\"https:\/\/www.reddit.com\/r\/archlinux\/comments\/rd50i3\/are_aur_packages_safe\/\" target=\"_blank\" rel=\"noopener nofollow\" class=\"c-regularLink\">this Reddit thread<\/a> from five years ago illustrates that this problem has been a concern for a long time. It also highlights the fact that the onus is on the user to check everything they install. To that, I would say, how are you going to attract new users if they are expected to inspect software they want to use for malicious code? The answer\u2026 You can&#8217;t.<\/p>\n","protected":false},"excerpt":{"rendered":"Elyse Betters Picaro\/ZDNET Follow ZDNET:\u00a0Add us as a preferred source\u00a0on Google. ZDNET&#8217;s key takeawaysThe Arch User Repository was&hellip;\n","protected":false},"author":2,"featured_media":504118,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[61,60,80],"class_list":["post-504117","post","type-post","status-publish","format-standard","has-post-thumbnail","category-technology","tag-ie","tag-ireland","tag-technology"],"_links":{"self":[{"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/posts\/504117","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/comments?post=504117"}],"version-history":[{"count":0,"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/posts\/504117\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/media\/504118"}],"wp:attachment":[{"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/media?parent=504117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/categories?post=504117"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/tags?post=504117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}