thruk
The source is a tarball from the project's official download host (download.thruk.org), which is plausibly project-owned despite not being on a whitelist; building from official project source is normal AUR practice and not inherently dangerous.
Triggered rules
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 official download host (download.thruk.org), which is plausibly project-owned despite not being on a whitelist; building from official project source is normal AUR practice and not inherently dangerous.
1 higher static finding superseded - not the current verdict (shown for transparency)
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# Maintainer: Jonathan Steel <jsteel at archlinux.org>
# Maintainer: Andreas Baumann <mail at andreasbaumann dot cc>
pkgname=thruk
pkgver=3.28
pkgrel=1
pkgdesc="Multibackend monitoring webinterface for Naemon, Nagios, Icinga and Shinken"
arch=('any')
url="http://thruk.org"
license=('GPL2')
depends=('perl' 'apache' 'mod_fcgid' 'perl-plack' 'perl-json-xs'
'perl-date-calc' 'perl-file-slurp' 'perl-log-log4perl'
'perl-log-dispatch' 'perl-fcgi' 'perl-uri' 'perl-html-parser'
'perl-template-toolkit' 'perl-mime-lite' 'perl-gd'
'perl-lwp-protocol-https' 'perl-cpanel-json-xs'
'perl-crypt-rijndael' 'perl-module-install')
conflicts=('naemon-thruk')
replaces=('naemon-thruk')
backup=('etc/thruk/cgi.cfg' 'etc/thruk/htpasswd'
'etc/thruk/log4perl.conf' 'etc/thruk/menu_local.conf'
'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')
install="thruk.install"
build() {
cd $pkgname-$pkgver
# ArchlinuxARM and other distros might not be recognized
sed -i 's/\(die(sprintf("Unable to detect distribution and version\)/#\1/g' configure
./configure --prefix=/usr \
--exec-prefix=/bin \
--bindir=/usr/bin \
--sysconfdir=/etc/thruk \
--localstatedir=/var/lib/thruk \
--libdir=/var/lib \
--datadir=/usr/share/thruk \
--mandir=/usr/share/man \
--with-initdir=/etc/thruk \
--with-logdir=/var/log/thruk \
--with-checkresultdir=/var/cache/naemon/checkresults \
--with-tempdir=/var/lib/thruk \
--with-logrotatedir=/etc/logrotate.d
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir"/ install
install -Dm644 support/apache_fcgid.conf "$pkgdir"/etc/httpd/conf/extra/$pkgname.conf
install -dm755 "$pkgdir"/etc/thruk/panorama
chown -R 33:33 "$pkgdir"/var/{lib,log}/thruk/ "$pkgdir"/etc/thruk/panorama/
chmod 770 "$pkgdir"/var/lib/thruk/
# Exclude /var/lib/thruk as logrotate doesn't like the permissions there
# and there are no logs
sed -i 's_^/.* _/var/log/thruk/*.log _' "$pkgdir"/etc/logrotate.d/thruk-base
# Set log owner to http rather than build user
sed -i 's/644.*/644 http http/' "$pkgdir"/etc/logrotate.d/thruk-base
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |