this post was submitted on 12 Jun 2026
173 points (98.9% liked)

Linux

65723 readers
668 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS
 

Arch Linux’s AUR is experiencing a malware incident involving user-contributed packages with malicious commits that attempt to download npm-based payloads during installation. (...)

Arch users should not update AUR packages without review. Examine PKGBUILD diffs, check any new .install files, and be cautious if updates introduce npm commands or dependencies unrelated to the software.

Users who recently updated affected AUR packages should review package history, examine executed suspicious install scripts, and treat any unexpected npm-based installation behavior as a possible compromise.

you are viewing a single comment's thread
view the rest of the comments
[–] mactan@lemmy.ml 26 points 16 hours ago* (last edited 15 hours ago) (1 children)

To potentially prevent this entire class of npm attacks in the future, you could edit /etc/pacman.conf, uncomment

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =

And set it to IgnorePkg = npm

Your system should prompt you to accept installing npm because it's in the ignore list. These packages set it as a dependency, so that gives you a chance to notice that something's off and refuse the install. This assumes you don't already have npm installed or need it for some reason.

https://lists.archlinux.org/archives/list/aur-general@lists.archlinux.org/thread/FGXPCB3ZVCJIV7FX323SBAX2JHYB7ZS4/

edit: word is that bun command is being abused as well and may be worthwhile including in the space separated list:

IgnorePkg = npm bun

[–] HaraldvonBlauzahn@feddit.org 1 points 11 minutes ago* (last edited 10 minutes ago)

I want to call to your attention this article by Marcus Ranum on " The six dumbest ideas in computer security" and within it, the section #2 on "enumerating badness".

This is what you try here.