knightsgame
maintainer ingolemo
· 2 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from the project's official website, building the project's own source code, which is a normal AUR practice; the non-whitelisted host is the project's own domain, so the risk is low despite the static analyzer flag.
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 95%): The source is a tarball from the project's official website, building the project's own source code, which is a normal AUR practice; the non-whitelisted host is the project's own domain, so the risk is low despite the static analyzer flag.
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:12
source=(http://www.knightsgame.org.uk/files/knights_${pkgver}_src.tar.gz knightsgame.desktop knightsgame.png)
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Adrian Room <ingolemo@gmail.com>
2
3
pkgname=knightsgame
4
pkgver=027
5
pkgrel=3
6
pkgdesc="A free multiplayer competitive game involving knights, dungeons, and quests."
7
arch=('x86_64')
8
url="http://www.knightsgame.org.uk/"
9
license=('GPL2')
10
depends=('boost-libs' 'sdl2' 'curl' 'lua' 'fontconfig' 'enet')
11
makedepends=('boost')
12
source=(http://www.knightsgame.org.uk/files/knights_${pkgver}_src.tar.gz knightsgame.desktop knightsgame.png)
13
sha256sums=('b344315a56d20b7de537de8d9aea3207127629b4a94915187653e260b35f99fd'
14
'006ebd0580195d160a387a02b776519aa520290a807bcf90037112e8136575bb'
15
'648cdec9d411e8ba58e8827d594bd7bfbde620df62457c729cad93c03961550e')
16
17
build() {
18
cd "$srcdir/knights_${pkgver}_src"
19
20
# correct the lua++ package name
21
sed 's/pkg-config lua-c++ --cflags/pkg-config lua++ --cflags/' -i Makefile
22
sed 's/pkg-config lua-c++ --libs/pkg-config lua --libs/' -i Makefile
23
24
prefix=/usr
25
make \
26
PREFIX="$prefix" \
27
DOC_DIR="$prefix/share/doc/$pkgname" \
28
DATA_DIR="$prefix/share/$pkgname"
29
}
30
31
package() {
32
cd "$srcdir/knights_${pkgver}_src"
33
prefix="$pkgdir/usr"
34
make install \
35
PREFIX="$prefix" \
36
DOC_DIR="$prefix/share/doc/$pkgname" \
37
DATA_DIR="$prefix/share/$pkgname"
38
install -D -m 644 "$srcdir/knightsgame.desktop" "$prefix/share/applications/knightsgame.desktop"
39
install -D -m 644 "$srcdir/knightsgame.png" "$prefix/share/pixmaps/knightsgame.png"
40
}
41
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 |