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