gtkhalt

LOW
maintainer kostyalamer 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The source is a tarball from a non-whitelisted but plausibly project-related host, used to build the software from source; the package does not execute untrusted prebuilt binaries or remote code, and the worst case of a swapped source would be limited to code execution within the build context, which is typical for AUR packages.

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 90%): The source is a tarball from a non-whitelisted but plausibly project-related host, used to build the software from source; the package does not execute untrusted prebuilt binaries or remote code, and the worst case of a swapped source would be limited to code execution within the build context, which is typical for AUR packages.

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:20 source=("http://altlinuxclub.ru/arhiv/${pkgname}-${pkgver}.tar.gz")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Konstantin Kogan <kostyalamer@yandex.ru>
2# Contributor: Konstantin Kogan <kostyalamer@yandex.ru>
3pkgname=gtkhalt
4pkgver=0.7
5pkgrel=1
6pkgdesc="Applet for halt,reboot,logout and lockscreen"
7arch=('x86_64')
8url="http://forum.russ2.com/index.php?showforum=124"
9license=('GPL')
10makedepends=(
11 'gtk2'
12 'glib2'
13 'glibc'
14)
15depends=(
16 'gtk2'
17 'i3lock'
18)
19
20source=("http://altlinuxclub.ru/arhiv/${pkgname}-${pkgver}.tar.gz")
21md5sums=('e69083ec7a8a10456ea2afadc6d61ab7')
22
23
24build() {
25
26cd "$srcdir/$pkgname-$pkgver"
27./configure
28make VERSION=$pkgver DESTDIR="$pkgdir" PREFIX2=/usr
29make
30cat > $pkgname.desktop <<@@@
31[Desktop Entry]
32Type=Application
33Name=GtkHalt
34GenericName= Applet
35GenericName[ru]= Апплет
36Comment=Applet for halt, reboot and screenlock
37Exec=gtkhalt
38Categories=System;
39StartupNotify=false
40Terminal=false
41@@@
42
43cat > $pkgname <<@@@
44#!/bin/bash
45# -*- coding: utf-8 -*-
46cd /usr/lib/gtkhalt/
47/usr/lib/gtkhalt/gtkhalt
48@@@
49
50}
51
52package() {
53
54cd "$srcdir/$pkgname-$pkgver"
55mkdir -p $pkgdir/usr/lib/$pkgname/Data
56cp -R src/Data $pkgdir/usr/lib/$pkgname/
57install -pDm755 src/$pkgname $pkgdir/usr/lib/$pkgname/$pkgname
58install -pDm755 src/Data/logout.sh $pkgdir/usr/bin/logout_de
59install -pDm755 $pkgname $pkgdir/usr/bin/$pkgname
60install -D $pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
61
62}
63
64

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion