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-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |