topmenu-gtk
The source is a tarball from the project's own Git repository hosted at a non-whitelisted domain, but it is the official project source being built; the worst case of a swapped source would be a compromised build, but this is standard AUR packaging practice and not inherently malicious.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a tarball from the project's own Git repository hosted at a non-whitelisted domain, but it is the official project source being built; the worst case of a swapped source would be a compromised build, but this is standard AUR packaging practice and not inherently malicious.
1 higher static finding superseded - not the current verdict (shown for transparency)
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:19
source=("$pkgname-$pkgver.tar.xz::https://git.javispedro.com/cgit/topmenu-gtk.git/snapshot/topmenu-gtk-release_$pkgver.tar.gz"
PKGBUILD
1 offending line(s) highlighted# $Id$
# Maintainer: Marcin Mikołajczak <me@m4sk.in>
# Contributor: Balló György <ballogyor+arch at gmail dot com>
# Mingtian Yang <skylee@skylee.xyz>
pkgname=topmenu-gtk
pkgver=0.3
pkgrel=1
pkgdesc="Gtk+ module and Mate/Xfce panel applets for a global menubar"
arch=('i686' 'x86_64')
url="https://git.javispedro.com/cgit/topmenu-gtk.git/about/"
license=('GPL')
makedepends=('lxpanel' 'mate-panel' 'xfce4-panel')
optdepends=('gtk2: Module for GTK+ 2'
'gtk3: Module for GTK+ 3'
'lxpanel: Topmenu Applet for LXPanel'
'mate-panel: Topmenu Applet for MATE panel'
'xfce4-panel: Topmenu Applet for Xfce4 panel')
source=("$pkgname-$pkgver.tar.xz::https://git.javispedro.com/cgit/topmenu-gtk.git/snapshot/topmenu-gtk-release_$pkgver.tar.gz"
"topmenu.xinit")
md5sums=('4b9cb7ce0479a0daedce64e9c7640dfd'
'9b16242683f36fd2e97c8fad2326782b')
prepare() {
cd topmenu-gtk-release_$pkgver
autoreconf -fi
}
build() {
# GTK+ 2 version
[ -d gtk2 ] || cp -r topmenu-gtk-release_$pkgver gtk2
cd gtk2
./configure --prefix=/usr --libexecdir=/usr/lib/$pkgname --disable-mate-applet
#https://bugzilla.gnome.org/show_bug.cgi?id=656231
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
cd "$srcdir"
# GTK+ 3 version
[ -d gtk3 ] || cp -r topmenu-gtk-release_$pkgver gtk3
cd gtk3
./configure --prefix=/usr --libexecdir=/usr/lib/$pkgname --with-gtk=3 --enable-mate-applet
#https://bugzilla.gnome.org/show_bug.cgi?id=656231
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
cd "$srcdir/gtk2"
make DESTDIR="$pkgdir" install
cd "$srcdir/gtk3"
make DESTDIR="$pkgdir" install
install -D "$srcdir/topmenu.xinit" \
"$pkgdir/etc/X11/xinit/xinitrc.d/41-topmenu-gtk-module.sh"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |