dwarffortress-phoebus
The package downloads the official Dwarf Fortress binary and Phoebus tileset from their respective project-owned hosts (GitHub and bay12games.com); both sources are legitimate and expected for this package, with no code execution or supply-chain risks beyond standard AUR builds.
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 the official Dwarf Fortress binary and Phoebus tileset from their respective project-owned hosts (GitHub and bay12games.com); both sources are legitimate and expected for this package, with no code execution or supply-chain risks beyond standard AUR builds.
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:25
"http://bay12games.com/dwarves/df_${_dfver}_linux.tar.bz2"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Matthew Muresan <matt_muresan [AT] hotmail [DOT] com>
# Former Maintainer: bidet <b [AT] t>
# Former Maintainer: ian kremlin <ian [AT] kremlin [DOT] cc>
# Former Maintainer: Dennis Hamester <dennis.hamester [AT] gmail [DOT] com>
pkgname=dwarffortress-phoebus
pkgver=0.47.04
_dfver=47_04
_phver=47.04a
# rewrite by kremlin, july 8th 2014
# with help from halosghost
pkgrel=18
epoch=1
pkgdesc='Dwarf Fortress preloaded with Phoebus tileset'
arch=('x86_64')
url='http://www.bay12games.com/dwarves/'
license=('custom:dwarffortress_phoebus')
groups=('games')
depends=('gcc-libs' 'glew' 'glib2' 'glu' 'gtk2' 'libsndfile' 'openal' 'sdl_image' 'sdl_ttf')
source=("https://github.com/DFgraphics/Phoebus/archive/${_phver}.zip"
"http://bay12games.com/dwarves/df_${_dfver}_linux.tar.bz2"
'dwarf-fortress'
'LICENSE')
md5sums=('e3d2a6f4b0303106e927d05fefe09442'
'201944f2cc16fd4a8202e8bb55dda0c2'
'915f9b8efc7e2ea9e233bc6a9606038e'
'eddfb4bd478f9c64e6801bda7c7791ba'
)
prepare() {
# inject DF with phoebus' tilesets
cp -arf "$srcdir"/Phoebus-${_phver}/raw/graphics/* "$srcdir"/df_linux/raw/graphics/
cp -arf "$srcdir"/Phoebus-${_phver}/raw/objects/* "$srcdir"/df_linux/raw/objects/
cp -arf --no-preserve=ownership "$srcdir"/Phoebus-${_phver}/data/art/* "$srcdir"/df_linux/data/art/
cp -arf --no-preserve=ownership "$srcdir"/Phoebus-${_phver}/data/init/* "$srcdir"/df_linux/data/init/
#remove libstc++ as per http://www.bay12games.com/dwarves/mantisbt/view.php?id=9893
rm "$srcdir"/df_linux/libs/'libstdc++.so.6'
chmod -R a+rx "$srcdir"/df_linux/libs/Dwarf_Fortress
chmod -R a+rx "$srcdir"/df_linux/data/*
chmod -R a+rx "$srcdir"/df_linux/raw/*
chmod -R a+rx "$srcdir"/df_linux/g_src/*
chmod a+rx "$srcdir"/df_linux/*
chmod a+r "$srcdir"/df_linux/sdl/sdl\ license.txt
}
package() {
install -d "$pkgdir"/usr/lib32/"$pkgname"
install -m644 "$srcdir"/df_linux/libs/libgraphics.so "$pkgdir"/usr/lib32/"$pkgname"/libgraphics.so
install -D -m755 "$srcdir"/dwarf-fortress "$pkgdir"/usr/bin/dwarf-fortress
install -D -m644 "$srcdir"/LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
cp -a --no-preserve=ownership "$srcdir"/df_linux/* "$pkgdir"/usr/lib32/"$pkgname"/
mkdir -p "$pkgdir"/usr/lib32/"$pkgname"/data/save/current/
chmod a+rw "$pkgdir"/usr/lib32/"$pkgname"/data/save/
chmod a+rw "$pkgdir"/usr/lib32/"$pkgname"/data/save/current # save dir is worldwrite
chmod a+w "$pkgdir"/usr/lib32/"$pkgname"/data/index # crashes otherwise
}
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 |