topmenu-gtk

LOW
maintainer skylee 5 votes scanned 2026-11-01 00:21:48.120785
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-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

Report a package

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

0 / 4000
Your suggestion