kag
The package downloads a source tarball from the project's own domain (dl.kag2d.com), which is plausibly official; the content is unpacked and installed without executing remote code, and the host, while not on a standard whitelist, is directly associated with the project.
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 package downloads a source tarball from the project's own domain (dl.kag2d.com), which is plausibly official; the content is unpacked and installed without executing remote code, and the host, while not on a standard whitelist, is directly associated with the project.
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:20
source=(https://dl.kag2d.com/kag-linux32-latest.tar.gz
PKGBUILD
1 offending line(s) highlighted# Maintainer: Aaron Fischer <mail@aaron-fischer.net>
# Contributor: Christopher Cassidy <chris@bytcrft.net>
# Contributor: Kirill "reflexing" Churin <reflexing@reflexing.ru>
# Contributor: Kyrylo Silin <kyrylosilin@gmail.com>
pkgname=kag
pkgver=0.91A
pkgrel=2
pkgdesc="King Arthur's Gold Classic is a game about building castles and destroying your enemies (inspired by Soldat and Minecraft)"
arch=('any')
url="http://kag2d.com/"
license=('custom')
conflicts=('kag')
if test "$CARCH" == x86_64; then
depends=(desktop-file-utils xdg-utils lib32-libgl lib32-freetype2 lib32-libstdc++5 lib32-libpng15)
else
depends=(desktop-file-utils xdg-utils libgl freetype2 libstdc++5 libpng15)
fi
install=kag.install
source=(https://dl.kag2d.com/kag-linux32-latest.tar.gz
kag
kag.desktop
irrlicht_1_32x32x24.png
LICENSE)
md5sums=('097a49c01c162ff1edb7ffef9dc5d06a'
'4b26f563e978acee99d4fe91e28b368c'
'3d3b3ea71998582cc88269d3f2da4863'
'81f2bae53e67f9220802b1187b8f398f'
'35cae9aeae1c2d561677230795d0d827')
package() {
cd ${srcdir}/
install -dm755 ${pkgdir}/usr/bin
install -dm755 ${pkgdir}/usr/share/${pkgname}
install -dm755 ${pkgdir}/usr/share/licenses/${pkgname}
install -Dm755 kag ${pkgdir}/usr/bin/kag
cp -r kag-linux32/* ${pkgdir}/usr/share/${pkgname}
find ${pkgdir}/usr/share/${pkgname} -type d -exec chmod 755 {} \;
find ${pkgdir}/usr/share/${pkgname} -type f -exec chmod 664 {} \;
chmod 774 ${pkgdir}/usr/share/${pkgname}/KAG
chown -R root:games ${pkgdir}/usr/share/${pkgname}
install -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}
# Proper installation of .desktop file
desktop-file-install -m 644 --dir ${pkgdir}/usr/share/applications/ kag.desktop
# Install icon (got from source package with "icotool -x irrlicht.ico")
install -m644 -D irrlicht_1_32x32x24.png ${pkgdir}/usr/share/icons/hicolor/32x32/apps/kag.png
}
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 |