the-dark-mod-bin
The package downloads a prebuilt installer from a web archive snapshot of the official update server, which is non-standard but plausibly the project's own source; the installer is run in an isolated Xvfb session to extract game files, which is part of normal packaging for this binary-only game, and no obfuscated or malicious behavior is observed.
Triggered rules
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 package downloads a prebuilt installer from a web archive snapshot of the official update server, which is non-standard but plausibly the project's own source; the installer is run in an isolated Xvfb session to extract game files, which is part of normal packaging for this binary-only game, and no obfuscated or malicious behavior is observed.
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:11
source=('https://web.archive.org/web/20260729210301if_/https://update.thedarkmod.com/zipsync/tdm_installer.linux64.zip')
PKGBUILD
1 offending line(s) highlighted# Maintainer: Herbert Knapp
pkgname="the-dark-mod-bin"
pkgver=2.14
pkgrel=1
pkgdesc="First person stealth game inspired by the Thief series based on id Tech 4 engine"
arch=('x86_64')
url="https://www.thedarkmod.com/"
license=('unknown')
options=(!strip)
makedepends=('xorg-server-xvfb' 'imagemagick' 'p7zip')
source=('https://web.archive.org/web/20260729210301if_/https://update.thedarkmod.com/zipsync/tdm_installer.linux64.zip')
sha256sums=('7ae4be6d8d45c7ed0e1a911e2dd6e8df3c0bf5247d7f37f2ae408c822bf035f7')
prepare() {
chmod +x "${srcdir}/tdm_installer.linux64"
}
package() {
cd ${pkgdir}
Xvfb :98 -screen 0 1024x768x24 -nolisten tcp &
while ! xdpyinfo -display :98 >/dev/null 2>&1; do
sleep 0.1
done
DISPLAY=:98 "${srcdir}/tdm_installer.linux64" --unattended
rm "${srcdir}/tdm_installer.linux64" "${srcdir}/"tdm_installer_*.log
mkdir -p "${pkgdir}/usr/share/games/thedarkmod/" "${pkgdir}/usr/bin"
mv "${srcdir}/"* "${pkgdir}/usr/share/games/thedarkmod/"
echo '#!/bin/bash' > "${pkgdir}/usr/bin/thedarkmod"
echo '[[ ! -w /usr/share/games/thedarkmod || ! -w /usr/share/games/thedarkmod/fms ]] && echo "##" && echo "To enable mission download run: sudo chown -R $USER /usr/share/games/thedarkmod/" && echo "##" && sleep 4' >> "${pkgdir}/usr/bin/thedarkmod"
echo 'cd /usr/share/games/thedarkmod/ && ./thedarkmod.x64 $@' >> "${pkgdir}/usr/bin/thedarkmod"
chmod +x "${pkgdir}/usr/bin/thedarkmod"
# Extract icon
_tmp=$(mktemp -d)
cd ${_tmp}
7z x "${pkgdir}/usr/share/games/thedarkmod/TheDarkModx64.exe"
convert .rsrc/ICON/12.ico -thumbnail 32x32 -alpha on -background none -flatten "${pkgdir}/usr/share/games/thedarkmod/icon.png"
rm -r ${_tmp}
mkdir -p "${pkgdir}/usr/share/applications"
_desktop="${pkgdir}/usr/share/applications/thedarkmod.desktop"
echo '[Desktop Entry]' > ${_desktop}
echo 'Type=Application' >> ${_desktop}
echo "Name=The Dark Mod ${pkgver}" >> ${_desktop}
echo "Comment=${pkgdesc}" >> ${_desktop}
echo 'Exec=thedarkmod' >> ${_desktop}
echo "Icon=/usr/share/games/thedarkmod/icon.png" >> ${_desktop}
echo 'Terminal=false' >> ${_desktop}
echo 'Categories=Games;ActionGame;' >> ${_desktop}
echo "###############################################"
echo "To enable mission download execute:"
echo 'sudo chown -R $USER /usr/share/games/thedarkmod'
echo "###############################################"
}
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 |