feat(scripts): update AUR malware checker

This commit is contained in:
2026-06-13 15:12:18 +02:00
parent 5a4ff74e26
commit 926f99fd2c
2 changed files with 122 additions and 80 deletions
+108 -68
View File
@@ -30,10 +30,10 @@ android-backup-extractor
android-docs android-docs
android-google-play-apk-expansion android-google-play-apk-expansion
android-google-play-licensing android-google-play-licensing
androidscreencast-bin
android-signapk android-signapk
android-signapk-gui android-signapk-gui
android-support-repository android-support-repository
androidscreencast-bin
annobin annobin
ansible-language-server ansible-language-server
ant-dracula-gtk-theme ant-dracula-gtk-theme
@@ -48,15 +48,18 @@ apm_planner-bin
apothem apothem
apple-music-desktop apple-music-desktop
apwal apwal
aquaria-ose
ar-smileys
arachnophilia
arcadia arcadia
arch-palemoon-search
arch-update-vai
archivemail archivemail
archjh archjh
archlinux-themes-balou archlinux-themes-balou
archlinux-themes-slim archlinux-themes-slim
archmage archmage
arch-palemoon-search
archtex-git archtex-git
arch-update-vai
arduino-git arduino-git
argouml argouml
aria2fe aria2fe
@@ -64,9 +67,9 @@ ariang-allinone
arm-linux-gnueabihf-binutils arm-linux-gnueabihf-binutils
arm-linux-gnueabihf-glibc-headers arm-linux-gnueabihf-glibc-headers
arm-linux-gnueabihf-linux-api-headers arm-linux-gnueabihf-linux-api-headers
ar-smileys
artanis-git artanis-git
ascii-rain-git ascii-rain-git
asciiworld-git
astah-uml astah-uml
astro-editor-appimage astro-editor-appimage
asus-fan-dkms-git asus-fan-dkms-git
@@ -129,19 +132,25 @@ bouml
bpytop-git bpytop-git
bracket bracket
brightness-controller-git brightness-controller-git
brother-hl3150cdw
brother-hll6200dw
brow6el brow6el
brow6el-git brow6el-git
brscan3 brscan3
bsnes-plus-git bsnes-plus-git
burn-cd burn-cd
c++-gtk-utils-gtk2
caelum caelum
camotics
canon-pixma-mg3000-complete-fixed canon-pixma-mg3000-complete-fixed
capt-src capt-src
capture capture
cardano-node
cartridge-cli cartridge-cli
castawesome castawesome
castersoundboard-git castersoundboard-git
cattle cattle
cavestory+-hb
cb2bib cb2bib
ccase-bin ccase-bin
cccc cccc
@@ -149,10 +158,10 @@ ccl-git
ccminer-git ccminer-git
ccsm-gtk3 ccsm-gtk3
cdo cdo
centerim5-git
cerbere-git cerbere-git
cerebro cerebro
cgminer cgminer
c++-gtk-utils-gtk2
cgvg cgvg
charcoal charcoal
chexquest3-wad chexquest3-wad
@@ -162,6 +171,8 @@ chipmunk
chisel chisel
chromeos-apk-git chromeos-apk-git
cinny-desktop-system-tray cinny-desktop-system-tray
cint
cjs-git
clai clai
clamfs clamfs
clang15 clang15
@@ -174,9 +185,11 @@ cmake-modules-webos-git
cmospwd cmospwd
cmuclmtk cmuclmtk
cnijfilter-common cnijfilter-common
cnijfilter-common-mg5400
cnijfilter-ip110 cnijfilter-ip110
cnijfilter-mp550 cnijfilter-mp550
code-git code-git
codeclimate
codeigniter codeigniter
codenomad-bin codenomad-bin
codeql-cli-bin codeql-cli-bin
@@ -186,14 +199,18 @@ colorhug-client
colorsvn colorsvn
colorz colorz
compiler-rt19 compiler-rt19
compizconfig-python
compiz-fusion-plugins-experimental compiz-fusion-plugins-experimental
compiz-fusion-plugins-experimental-git compiz-fusion-plugins-experimental-git
compiz-fusion-plugins-extra compiz-fusion-plugins-extra
compiz-fusion-plugins-extra-git
compizconfig-python
compizconfig-python-git
complexity
connman-ncurses connman-ncurses
connman-ncurses-git connman-ncurses-git
connman-ui-git connman-ui-git
containerd-git containerd-git
contemporary-cursors
controllermap controllermap
coolreader coolreader
coolreader3-git coolreader3-git
@@ -202,10 +219,10 @@ cowdancer
coyim coyim
cpp-netlib cpp-netlib
cppreference-devhelp cppreference-devhelp
cpu-monitor-extension-lxpanel-plugin
cpufreqd cpufreqd
cpuminer-multi cpuminer-multi
cpuminer-multi-git cpuminer-multi-git
cpu-monitor-extension-lxpanel-plugin
cpuset cpuset
craftbukkit-plugin-worldedit craftbukkit-plugin-worldedit
createvm createvm
@@ -229,8 +246,8 @@ cutefish-settings
cutefish-statusbar cutefish-statusbar
cutefish-wallpapers cutefish-wallpapers
cutemarked-git cutemarked-git
cvs2svn
cvs-feature-bin cvs-feature-bin
cvs2svn
cwiid cwiid
cynthiune.app cynthiune.app
d1x-rebirth d1x-rebirth
@@ -286,8 +303,8 @@ dvorak7min
dyad-bin dyad-bin
dynamodb dynamodb
e4rat-lite-git e4rat-lite-git
easymp3gain-qt4-bin
easy_spice easy_spice
easymp3gain-qt4-bin
easytag-git easytag-git
echinus-git echinus-git
echo-icon-theme-git echo-icon-theme-git
@@ -302,9 +319,9 @@ efiboots-git
eisl eisl
electrum-bin electrum-bin
electrum-nmc electrum-nmc
elmerfem
elm-format-bin elm-format-bin
elm-platform elm-platform
elmerfem
emacs-color-theme emacs-color-theme
emacs-d-mode emacs-d-mode
emacs-ess-git emacs-ess-git
@@ -343,9 +360,9 @@ exiftags
exodas exodas
exodis exodis
exodud exodud
exodus-wallet-bin
exoduss exoduss
exoduswallet exoduswallet
exodus-wallet-bin
exodux exodux
exoduz exoduz
exodys exodys
@@ -359,13 +376,13 @@ fastoggenc
fatx fatx
fbctrl fbctrl
fbff-git fbff-git
fcitx5-pinyin-sougou-dict-git
fcitx-baidupinyin fcitx-baidupinyin
fcitx5-pinyin-sougou-dict-git
fengoffice fengoffice
ffdiaporama-texturemate ffdiaporama-texturemate
ffmpeg3.4
ffmpeg-bitrate-stats ffmpeg-bitrate-stats
ffmpeg-quality-metrics ffmpeg-quality-metrics
ffmpeg3.4
fifth fifth
filebot47 filebot47
findpkg-git findpkg-git
@@ -380,8 +397,8 @@ flashfocus
flatcam-git flatcam-git
flexiblas flexiblas
flow flow
flowblade-git
flow-pomodoro flow-pomodoro
flowblade-git
flv2x264 flv2x264
flynarwhal flynarwhal
fmlib fmlib
@@ -431,12 +448,12 @@ gimp-plugin-arrow
gist-git gist-git
gisto gisto
git-annex-standalone git-annex-standalone
gitflow-avh
git-flow-completion-git git-flow-completion-git
git-remote-hg-git
gitflow-avh
gitfs gitfs
gitinspector gitinspector
gitosis-git gitosis-git
git-remote-hg-git
gitso gitso
gitter-bin gitter-bin
gkraken gkraken
@@ -468,8 +485,8 @@ gnome-usage-git
gnome-xcf-thumbnailer gnome-xcf-thumbnailer
gnuplot-git gnuplot-git
gnutls3.8.9 gnutls3.8.9
gogs-git
gog-the-witcher-2-assassins-of-kings gog-the-witcher-2-assassins-of-kings
gogs-git
gohufont-powerline gohufont-powerline
gopenvpn-git gopenvpn-git
gopher2600 gopher2600
@@ -479,34 +496,35 @@ gosh
gpicsync gpicsync
gpshell gpshell
gpx-viewer gpx-viewer
gr-osmosdr-git
graal-bin graal-bin
graveman graveman
greenisland
green-tunnel-bin green-tunnel-bin
greenisland
greetd-wlgreet-git greetd-wlgreet-git
gridmgr-git gridmgr-git
grim-git grim-git
gr-osmosdr-git
grpn grpn
grub4dos
grub-luks-keyfile grub-luks-keyfile
grub4dos
gsettings-desktop-schemas-git gsettings-desktop-schemas-git
gtkimageview
gtksetpwc
gtk-theme-bsm-simple gtk-theme-bsm-simple
gtk-theme-metagrip gtk-theme-metagrip
gtk-theme-windows10-dark gtk-theme-windows10-dark
gtk-vnc-gtk2 gtk-vnc-gtk2
gtkimageview
gtksetpwc
guake-colors-solarized-git guake-colors-solarized-git
guile-git guile-git
guile-reader guile-reader
guile-ssh guile-ssh
guiscrcpy
gummy gummy
gummy-git gummy-git
gxemul gxemul
ha-pacemaker-git
hackmatrix-git hackmatrix-git
halberd halberd
ha-pacemaker-git
hardcode-tray hardcode-tray
harminv harminv
harmony-wad harmony-wad
@@ -514,6 +532,7 @@ haskell-asn1-data
haskell-chart haskell-chart
haskell-failure haskell-failure
haskell-hscurses haskell-hscurses
haskell-hssyck
hattrick_organizer hattrick_organizer
haunt haunt
haxe-git haxe-git
@@ -534,6 +553,7 @@ hop
horst horst
hotlinemiami hotlinemiami
howm-x11-git howm-x11-git
hp-health
hpgcc hpgcc
hpoj hpoj
htdig htdig
@@ -547,8 +567,8 @@ hydrus-git
hypervc-qt4 hypervc-qt4
hypr-git hypr-git
i2c-ch341-dkms i2c-ch341-dkms
i3bar-river
i3-gnome-git i3-gnome-git
i3bar-river
i3lock-fancy-dualmonitors-git i3lock-fancy-dualmonitors-git
ianny-bin ianny-bin
ibc ibc
@@ -565,6 +585,7 @@ ikos
imageglass imageglass
img2djvu-git img2djvu-git
inadyn inadyn
inadyn-mt
indicator-session indicator-session
infinity-background infinity-background
infnoise-openssl-git infnoise-openssl-git
@@ -587,16 +608,18 @@ jasmin
jasp-desktop jasp-desktop
java-berkeleydb java-berkeleydb
java-flexdock java-flexdock
javahelp2
java-qdox java-qdox
javahelp2
jd-gui jd-gui
jdk-openj9-bin
jdk11-openj9-bin jdk11-openj9-bin
jdk17-jetbrains-bin jdk17-jetbrains-bin
jdk8-graalvm-bin jdk8-graalvm-bin
jdk-openj9-bin jetbrains-mps
jflex jflex
jin jin
joxi joxi
joy
joycon-git joycon-git
joymouse joymouse
jreen-git jreen-git
@@ -611,13 +634,18 @@ katrain
kdb kdb
kddockwidgets-git kddockwidgets-git
kdevelop-pg-qt-git kdevelop-pg-qt-git
keep
keepass-fr
keepass-plugin-qualitycolumn
keepassx2 keepassx2
keeperrl-git keeperrl-git
kexi kexi
kicad-library-ab2-git kicad-library-ab2-git
kiconedit kiconedit
kimageformats-git kimageformats-git
kio_gopher
kiss kiss
kmarkdownwebview
kodi-addon-inputstream-adaptive-git kodi-addon-inputstream-adaptive-git
kokua-secondlife kokua-secondlife
kompare-git kompare-git
@@ -729,11 +757,11 @@ linux-cachyos-native-nvidia-open
linux-cachyos-rc-native linux-cachyos-rc-native
linux-cachyos-rc-native-headers linux-cachyos-rc-native-headers
linux-cachyos-rc-native-nvidia-open linux-cachyos-rc-native-nvidia-open
linux_logo_archcustom
linux-manjaro-xanmod linux-manjaro-xanmod
linux-rc linux-rc
linux-tool linux-tool
linux-xanmod-rog linux-xanmod-rog
linux_logo_archcustom
linvst linvst
liri-cmake-shared-git liri-cmake-shared-git
liri-shell-git liri-shell-git
@@ -755,8 +783,8 @@ lure
lv lv
lxdvdrip lxdvdrip
m5rcode m5rcode
machinarium
mac-os-lion-cursors mac-os-lion-cursors
machinarium
madsonic madsonic
magicassistant-gtk magicassistant-gtk
magpie-wm magpie-wm
@@ -772,9 +800,10 @@ mathsat-5
mato-icons-git mato-icons-git
matrixbrandy matrixbrandy
maxima-git maxima-git
mcpatcher mbm-gpsd-pl4nkton-git
mcp-probe
mc-skin-modarin-debian mc-skin-modarin-debian
mcp-probe
mcpatcher
me_cleaner-git me_cleaner-git
menumaker-compiz menumaker-compiz
mermaid-ascii-git mermaid-ascii-git
@@ -827,13 +856,14 @@ movgrab
mp3guessenc mp3guessenc
mpir mpir
mqttfx-bin mqttfx-bin
msieve
ms-office-online ms-office-online
msieve
multimon-ng-git multimon-ng-git
multiwinia multiwinia
mxnet mxnet
mysqltuner-git mysqltuner-git
mythes-cs mythes-cs
n-ninja
n1-translator n1-translator
naemon naemon
naemon-livestatus naemon-livestatus
@@ -879,7 +909,6 @@ nikola-git
nip2 nip2
nixnote2 nixnote2
nixnote2-git nixnote2-git
n-ninja
nocodb nocodb
noctyra-dotfiles-git noctyra-dotfiles-git
noctyra-meta-git noctyra-meta-git
@@ -896,10 +925,10 @@ notify-desktop-git
notion-app-enhanced notion-app-enhanced
nox-bin nox-bin
nrpe nrpe
num-utils
numix-gtk-theme numix-gtk-theme
numix-themes-electric numix-themes-electric
numix-themes-green numix-themes-green
num-utils
nvdock-bumblebee nvdock-bumblebee
nvidia-xrun-git nvidia-xrun-git
nwchem nwchem
@@ -914,18 +943,18 @@ oclint
octave-hg octave-hg
octave-miscellaneous octave-miscellaneous
octocode octocode
oh-my-git
ohcount ohcount
ohcount-git ohcount-git
oh-my-git
olivia-git olivia-git
openav-sorcer-git
open-axiom open-axiom
open-hexagon-git
openav-sorcer-git
opencode-codebase-index-bin opencode-codebase-index-bin
opencorsairlink-git opencorsairlink-git
opendrop opendrop
openhab2 openhab2
openhab3 openhab3
open-hexagon-git
openms openms
openmsx-catapult openmsx-catapult
opennebula opennebula
@@ -1001,13 +1030,13 @@ pharo-bin
phonon-qt4 phonon-qt4
phonon-qt5-vlc phonon-qt5-vlc
php-blackfire php-blackfire
phpdocumentor2
php-geoip php-geoip
php-legacy-memcache php-legacy-memcache
php-memcache php-memcache
php-openswoole-git php-openswoole-git
phpredis-git
php-xdiff php-xdiff
phpdocumentor2
phpredis-git
picom-ftlabs-git picom-ftlabs-git
picpuz picpuz
pidgin-cmds pidgin-cmds
@@ -1053,24 +1082,6 @@ pypi-cli
pypiserver pypiserver
pypy-setuptools pypy-setuptools
pyrescene-git pyrescene-git
python2-appdirs
python2-cffi
python2-chardet
python2-cssselect
python2-ctypes
python2-fusepy
python2-gobject
python2-lazr-uri
python2-mutagen
python2-notify
python2-packaging
python2-paver
python2-pyparsing
python2-simplejson
python2-simpleparse
python2-stomper
python2-twodict-git
python2-xlib
python-affine python-affine
python-apt python-apt
python-argdispatch python-argdispatch
@@ -1087,9 +1098,9 @@ python-cu2qu-git
python-dataproperty python-dataproperty
python-dbapi-compliance python-dbapi-compliance
python-dictobject python-dictobject
python-dj-database-url
python-django-modelcluster python-django-modelcluster
python-django-rest-knox python-django-rest-knox
python-dj-database-url
python-dugong python-dugong
python-epc python-epc
python-fastmcp-slim python-fastmcp-slim
@@ -1151,6 +1162,24 @@ python-uhi
python-uproot python-uproot
python-vector python-vector
python-xtarfile python-xtarfile
python2-appdirs
python2-cffi
python2-chardet
python2-cssselect
python2-ctypes
python2-fusepy
python2-gobject
python2-lazr-uri
python2-mutagen
python2-notify
python2-packaging
python2-paver
python2-pyparsing
python2-simplejson
python2-simpleparse
python2-stomper
python2-twodict-git
python2-xlib
pytomtom pytomtom
pyxplot pyxplot
qbittorrent-enhanced-qt5 qbittorrent-enhanced-qt5
@@ -1180,6 +1209,7 @@ quickswitch-i3
qutepart-git qutepart-git
qv2ray-git qv2ray-git
qwt-qt4 qwt-qt4
r-dbplyr
r2-iaito-git r2-iaito-git
r8101-dkms r8101-dkms
rabbitvcs-cli rabbitvcs-cli
@@ -1192,7 +1222,6 @@ rainbarf-git
rarian rarian
ratox-git ratox-git
rbutil-git rbutil-git
r-dbplyr
rdm-bin rdm-bin
rdup rdup
reactphysics3d reactphysics3d
@@ -1256,8 +1285,8 @@ ruby-sprockets-rails
ruby-thread_safe ruby-thread_safe
ruby-travis ruby-travis
rumor rumor
runescape-launcher
run-mailcap run-mailcap
runescape-launcher
rxvt-unicode-256xresources rxvt-unicode-256xresources
sachesi-bin sachesi-bin
sakura-launcher-gui sakura-launcher-gui
@@ -1280,12 +1309,13 @@ sddm-stellar-theme
sdformat sdformat
seahorse-nautilus seahorse-nautilus
selenium-server-standalone selenium-server-standalone
sentry
sequencer64-git sequencer64-git
sex sex
sfarkxtc sfarkxtc
sfnt2woff sfnt2woff
shadowgrounds
shadow-tech shadow-tech
shadowgrounds
sheeplifter sheeplifter
shellcheck-git shellcheck-git
shellinabox-git shellinabox-git
@@ -1299,8 +1329,8 @@ signald
silver-searcher-git silver-searcher-git
sixfireusb-dkms sixfireusb-dkms
skanlite-git skanlite-git
slime-git
slim-unicode slim-unicode
slime-git
slipnet slipnet
slipnet-bin slipnet-bin
smartsim-git smartsim-git
@@ -1312,6 +1342,7 @@ snapd-git
snis-git snis-git
snowman-git snowman-git
snry-shell-qs snry-shell-qs
so-synth-lv2-git
soapyptezuka soapyptezuka
socnetv socnetv
softethervpn-client-manager softethervpn-client-manager
@@ -1322,7 +1353,6 @@ sonar-icon-theme
sonixd sonixd
sonosano sonosano
sope2 sope2
so-synth-lv2-git
soundpaad-bin soundpaad-bin
soxt soxt
spigot-plugin-essentials spigot-plugin-essentials
@@ -1394,12 +1424,12 @@ toggldesktop
tomighty tomighty
toolsched toolsched
toontown-rewritten toontown-rewritten
tor-messenger-bin
tora tora
torch7-cutorch-git torch7-cutorch-git
torch7-git torch7-git
torch7-image-git torch7-image-git
torch7-trepl-git torch7-trepl-git
tor-messenger-bin
tortoisehg-hg tortoisehg-hg
touchhle touchhle
touchosc-bin touchosc-bin
@@ -1415,7 +1445,6 @@ trytond
tsm tsm
tsocks-tools tsocks-tools
ttcp ttcp
ttf2eot
ttf-consolas-powerline ttf-consolas-powerline
ttf-dejavu-emojiless ttf-dejavu-emojiless
ttf-dejavu-sans-mono-powerline-git ttf-dejavu-sans-mono-powerline-git
@@ -1426,6 +1455,7 @@ ttf-material-design-icons-git
ttf-mutant-emoji ttf-mutant-emoji
ttf-pizzadude-bullets ttf-pizzadude-bullets
ttf-roboto-fontconfig ttf-roboto-fontconfig
ttf2eot
tunacode-cli tunacode-cli
tup-git tup-git
tuxboot-git tuxboot-git
@@ -1446,6 +1476,7 @@ upower-nocritical
urbanbrawl-wad urbanbrawl-wad
urho3d urho3d
urjtag-git urjtag-git
usbmount
vapoursynth-preview-git vapoursynth-preview-git
vbam-git vbam-git
vcp-git vcp-git
@@ -1460,9 +1491,11 @@ vidcutter
video-contact-sheet video-contact-sheet
viennacl viennacl
vim-clang-complete-git vim-clang-complete-git
vim-delimitmate
vim-easymotion vim-easymotion
vim-fortran vim-fortran
vim-gitgutter vim-gitgutter
vim-hexman
vim-indent-object vim-indent-object
vim-lighttpd vim-lighttpd
vim-live-latex-preview vim-live-latex-preview
@@ -1470,6 +1503,8 @@ vim-manpageview
vim-molokai vim-molokai
vim-molokai-git vim-molokai-git
vim-octave vim-octave
vim-omlet
vim-pandoc-syntax-git
vim-pathogen-git vim-pathogen-git
vim-perl-support vim-perl-support
vim-pythonhelper vim-pythonhelper
@@ -1490,17 +1525,18 @@ vuze-extreme-mod
vuze-plugin-countrylocator vuze-plugin-countrylocator
vuze-plugin-mldht vuze-plugin-mldht
wallpaper-generator-next wallpaper-generator-next
wally
watchman watchman
watsup watsup
wavbreaker wavbreaker
wayland-static wayland-static
wcalc wcalc
wds wds
we-layerd-git
webilder-gtk-patched webilder-gtk-patched
webui-aria2-git webui-aria2-git
wechat-devtools wechat-devtools
weex weex
we-layerd-git
wemux-git wemux-git
wesnoth-git wesnoth-git
whatsie-git whatsie-git
@@ -1510,11 +1546,13 @@ whitebox
whysynth whysynth
windowmaker-git windowmaker-git
windows2usb-git windows2usb-git
wineasio-git
wine-nine wine-nine
wineasio-git
wings2
wire-desktop wire-desktop
wiringpi-git wiringpi-git
wlroots-nvidia wlroots-nvidia
wmtop
word-snatchers-cli word-snatchers-cli
workbench workbench
workbuddy-bin workbuddy-bin
@@ -1529,6 +1567,7 @@ xapian-omega
xarchiver-assume-name xarchiver-assume-name
xcursor-gt3 xcursor-gt3
xerox-phaser-6000-6010 xerox-phaser-6000-6010
xevdevserver
xf86-input-cmt xf86-input-cmt
xf86-input-joystick xf86-input-joystick
xf86-input-mtrack xf86-input-mtrack
@@ -1557,6 +1596,7 @@ yofrankie
yokadi yokadi
yt6801-dkms yt6801-dkms
yy yy
z-push
zafiro-icon-theme zafiro-icon-theme
zaproxy-weekly zaproxy-weekly
zathura-gruvbox-git zathura-gruvbox-git
@@ -1574,6 +1614,6 @@ zing-17-bin
zing-21-bin zing-21-bin
zing-8-bin zing-8-bin
zinnia-python zinnia-python
z-push
zrythm-git zrythm-git
zsdx zsdx
zxtune-git
+14 -12
View File
@@ -8,12 +8,12 @@ set -uo pipefail
# accounts. The live package list URL below is the working list linked from that # accounts. The live package list URL below is the working list linked from that
# thread. # thread.
# #
# Reports around this wave included unexpected npm payload paths and indicators # Reports around this wave included unexpected npm and bun package installation,
# such as atomic-lockfile and tdatasnap, with TelegramDesktop/tdata mentioned as # malicious package names such as atomic-lockfile, lockfile-js, and js-digest,
# a possible data theft target. The script checks installed foreign packages, # and TelegramDesktop/tdata as a possible data theft target. The script checks
# pacman history, AUR helper caches, and those payload indicators. Keep # installed foreign packages, pacman history, AUR helper caches, and those
# check-aur-malware.packages next to this script as a bundled fallback because # payload indicators. Keep check-aur-malware.packages next to this script as a
# the live HedgeDoc note may move or disappear. # bundled fallback because the live HedgeDoc note may move or disappear.
# #
# Sources: # Sources:
# - Arch AUR report thread: https://lists.archlinux.org/archives/list/aur-general%40lists.archlinux.org/thread/FGXPCB3ZVCJIV7FX323SBAX2JHYB7ZS4/ # - Arch AUR report thread: https://lists.archlinux.org/archives/list/aur-general%40lists.archlinux.org/thread/FGXPCB3ZVCJIV7FX323SBAX2JHYB7ZS4/
@@ -31,6 +31,8 @@ script_dir="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd -P)"
bundled_list="${script_dir}/check-aur-malware.packages" bundled_list="${script_dir}/check-aur-malware.packages"
cache_dir="${XDG_CACHE_HOME:-${HOME:-}/.cache}/aur-malware-check" cache_dir="${XDG_CACHE_HOME:-${HOME:-}/.cache}/aur-malware-check"
cached_list="${cache_dir}/package-list.txt" cached_list="${cache_dir}/package-list.txt"
payload_pattern='atomic-lockfile|lockfile-js|js-digest|tdatasnap|TelegramDesktop|TelegramDesktop/tdata'
package_manager_install_pattern='npm[[:space:]]+install|bun[[:space:]]+add'
usage() { usage() {
cat <<'USAGE' cat <<'USAGE'
@@ -347,8 +349,8 @@ for base in "${cache_dir_bases[@]}"; do
done done
if [[ -s "${packaging_files}" ]]; then if [[ -s "${packaging_files}" ]]; then
xargs -0 grep -HnEi 'atomic-lockfile|tdatasnap|TelegramDesktop|TelegramDesktop/tdata' < "${packaging_files}" 2>/dev/null >> "${packaging_specific}" || true xargs -0 grep -HnEi "${payload_pattern}" < "${packaging_files}" 2>/dev/null >> "${packaging_specific}" || true
xargs -0 grep -HnE 'npm[[:space:]]+install' < "${packaging_files}" 2>/dev/null >> "${packaging_npm}" || true xargs -0 grep -HnE "${package_manager_install_pattern}" < "${packaging_files}" 2>/dev/null >> "${packaging_npm}" || true
fi fi
awk 'NR == FNR { bad[$1] = 1; next } bad[$1] { print }' "${bad_list}" "${cache_dirs}" > "${cache_matches_raw}" awk 'NR == FNR { bad[$1] = 1; next } bad[$1] { print }' "${bad_list}" "${cache_dirs}" > "${cache_matches_raw}"
@@ -369,7 +371,7 @@ find_bases=(
for base in "${find_bases[@]}"; do for base in "${find_bases[@]}"; do
[[ -n "${base}" && -d "${base}" ]] || continue [[ -n "${base}" && -d "${base}" ]] || continue
find "${base}" \( -iname '*atomic-lockfile*' -o -iname '*tdatasnap*' \) -print 2>/dev/null >> "${file_indicators}" find "${base}" \( -iname '*atomic-lockfile*' -o -iname '*lockfile-js*' -o -iname '*js-digest*' -o -iname '*tdatasnap*' \) -print 2>/dev/null >> "${file_indicators}"
done done
persistence_bases=( persistence_bases=(
@@ -380,10 +382,10 @@ persistence_bases=(
for base in "${persistence_bases[@]}"; do for base in "${persistence_bases[@]}"; do
[[ -n "${base}" && -d "${base}" ]] || continue [[ -n "${base}" && -d "${base}" ]] || continue
grep -RInEi 'atomic-lockfile|tdatasnap|TelegramDesktop/tdata' "${base}" 2>/dev/null >> "${persistence_indicators}" || true grep -RInEi "${payload_pattern}" "${base}" 2>/dev/null >> "${persistence_indicators}" || true
done done
pgrep -af 'atomic-lockfile|tdatasnap|TelegramDesktop/tdata' > "${process_indicators}" 2>/dev/null || true pgrep -af "${payload_pattern}" > "${process_indicators}" 2>/dev/null || true
mark_high "${foreign_matches}" mark_high "${foreign_matches}"
mark_high "${known_foreign_matches}" mark_high "${known_foreign_matches}"
@@ -418,7 +420,7 @@ show_result REVIEW "local pacman -U command history matched the AUR list" "${pac
show_result FOUND "recent local pacman -U command history matched the AUR list" "${recent_pacman_u_matches}" "no recent local pacman -U command history matched the AUR list" show_result FOUND "recent local pacman -U command history matched the AUR list" "${recent_pacman_u_matches}" "no recent local pacman -U command history matched the AUR list"
show_result REVIEW "AUR helper cache directories matched the AUR list" "${cache_matches}" "no AUR helper cache directories matched the AUR list" show_result REVIEW "AUR helper cache directories matched the AUR list" "${cache_matches}" "no AUR helper cache directories matched the AUR list"
show_result FOUND "specific payload indicators were found in packaging files" "${packaging_specific}" "no specific payload indicators were found in packaging files" show_result FOUND "specific payload indicators were found in packaging files" "${packaging_specific}" "no specific payload indicators were found in packaging files"
show_result REVIEW "npm install was found in packaging files" "${packaging_npm}" "no npm install lines were found in packaging files" show_result REVIEW "npm or bun package installation was found in packaging files" "${packaging_npm}" "no npm or bun package installation lines were found in packaging files"
show_result FOUND "payload indicator file names were found" "${file_indicators}" "no payload indicator file names were found" show_result FOUND "payload indicator file names were found" "${file_indicators}" "no payload indicator file names were found"
show_result FOUND "payload indicators were found in persistence locations" "${persistence_indicators}" "no payload indicators were found in persistence locations" show_result FOUND "payload indicators were found in persistence locations" "${persistence_indicators}" "no payload indicators were found in persistence locations"
show_result FOUND "payload indicators were found in running processes" "${process_indicators}" "no payload indicators were found in running processes" show_result FOUND "payload indicators were found in running processes" "${process_indicators}" "no payload indicators were found in running processes"