sotw-dev
The package downloads source code from GitHub and assets from the project's official website; both are legitimate project resources, with the assets being non-executable data, so the risk from the non-standard host is minimal.
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 source code from GitHub and assets from the project's official website; both are legitimate project resources, with the assets being non-executable data, so the risk from the non-standard host is minimal.
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:21
source=('git+https://github.com/prolog/shadow-of-the-wyrm.git' 'https://www.shadowofthewyrm.org/assets/ShadowOfTheWyrm-assets.zip')
PKGBUILD
1 offending line(s) highlighted#Maintainer: Larzid <juanitocampamocha@gmail.com>
pkgname=sotw-dev
pkgver=development
pkgrel=18
epoch=
pkgdesc="Shadow Of The Wyrm by Julian Day - Development branch."
arch=('x86_64')
url="http://www.shadowofthewyrm.org/"
license=('MIT')
groups=()
depends=('sdl2' 'sdl2_mixer' 'sdl2_image' 'xerces-c' 'zlib' 'ncurses' 'lua51' 'boost' 'gtest')
makedepends=('premake' 'git')
checkdepends=()
provides=(sotw)
conflicts=(sotw)
replaces=()
backup=()
options=()
install=post.install
changelog=
source=('git+https://github.com/prolog/shadow-of-the-wyrm.git' 'https://www.shadowofthewyrm.org/assets/ShadowOfTheWyrm-assets.zip')
noextract=()
md5sums=('SKIP' '57c5bbb8ea28e09b71e0c6b426205988')
validpgpkeys=()
build() {
cd shadow-of-the-wyrm
git checkout develop
cp -R ../assets ./
premake5 --lua_include=/usr/include/lua5.1 --lua_link=lua5.1 gmake
make config=release
#make config=debug
}
package() {
# Create launch script
echo "#!/bin/bash" > ${srcdir}/shadow-of-the-wyrm/sotw.sh
echo "cd /usr/share/sotw" >> ${srcdir}/shadow-of-the-wyrm/sotw.sh
echo "./sotw" >> ${srcdir}/shadow-of-the-wyrm/sotw.sh
chmod +x ${srcdir}/shadow-of-the-wyrm/sotw.sh
# Create the .desktop entry.
echo "[Desktop Entry]
Version=$pkgver
Name=Shadow Of The Wyrm
GenericName=SOTW
Type=Application
Comment=A single player, traditional roguelike by Julian Day.
Icon=sotw_icon
Exec=sotw
Terminal=false
SartupNotify=false
Keywords=game;roguelike;
Categories=Game;" > ${srcdir}/sotw.desktop
# Tweak game settings.
# Setup log directory.
sed -i '16s|.*|log_dir=/var/sotw/log|' ${srcdir}/shadow-of-the-wyrm/swyrm.ini
mkdir ${pkgdir}/var
mkdir ${pkgdir}/var/sotw
mkdir ${pkgdir}/var/sotw/log
chmod -R 777 ${pkgdir}/var/sotw
# Set system dump directory.
sed -i '39s|.*|syschardump_dir=/var/sotw|' ${srcdir}/shadow-of-the-wyrm/swyrm.ini
# Set score file location.
sed -i '49s|.*|scorefile_dir=/var/sotw|' ${srcdir}/shadow-of-the-wyrm/swyrm.ini
# Set disallow score for narrative mode and console commands.
sed -i '636s|.*|_disallow_score_on_exploration=1|' ${srcdir}/shadow-of-the-wyrm/swyrm.ini
# Do the actual packaging
install -D -m644 ${srcdir}/shadow-of-the-wyrm/LICENSE "${pkgdir}/usr/share/licenses/sotw/LICENSE"
# install -d -m777 ${srcdir}/shadow-of-the-wyrm/sotw "${pkgdir}/usr/share/sotw"
install -d ${srcdir}/shadow-of-the-wyrm/sotw "${pkgdir}/usr/share/sotw"
install -D ${srcdir}/shadow-of-the-wyrm/sotw/sotw "${pkgdir}/usr/share/sotw/sotw"
install -D ${srcdir}/shadow-of-the-wyrm/howdoi.txt "${pkgdir}/usr/share/sotw/howdoi.txt"
install -D ${srcdir}/shadow-of-the-wyrm/LICENSE "${pkgdir}/usr/share/sotw/LICENSE"
install -D ${srcdir}/shadow-of-the-wyrm/README.md "${pkgdir}/usr/share/sotw/README.md"
install -D ${srcdir}/shadow-of-the-wyrm/shadowofthewyrmtext_blank.ini "${pkgdir}/usr/share/sotw/shadowofthewyrmtext_blank.ini"
install -D ${srcdir}/shadow-of-the-wyrm/shadowofthewyrmtext_en.ini "${pkgdir}/usr/share/sotw/shadowofthewyrmtext_en.ini"
install -D ${srcdir}/shadow-of-the-wyrm/swyrm.ini "${pkgdir}/usr/share/sotw/swyrm.ini"
cp -R ${srcdir}/shadow-of-the-wyrm/assets ${pkgdir}/usr/share/sotw/assets
cp -R ${srcdir}/shadow-of-the-wyrm/sotw/data ${pkgdir}/usr/share/sotw/data
cp -R ${srcdir}/shadow-of-the-wyrm/sotw/docs ${pkgdir}/usr/share/sotw/docs
cp -R ${srcdir}/shadow-of-the-wyrm/sotw/licenses ${pkgdir}/usr/share/sotw/licenses
cp -R ${srcdir}/shadow-of-the-wyrm/sotw/logs ${pkgdir}/usr/share/sotw/logs
cp -R ${srcdir}/shadow-of-the-wyrm/sotw/scripts ${pkgdir}/usr/share/sotw/scripts
cp -R ${srcdir}/shadow-of-the-wyrm/sotw/texts ${pkgdir}/usr/share/sotw/texts
mkdir ${pkgdir}/usr/share/icons/
mkdir ${pkgdir}/usr/share/applications/
cp -R ${srcdir}/shadow-of-the-wyrm/sotw_icon.ico ${pkgdir}/usr/share/icons/sotw_icon.png
cp -R ${srcdir}/sotw.desktop ${pkgdir}/usr/share/applications/sotw.desktop
install -D ${srcdir}/shadow-of-the-wyrm/sotw.sh ${pkgdir}/usr/bin/sotw
}
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 |