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>
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-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