Malicious apps got into the Arch User Repository – how to protect yourself


arch-linux

Elyse Betters Picaro/ZDNET

Follow ZDNET: Add us as a preferred source on Google.


ZDNET’s key takeaways

  • The Arch User Repository was found to contain malicious apps.
  • Twice in a week’s span was this discovered.
  • Users are warned to be vigilant, but there are other, easier ways.

Researchers at software supply chain management company Sonatype found that the Arch User Repository contained about 1,500 malicious packages, the company said in a blog post updated June 12.

“We continue to encourage all users of AUR packages to review all PKGBUILD 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,” The Arch team said in a brief statement.

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.

Also: Archcraft is a solid, super fast distro for anyone ready to move beyond beginner Linux

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’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.

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.

You can see where this is going, right?

Imagine you’re one of those volunteer Trusted Users charged with checking every app that is submitted to a repository. Now, imagine you’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’t have time to dig through every line of your code. The Trusted User does a quick scan of your code and doesn’t see the obfuscation.

Blamo! You’ve just added a malicious app to the AUR.

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’t going to be able to trust the AUR. There have been no reports on what these malicious apps do, nor who submitted them.

Also: I’ve used Linux for 30 years – 4 frustrations remain, including 2 that push me back to MacOS

In the meantime, I have a few recommendations for Arch users.

Uninstall, uninstall, uninstall

First, you need to uninstall anything you’ve installed from the AUR, and hope that it’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’s no telling the damage it could have or did do to your system(s).

Fortunately, to remove the package, you can use pacman like so:

sudo pacman -R PACKAGENAME

Where PACKAGENAME is the package to be removed.

Once you’ve done that, check to ensure the package has been removed with the command:

pacman -Q

The above command will list every package installed on your system. 

Stop using the AUR

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.

After you’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’t recognize, look it up. If it’s unknown or known to be related to malicious code, either block the outgoing traffic or reinstall your OS. 

Do not take any chances.

Adopt a universal package manager

In place of the AUR, install Flatpak and install apps from there. With Flatpak, you’ll have tons of applications to install, so you won’t miss the AUR nearly as much as you think. You can install Flatpak with the command:

sudo pacman -S flatpak

After installation, add the Flathub repository with:

flatpak remote-add –if-not-exists –user flathub https://dl.flathub.org/repo/flathub.flatpakrepo

You can then install anything you need, like so:

flatpak install PACKAGENAME

Where PACKAGENAME is the name of a package found on Flathub. You’ll find that there are apps on Flathub that weren’t available in the AUR (even proprietary apps like Spotify and Slack).

Also: After 30 years with Linux, I gave Windows 11 a chance – and found 9 clear problems

It’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’ve never been one to depend on the AUR (in fact, I rarely use it), so this doesn’t affect me nearly as much as it might affect those who do.

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. 

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.

Even this Reddit thread 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… You can’t.





Source link

Leave a Reply

Subscribe to Our Newsletter

Get our latest articles delivered straight to your inbox. No spam, we promise.

Recent Reviews


Pixar is the champion of animation, but not all of their movies have had the chance to shine. For 40 years, the studio has brought families together across 30 movies. Certain movies never enter the discussion of being among the studios’ best — they were overshadowed by other films, or they went direct-to-streaming on Disney+.

In honor of the 40th anniversary, here are four Pixar movies that are worth reevaluating in 2026.

Toy Story 4

A surprisingly strong sequel

In 2010, Toy Story 3 brought Pixar’s debut franchise to an emotional close, as Woody (Tom Hanks), Buzz (Tim Allen), and the gang said farewell to Andy, preparing for a new life with Bonnie (Madeleine McGraw). After bringing their genre-defining animated trilogy to a fitting conclusion, I was doubtful that any follow-up could ever live up to the trilogy’s legacy. However, I was pleasantly surprised when I finally found the time to watch Toy Story 4.

As the gang of toys and Bonnie embark on a trip, Woody sets out to help the handcrafted toy Forky (Tony Hale) while also reuniting with Bo Peep (Annie Potts), who has become a rescuer of stray toys. As expected, Pixar’s animation remains ever-impressive, but Toy Story 4 manages to recapture the charm of the original 3 movies and offer a surprisingly fitting epilogue to Woody’s story in particular. Even with a new installment on the horizon, the emotion behind Toy Story 4‘s major status quo change for the gang ensures that the movie will be able to stand on its own merits for many years to come.

Turning Red

A stylistic reinvention

2022’s Turning Red saw Pixar take another crack at a coming-of-age story. The young Mei (Rosalie Chiang) clashes with her mother, Ming Lee (Sandra Oh), leading to her learning that she inherited the power to turn into a gigantic red panda in moments of heightened emotion. With her favorite boy band in town, Mei and her friends plan to use these gifts to attend the concert. As the concert draws nearer, however, Mei continues to clash with her mother, building to a generational showdown to heal her family’s curse.

Amazon Fire TV Stick 4K Max

Integrations

Alexa

Storage

16GB


When compared to what came before, Turning Red is a drastic stylistic departure from Pixar’s filmography. Mei’s story is told in a more informal manner when compared to other features, as Mei breaks the fourth wall and is incredibly expressive when compared to how past features tiptoed the line between cartoon and realism. However, this stylistic decision gives Turning Red a unique charm while making its story feel all the more personal and emotional, as we are given a clearer insight into Mei’s state than any other Pixar protagonist that has come before.​​​​​​​

Monsters University

Expanding a universe

While Toy Story had proven that Pixar could create successful sequels, expanding on a movie was still a rare move for the studio in the early 2010s, with said franchise and Cars being an exception. As such, Monsters University had a lot of pressure placed upon its shoulders when it released. Set several years before the events of Monsters Inc, the prequel explores how Mike (Billy Crystal) and Sully (John Goodman) went from fierce rivals to the firmest of friends during their time at the titular scaring school.

Blending the setting and cast of Monsters Inc. with a teen college movie was an ideal choice to expand the world of this Pixar movie, as most of the charm found in Monstropolis comes from how it drastically imagined elements of our own world in its monstrous lens. Furthermore, it is interesting to see that Sully and Mike began as rivals, and Mike’s arc focusing on his struggle to be a scarer does add layers to where his journey ends in the original movie. As such, Monsters University is a worthy prologue to one of Pixar’s most enduring franchises.​​​​​​​

Soul

A deeper tale with age

Pixar is unafraid to tackle deeper and more mature subjects. However, I feel Soul stands as one of their most ambitious explorations yet. On the verge of fulfilling his dream, Joe (Jamie Foxx) is caught in a near-death experience, leading to him becoming a disembodied soul in the “Great Before.” When his soul is tasked to guide the reluctant 22 (Tina Fey) into finding the passion that will drive her during her time on Earth, Joe is taken on a journey to not only return to his body but also reconsider what drives him and what is important in life.

For a studio that has prided itself on packaging deeper themes into a family-friendly package, Soul easily stands as a movie that feels targeted for its older viewers. Children may be inspired to take joy in everything life can offer through 22’s journey, but Joe’s story is particularly relatable to those who have had to grapple with their passions being lost or an unpredictable turn in life putting a stop to a dream, and watching him regain that through his experiences with 22 is incredibly emotional. While it may not have had a chance to shine at the box office, Soul will stand as a fondly remembered Pixar classic. Hopefully, new viewers and young fans can begin to see the movie through different perspectives as they face their own trials.​​​​​​​


Subscription with ads

Yes, the Disney Basic plan

Simultaneous streams

Up to 4

Live TV

No

Price

Starting at $10/month

Family favorites, old classics, and exciting new TV all in one place.




Source link