topmenu-gtk

maintainer skylee · 5 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged 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

LOW AI review downgraded a static finding 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)
MEDIUM source=() URL on a non-standard host 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
1# $Id$
2# Maintainer: Marcin Mikołajczak <me@m4sk.in>
3# Contributor: Balló György <ballogyor+arch at gmail dot com>
4# Mingtian Yang <skylee@skylee.xyz>
5
6pkgname=topmenu-gtk
7pkgver=0.3
8pkgrel=1
9pkgdesc="Gtk+ module and Mate/Xfce panel applets for a global menubar"
10arch=('i686' 'x86_64')
11url="https://git.javispedro.com/cgit/topmenu-gtk.git/about/"
12license=('GPL')
13makedepends=('lxpanel' 'mate-panel' 'xfce4-panel')
14optdepends=('gtk2: Module for GTK+ 2'
15 'gtk3: Module for GTK+ 3'
16 'lxpanel: Topmenu Applet for LXPanel'
17 'mate-panel: Topmenu Applet for MATE panel'
18 'xfce4-panel: Topmenu Applet for Xfce4 panel')
19source=("$pkgname-$pkgver.tar.xz::https://git.javispedro.com/cgit/topmenu-gtk.git/snapshot/topmenu-gtk-release_$pkgver.tar.gz"
20 "topmenu.xinit")
21md5sums=('4b9cb7ce0479a0daedce64e9c7640dfd'
22 '9b16242683f36fd2e97c8fad2326782b')
23
24prepare() {
25 cd topmenu-gtk-release_$pkgver
26 autoreconf -fi
27}
28
29build() {
30 # GTK+ 2 version
31 [ -d gtk2 ] || cp -r topmenu-gtk-release_$pkgver gtk2
32 cd gtk2
33 ./configure --prefix=/usr --libexecdir=/usr/lib/$pkgname --disable-mate-applet
34
35 #https://bugzilla.gnome.org/show_bug.cgi?id=656231
36 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
37
38 make
39
40 cd "$srcdir"
41 # GTK+ 3 version
42 [ -d gtk3 ] || cp -r topmenu-gtk-release_$pkgver gtk3
43 cd gtk3
44 ./configure --prefix=/usr --libexecdir=/usr/lib/$pkgname --with-gtk=3 --enable-mate-applet
45
46 #https://bugzilla.gnome.org/show_bug.cgi?id=656231
47 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
48
49 make
50}
51
52package() {
53 cd "$srcdir/gtk2"
54 make DESTDIR="$pkgdir" install
55 cd "$srcdir/gtk3"
56 make DESTDIR="$pkgdir" install
57 install -D "$srcdir/topmenu.xinit" \
58 "$pkgdir/etc/X11/xinit/xinitrc.d/41-topmenu-gtk-module.sh"
59}
60

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 2
2026-07-20 00:19:49 LOW 2
2026-07-19 00:17:08 LOW 2
2026-07-18 00:14:48 LOW 2
2026-07-17 00:06:16 LOW 2
2026-07-16 00:05:41 LOW 2
2026-07-15 00:09:25 LOW 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion