phoenix-x-server-git
The package builds from source hosted on the project's own domain and downloads a prebuilt Zig compiler matching the upstream version requirement; the non-whitelisted host is plausibly project-owned, and the Zig binary is used for building, not executed as a payload.
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 builds from source hosted on the project's own domain and downloads a prebuilt Zig compiler matching the upstream version requirement; the non-whitelisted host is plausibly project-owned, and the Zig binary is used for building, not executed as a payload.
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=('phoenix-x-server'::'git+https://repo.dec05eba.com/phoenix' -
PKGBUILD:22
"https://ziglang.org/download/${_zigver}/zig-${CARCH}-linux-${_zigver}.tar.xz"
PKGBUILD
2 offending line(s) highlighted# Maintainer: Daniel Bermond <dbermond@archlinux.org>
pkgname=phoenix-x-server-git
pkgver=r311.c8dd856
pkgrel=1
_zigver=0.15.2
pkgdesc='A new X server written from scratch designed to be a modern alternative to the Xorg server (git version)'
arch=('x86_64')
url='https://git.dec05eba.com/phoenix/'
license=('GPL-3.0-only')
depends=(
'glibc'
'libdrm'
'libgl'
'libxcb'
'libxkbcommon')
makedepends=(
'git')
provides=('phoenix-x-server')
conflicts=('phoenix-x-server')
source=('phoenix-x-server'::'git+https://repo.dec05eba.com/phoenix'
"https://ziglang.org/download/${_zigver}/zig-${CARCH}-linux-${_zigver}.tar.xz"
'010-phoenix-add-pie.patch')
sha256sums=('SKIP'
'02aa270f183da276e5b5920b1dac44a63f1a49e55050ebde3aecc9eb82f93239'
'860e482dfb485bcbd753d8d8715c980069176e16ccf22045eb7a29aeab6f8e08')
prepare() {
patch -d phoenix-x-server -Np1 -i "${srcdir}/010-phoenix-add-pie.patch"
local _zig_upstream_ver
_zig_upstream_ver="$(grep -oE '[Zz]ig[[:space:]][0-9]+\.[0-9]+(|\.[[0-9]+)' phoenix-x-server/README.md | head -n1 | awk '{ print $2 }')"
if [ "$_zigver" != "$_zig_upstream_ver" ]
then
printf '%s\n' "error: zig version in PKGBUILD must match the expected upstream version (${_zig_upstream_ver})"
exit 1
fi
}
pkgver() {
( set -o pipefail
git -C phoenix-x-server describe --long --abbrev='7' 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//' ||
printf 'r%s.%s' "$(git -C phoenix-x-server rev-list --count HEAD)" "$(git -C phoenix-x-server rev-parse --short='7' HEAD)"
)
}
build() {
cd phoenix-x-server
export PATH="${srcdir}/zig-${CARCH}-linux-${_zigver}${PATH:+":${PATH}"}"
zig build -Doptimize='ReleaseSafe' --verbose
}
package() {
cd phoenix-x-server
export PATH="${srcdir}/zig-${CARCH}-linux-${_zigver}${PATH:+":${PATH}"}"
zig build install -p "${pkgdir}/usr" -Doptimize='ReleaseSafe'
}
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 |