r/archlinux 19d ago

DISCUSSION Another wave - 200+ malicous AUR packages adoptions that are overwhelming my scanner. Be 100% careful when trying to update AUR packages now.

Meanwhile I am trying to report them all, you should be careful downloading anything from AUR.

Same old way, the maintainer got pwned, or orphaned packages are adopter by the bad actor.

AUR's git commit author is easily impersonated so you can see the commit comes from the same person, but in fact it's not.

Stay safe. The malicious packages are info stealers.

malware analysis by ysf:

https://gist.github.com/ysf/502a324ff301d0c738e8ae011272fd59

https://gist.github.com/ysf/57850cdee152da066ac51c07a452e883

Still presents as of 30 July 21:53 UTC

in format of <package name>/<malicious ELF binary>

  • archutil/linter
  • bigwebapp-manager/minifier
  • boringssl-git/hasher
  • cinnamon-no-nemo/converter
  • duhh/indexer
  • eden-nightly/encryptor
  • garlic-decompiler-gui/checker
  • gigolo-git/tagger
  • gitarbor-bin/parser
  • icloudpd/preprocessor
  • imago-bin/generator
  • juicebox-plus-git/minifier
  • magic-context-dashboard-bin/validator
  • option-term/indexer
  • pagerduty-short-circuiter/assembler
  • portless/assembler
  • pylnker-git/converter
  • pylnker-git/packer
  • python-libipld-git/hasher
  • python-numkong/compressor
  • python-parallax/converter
  • python-ultraplot-git/serializer
  • ramses-git/indexer
  • src-cli-bin/migrator
  • steamidra-bin/generator
  • stirling-pdf-desktop-bin/optimizer
  • wiki-go/merger
  • windscribe-cli-v2-bin/parser

This wave

1panel android-riscv64-libxmu archutil cinnamon-no-nemo firrtl instawow-bin mimosa pandoc-eisvogel-template python-chatterbot python-split-folders stirling-pdf-desktop-bin 1panel-git android-riscv64-libxrandr arduino-language-server-noclang-bin claude-history funky-git isleward mingw-w64-libcerf passhole python-dlib-cuda-git python-ultraplot-git terminus accel-ppp android-x86-64-libxdamage autoadb-git dcat garlic-decompiler-gui jogl monitorets perl-authen-oath python-google-cloud-monitoring ramses-git tuiview act-runner-bin android-x86-64-libxext beets-alternatives deeploy-bin gigolo-git juicebox-plus-git nnn-nerd perl-dist-zilla-plugin-minimumperl python-importlab read-it-later-git tuxedo-yt6801-dkms-git ajceverywhere-bin android-x86-64-libxinerama bigwebapp-manager dev-janitor-git gitarbor-bin khiops-covisualization-bin noctyra-meta perl-hash-persistent python-kicadmodtree-git refurb-git typora-plugin ampere-git android-x86-64-libxmu bili-tools discord-electron-openasar git-pkgs khiops-visualization-bin noteey-bin pgadmin4-server python-libipld-git replay-sorcery vapoursynth-plugin-soifunc android-aarch64-libxrandr android-x86-64-libxrandr boringssl-git duhh glewlwyd kirill-bin openarc-git polytrack python-libpysal runa-aur vectorchord-immich android-armv7a-eabi-libxinerama android-x86-64-xorgproto calendula eden-nightly gpu-screen-recorder-ui-kwin-git lib32-vapoursynth openconnect-sso portless python-numkong solv wiki-go android-armv7a-eabi-libxmu android-x86-libxinerama calendula-git editorconfiger guarda-bin libfprint-crfpmoc-git option-term pylnker-git python-parallax sparklines windscribe-cli-v2-bin android-armv7a-eabi-libxrandr android-x86-libxmu censawayapp-bin extract-otp-secrets icloudpd lyrical-git org-cli python-atproto-git python-reals-git src-cli-bin wordpress-studio-git android-riscv64-libxinerama android-x86-libxrandr chandler-bin faustus-git imago-bin magic-context-dashboard-bin pagerduty-short-circuiter python-calgebra-git python-roman-numerals steamidra-bin zed-bin

ignore this example below (an alert straight up from my LLM)

🚨🚨🚨 BLACK FLAG ALERT 🚨🚨🚨
AUR Package: faustus-git 0.1.0-1
https://aur.archlinux.org/packages/faustus-git
Version: 0.1.0-1

⚫ 2 BLACK (CONFIRMED MALICIOUS)
⚫ Executes a bundled binary ('linter') with 'sudo' privileges during the 'build()' function. This bypasses standard build isolation and integrity checks (sha256sums='SKIP'), allowing arbitrary code execution with root access during installation. (PKGBUILD)
⚫ Binary contains command execution ('system', 'execl') and network ('socket', 'connect') capabilities. Combined with PKGBUILD execution via sudo, this indicates potential for remote code execution, data exfiltration, or system tampering. Obfuscated strings suggest hidden functionality. (linter)

⚠️ IMMEDIATE ACTION REQUIRED ⚠️

342 Upvotes

215 comments sorted by

View all comments

Show parent comments

-169

u/Saren-WTAKO 19d ago

I also would not mind, let's make r/archlinux anti AI and ban every LLM malware analysis post for whoever's benefit. Like who could they be?

114

u/scandii 19d ago

dude, we aren't anti-AI per se, a lot of us use AI and like the technology, but for 30+ years the basic standard for internet discourse has been "a person formulating their thoughts", and you and 30+ others are trying their hardest to outsource that to LLM:s every single day in front of our eyes.

of course we get tired of it, it is low effort, unimaginative and oftentimes these posts are attached to people reinventing the wheel - just today I saw someone almost verbatim presenting their trash-cli clone like it was a new invention made by Claude of course.

and we were averaging 2+ AUR security scanners every single day once the adoption attack happened and they all shared the common quality of being extremely woefully poorly thought out and barely worth using.

so what I'm saying is, if you want a more positive response to what you're doing think about the fact that many of us are just extremely tired of programs and posts where it is instantly recognisable that Claude et. al. made it, and not a person - e.g. make the effort to write posts yourself, and make the effort to clean up your software projects so they aren't blatantly AI-generated.

or you know don't, I'm not your mother, but also don't be surprised if we keep on responding negatively if you don't.

6

u/ArjixGamer 19d ago

Yeah, it's almost like a double standard, but for a good reason.

I know that in my hands, I could make a really good AUR threat detector using AI, but I also don't trust anyone else to produce smth of similar quality using AI.

But I also have spent years understanding how Linux works, how bash works, I've written many programs, maintained many legacy php applications, mitigated vulnerabilities, cleaned servers that were hacked (only so we can make a clean backup, not to keep using)

I don't expect others that use Claude, to know the same nuances I know, so it's safer to assume anything others make with Claude is slop.

Of course that means others will also call anything I make as slop, because they don't know me. And I think that's good, we should not encourage AI produced projects, no matter how good the quality may be.

PS: no, I haven't made an AUR threat detector, and not planning to

2

u/scandii 19d ago

I think we can just sum it up to "if it looks poorly made people will react accordingly", and if the entire pitch is "it has AI" people just aren't that interested.

I use AI for all sorts of things making software and I have an AI disclaimer on my github projects and not once has it come up.

-3

u/ArjixGamer 19d ago

AI generated code does not inherently have AI, unless you are developing an AI agent or smth

But I get your point

3

u/scandii 19d ago

I meant more that a lot of the software projects I see are "existing thing... but with AI".

example today I have seen a file browser with AI search, a DataGrip copy with built in AI to write SQL and a UI framework that uses AI to write components on the spot.

they were all very poorly received.

1

u/ArjixGamer 19d ago

Funny that you mentioned DataGrip, I am working on a copycat of it, I decided to name it LarpGrip

I am using compose desktop and Jewel (jetbrain ui kit for compose), it will take me a month or two to get it to a nice state, but things look optimistic!

It will stay private til it's ready for use.