thruk

LOW
maintainer andreas_baumann 1 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The source is a tarball from the project's official domain (thruk.org), which is plausibly the project's own release infrastructure; building from source is normal AUR packaging, and the host, while not whitelisted, is project-specific and not a generic file-sharing service.

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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a tarball from the project's official domain (thruk.org), which is plausibly the project's own release infrastructure; building from source is normal AUR packaging, and the host, while not whitelisted, is project-specific and not a generic file-sharing service.

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:23 source=(http://download.thruk.org/pkg/v$pkgver/src/$pkgname-$pkgver.tar.gz)

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Jonathan Steel <jsteel at archlinux.org>
2# Maintainer: Andreas Baumann <mail at andreasbaumann dot cc>
3
4pkgname=thruk
5pkgver=3.30
6pkgrel=1
7pkgdesc="Multibackend monitoring webinterface for Naemon, Nagios, Icinga and Shinken"
8arch=('any')
9url="http://thruk.org"
10license=('GPL2')
11depends=('perl' 'apache' 'mod_fcgid' 'perl-plack' 'perl-json-xs'
12 'perl-date-calc' 'perl-file-slurp' 'perl-log-log4perl'
13 'perl-log-dispatch' 'perl-fcgi' 'perl-uri' 'perl-html-parser'
14 'perl-template-toolkit' 'perl-mime-lite' 'perl-gd'
15 'perl-lwp-protocol-https' 'perl-cpanel-json-xs'
16 'perl-crypt-rijndael' 'perl-module-install')
17conflicts=('naemon-thruk')
18replaces=('naemon-thruk')
19backup=('etc/thruk/cgi.cfg' 'etc/thruk/htpasswd'
20 'etc/thruk/log4perl.conf' 'etc/thruk/menu_local.conf'
21 'etc/thruk/naglint.conf' 'etc/httpd/conf/extra/thruk.conf'
22 'etc/thruk/thruk_local.conf' 'etc/logrotate.d/thruk-base')
23source=(http://download.thruk.org/pkg/v$pkgver/src/$pkgname-$pkgver.tar.gz)
24md5sums=('443436725fc9ea4611cd60739c425ab9')
25install="thruk.install"
26
27build() {
28 cd $pkgname-$pkgver
29
30 # ArchlinuxARM and other distros might not be recognized
31 sed -i 's/\(die(sprintf("Unable to detect distribution and version\)/#\1/g' configure
32
33 ./configure --prefix=/usr \
34 --exec-prefix=/bin \
35 --bindir=/usr/bin \
36 --sysconfdir=/etc/thruk \
37 --localstatedir=/var/lib/thruk \
38 --libdir=/var/lib \
39 --datadir=/usr/share/thruk \
40 --mandir=/usr/share/man \
41 --with-initdir=/etc/thruk \
42 --with-logdir=/var/log/thruk \
43 --with-checkresultdir=/var/cache/naemon/checkresults \
44 --with-tempdir=/var/lib/thruk \
45 --with-logrotatedir=/etc/logrotate.d
46
47 make
48}
49
50package() {
51 cd $pkgname-$pkgver
52
53 make DESTDIR="$pkgdir"/ install
54
55 install -Dm644 support/apache_fcgid.conf "$pkgdir"/etc/httpd/conf/extra/$pkgname.conf
56 install -dm755 "$pkgdir"/etc/thruk/panorama
57
58 chown -R 33:33 "$pkgdir"/var/{lib,log}/thruk/ "$pkgdir"/etc/thruk/panorama/
59 chmod 770 "$pkgdir"/var/lib/thruk/
60
61 # Exclude /var/lib/thruk as logrotate doesn't like the permissions there
62 # and there are no logs
63 sed -i 's_^/.* _/var/log/thruk/*.log _' "$pkgdir"/etc/logrotate.d/thruk-base
64 # Set log owner to http rather than build user
65 sed -i 's/644.*/644 http http/' "$pkgdir"/etc/logrotate.d/thruk-base
66}
67

Changes since previous scan

--- PKGBUILD @ 2026-10-25 00:20
+++ PKGBUILD @ 2026-11-01 00:21
@@ -2,7 +2,7 @@
# Maintainer: Andreas Baumann <mail at andreasbaumann dot cc>
pkgname=thruk
-pkgver=3.28
+pkgver=3.30
pkgrel=1
pkgdesc="Multibackend monitoring webinterface for Naemon, Nagios, Icinga and Shinken"
arch=('any')
@@ -21,7 +21,7 @@
'etc/thruk/naglint.conf' 'etc/httpd/conf/extra/thruk.conf'
'etc/thruk/thruk_local.conf' 'etc/logrotate.d/thruk-base')
source=(http://download.thruk.org/pkg/v$pkgver/src/$pkgname-$pkgver.tar.gz)
-md5sums=('8a0598194377803455838f86dd13fac4')
+md5sums=('443436725fc9ea4611cd60739c425ab9')
install="thruk.install"
build() {

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 09:42:04 Medium 1
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

Report a package

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

0 / 4000
Your suggestion