Typosquat AUR Helpers Drop Root Malware

Help Net Security · Medium sophistication
Last updated October 16, 2026

Attackers uploaded look‑alike Arch Linux AUR packages (e.g., “yyay”) to catch users who mistype popular AUR helpers like yay/paru. The fake packages ran a malicious install script that downloaded and executed code as root during install/upgrade, potentially enabling credential theft or backdoors.

Key findings

  • Attack relied on typosquatting: users who mistyped “yay” or “paru” could install a malicious look‑alike package.
  • A trojanized package (“yyay”) reused the legitimate upstream URL/source tarball to appear authentic while hiding a malicious install scriptlet.
  • The malicious script downloaded and executed arbitrary code as root during pacman install/upgrade.
  • Payload hosting was traced to a personal project on gitflic.ru.
  • AUR maintainer banned the uploader account and deleted the uploaded packages shortly after reporting.

Who’s being targeted

  • Commonly targeted roles: Developers, DevOps / SRE, Linux Administrators, IT Operations.
  • Affected industries: Software development, IT operations / DevOps, Open-source community users.
  • Attack channels: website.
  • Impersonated: Legitimate AUR helper project (‘yay’), via a trojanized AUR package.

Awareness takeaways

  • Treat near-miss/typo package names as a high-risk warning sign; verify exact package names before installing.
  • Be cautious of installers/build scripts that download and execute remote code, especially if they run with elevated privileges.
  • Don’t assume a package is safe because it references the same upstream URL/source as the real project; attackers can reuse those to appear legitimate.
  • Respond quickly to suspicious packages by reporting them to maintainers; fast action can limit exposure.

Red flags to watch for

  • Package name is a near-miss/typo variant (e.g., “yyay”).
  • Install/build script includes downloading and executing remote code.
  • Package looks legitimate at a glance by reusing the real upstream URL/source, reducing suspicion.
Try Mirage

Mirage safely runs attacks like this one against your own team, so you find out what happens before a real adversary does.

Get a demo
Read the video transcript

On Arch, one extra letter in an AUR helper name, like installing “yyay” instead of “yay”, can silently hand root to a stranger. Attackers uploaded a trojan AUR package called “yyay” that reuses the real yay upstream URL and source tarball, but hides a scriptlet that downloads and runs arbitrary code as root during pacman install or upgrade. Here’s the trap: you search AUR, click the typo-similar helper, it looks legit because the URL matches upstream, you hit install, and that hidden script pulls code from a personal project on gitflic.ru straight into your system as root. Your move: before installing any AUR helper, stop and double-check the exact package name and its PKGBUILD, if it’s a near-miss like “yyay” or downloads and runs remote code, back out and report it.

Categories

Similar attacks

Fake Movie Torrent Drops MovieReaper Trojan

Fake Movie Torrent Drops MovieReaper Trojan

A real malware campaign dubbed “MovieReaper” infected users who tried to download popular movies from torrent trackers. Attackers abused a compromised public torrent-file repository so that magnet links returned a different torrent that downloaded a Windows .exe disguised as a movie file, which…

September 17, 2026
Planted Text Tricks AI Agents Into Bad Clicks

Planted Text Tricks AI Agents Into Bad Clicks

Researchers demonstrated a new “agent data injection” technique where attackers plant content (like a review or GitHub comment) that an AI agent mistakenly treats as trusted system data. In tests, this caused web-browsing agents to click the wrong buttons (e.g., “Buy Now”) and coding agents to run…

July 16, 2026
Fake LastPass GitHub Drops Rapuncel Stealer

Fake LastPass GitHub Drops Rapuncel Stealer

Attackers impersonated LastPass on GitHub and tricked people searching for the “LastPass Authenticator download” into installing a fake installer. The infection chain used a Microsoft-signed driver to disable many security tools, then deployed an infostealer that stole passwords, crypto wallets,…

September 23, 2026
Fake Minecraft Sites Keep Spreading WeedHack

Fake Minecraft Sites Keep Spreading WeedHack

Attackers are tricking Minecraft players into downloading malware by cloning legitimate mod/client websites and manipulating search results so the malicious pages appear highly ranked. Even after the malware’s command-and-control systems were disrupted, the fake sites and trusted file-hosting links…

September 8, 2026
AI Agents Tricked Into Installing Malware via llms.txt

AI Agents Tricked Into Installing Malware via llms.txt

Researchers observed AI coding agents inside corporate networks following instructions hidden in websites’ llms.txt files, including installing packages that didn’t exist yet. Attackers (or the researchers demonstrating the risk) could then register those package names and have the agents install…

August 28, 2026
Typosquat RubyGems Stealer Hits Dev Machines

Typosquat RubyGems Stealer Hits Dev Machines

Researchers found 16 look‑alike (typosquatted) RubyGems packages that trick developers into installing a Windows information stealer. The malicious gems run code automatically during installation, pull down additional malware, and then steal browser logins and crypto wallet data before uploading it…

August 18, 2026